chromeos/ime/gen_input_methods.py
def CreateEngineHeader(login_xkb_layout_ids):
  """Create the header file from a list of login XKB layout IDs.

  Arguments:
    login_xkb_layout_ids: list of login XKB layout IDs
  Returns:
    The text of a C++ header file containing the login XKB layout IDs.
  """
  output = []
  output.append(OUTPUT_HEADER)
  for login_xkb_layout_id in login_xkb_layout_ids:
    output.append(ENGINE_FORMAT % login_xkb_layout_id)
  output.append(OUTPUT_FOOTER)

  return "".join(output)
Create the header file from a list of login XKB layout IDs.

  Arguments:
    login_xkb_layout_ids: list of login XKB layout IDs
  Returns:
    The text of a C++ header file containing the login XKB layout IDs.
  
Create the header file from a list of login XKB layout IDs.
Create the header file from a list of login XKB layout IDs .
def CreateEngineHeader(login_xkb_layout_ids):
  output = []
  output.append(OUTPUT_HEADER)
  for login_xkb_layout_id in login_xkb_layout_ids:
    output.append(ENGINE_FORMAT % login_xkb_layout_id)
  output.append(OUTPUT_FOOTER)
  return "".join(output)
def CreateEngineHeader ( login_xkb_layout_ids ) : output = [ ] output . append ( OUTPUT_HEADER ) for login_xkb_layout_id in login_xkb_layout_ids : output . append ( ENGINE_FORMAT % login_xkb_layout_id ) output . append ( OUTPUT_FOOTER ) return "" . join ( output )
Create the header file from a list of login XKB layout IDs.
Create the header file from a list of login XKB layout IDs .
"""Create the header file from a list of login XKB layout IDs.

  Arguments:
    login_xkb_layout_ids: list of login XKB layout IDs
  Returns:
    The text of a C++ header file containing the login XKB layout IDs.
  """
The text of a C++ header file containing the login XKB layout IDs.
The text of a C ++ header file containing the login XKB layout IDs .
login_xkb_layout_ids
list of login XKB layout IDs
list of login XKB layout IDs