class CheckMethodWithEmptyResponse(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': None, 'version': 0, 'methods': [ { 'name': 'WithoutParameterAndEmptyResponse', 'ordinal': 0, 'parameters': { }, 'responses': { }, }, { 'name': 'WithParameterAndEmptyResponse', 'ordinal': 1, 'parameters': { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('b', _descriptor.TYPE_BOOL, 0, 0)]), ], }, 'responses': { }, }, ], }
class StringType(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0)]), ], }
class MultiVersionStructV7(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('f_int32', _descriptor.TYPE_INT32, 0, 0), _descriptor.SingleFieldGroup('f_message_pipe', _descriptor.TYPE_NULLABLE_HANDLE, 4, 7), _descriptor.SingleFieldGroup( 'f_rect', _descriptor.StructType(lambda: rect_mojom.Rect, nullable=True), 1, 1), _descriptor.SingleFieldGroup('f_string', _descriptor.TYPE_NULLABLE_STRING, 2, 3), _descriptor.SingleFieldGroup( 'f_array', _descriptor.NativeArrayType('b', nullable=True), 3, 5), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('f_bool', _descriptor.TYPE_BOOL, 5, 7) ]), ], }
class HttpServer(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': None, 'version': 0, 'methods': [ { 'name': 'SetHandler', 'ordinal': 0, 'parameters': { 'fields': [ _descriptor.SingleFieldGroup('pattern', _descriptor.TYPE_STRING, 0, 0), _descriptor.SingleFieldGroup('handler', _descriptor.InterfaceType(lambda: HttpHandler), 1, 0), ], }, 'responses': { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('success', _descriptor.TYPE_BOOL, 0, 0)]), ], }, }, { 'name': 'GetPort', 'ordinal': 1, 'parameters': { }, 'responses': { 'fields': [ _descriptor.SingleFieldGroup('port', _descriptor.TYPE_UINT16, 0, 0), ], }, }, ], }
class HandleType(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'enums': { 'Kind': [ ('UNSPECIFIED', 0), ('CHANNEL', 1), ('VMO', 4), ('PROCESS', 5), ('THREAD', 6), ('EVENT', 7), ('PORT', 8), ('JOB', 9), ('SOCKET', 10), ('EVENTPAIR', 11), ], }, 'fields': [ _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0) ]), _descriptor.SingleFieldGroup('kind', _descriptor.TYPE_INT32, 1, 0, default_value=0), ], }
class CommandBufferSyncClient(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': None, 'version': 0, 'methods': [ { 'name': 'DidInitialize', 'ordinal': 0, 'parameters': { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('success', _descriptor.TYPE_BOOL, 0, 0)]), _descriptor.SingleFieldGroup('capabilities', _descriptor.StructType(lambda: gpu_capabilities_mojom.GpuCapabilities), 1, 0), ], }, }, { 'name': 'DidMakeProgress', 'ordinal': 1, 'parameters': { 'fields': [ _descriptor.SingleFieldGroup('state', _descriptor.StructType(lambda: CommandBufferState), 0, 0), ], }, }, ], }
class SolidColorQuadState(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('color', _descriptor.StructType(lambda: Color), 0, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('force_anti_aliasing_off', _descriptor.TYPE_BOOL, 1, 0)]), ], }
class TypeReference(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0), _descriptor.FieldDescriptor('is_interface_request', _descriptor.TYPE_BOOL, 1, 0)]), _descriptor.SingleFieldGroup('identifier', _descriptor.TYPE_NULLABLE_STRING, 2, 0), _descriptor.SingleFieldGroup('type_key', _descriptor.TYPE_NULLABLE_STRING, 3, 0), ], }
class MapType(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0)]), _descriptor.SingleFieldGroup('key_type', _descriptor.UnionType(lambda: Type), 1, 0), _descriptor.SingleFieldGroup('value_type', _descriptor.UnionType(lambda: Type), 2, 0), ], }
class ArrayType(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0)]), _descriptor.SingleFieldGroup('fixed_length', _descriptor.TYPE_INT32, 1, 0, default_value=-1), _descriptor.SingleFieldGroup('element_type', _descriptor.UnionType(lambda: Type), 2, 0), ], }
class NotificationData(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('title', _descriptor.TYPE_NULLABLE_STRING, 0, 0), _descriptor.SingleFieldGroup('text', _descriptor.TYPE_NULLABLE_STRING, 1, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('play_sound', _descriptor.TYPE_BOOL, 2, 0), _descriptor.FieldDescriptor('vibrate', _descriptor.TYPE_BOOL, 3, 0), _descriptor.FieldDescriptor('set_lights', _descriptor.TYPE_BOOL, 4, 0)]), ], }
class TileQuadState(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('tex_coord_rect', _descriptor.StructType(lambda: geometry_mojom.RectF), 0, 0), _descriptor.SingleFieldGroup('texture_size', _descriptor.StructType(lambda: geometry_mojom.Size), 1, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('swizzle_contents', _descriptor.TYPE_BOOL, 2, 0), _descriptor.FieldDescriptor('nearest_neighbor', _descriptor.TYPE_BOOL, 4, 0)]), _descriptor.SingleFieldGroup('resource_id', _descriptor.TYPE_UINT32, 3, 0), ], }
class PrevWordInfo(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('word', _descriptor.TYPE_STRING, 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('is_beginning_of_sentence', _descriptor.TYPE_BOOL, 1, 0) ]), ], }
class TextureQuadState(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('resource_id', _descriptor.TYPE_UINT32, 0, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('premultiplied_alpha', _descriptor.TYPE_BOOL, 1, 0), _descriptor.FieldDescriptor('flipped', _descriptor.TYPE_BOOL, 6, 0), _descriptor.FieldDescriptor('nearest_neighbor', _descriptor.TYPE_BOOL, 7, 0)]), _descriptor.SingleFieldGroup('uv_top_left', _descriptor.StructType(lambda: geometry_mojom.PointF), 2, 0), _descriptor.SingleFieldGroup('uv_bottom_right', _descriptor.StructType(lambda: geometry_mojom.PointF), 3, 0), _descriptor.SingleFieldGroup('background_color', _descriptor.StructType(lambda: Color), 4, 0), _descriptor.SingleFieldGroup('vertex_opacity', _descriptor.NativeArrayType('f', length=4), 5, 0), ], }
class TimespecOrNow(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('now', _descriptor.TYPE_BOOL, 0, 0) ]), _descriptor.SingleFieldGroup( 'timespec', _descriptor.StructType(lambda: Timespec, nullable=True), 1, 0), ], }
class CheckNameCollision(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': None, 'version': 0, 'methods': [ { 'name': 'WithNameCollision', 'ordinal': 0, 'parameters': { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('message', _descriptor.TYPE_BOOL, 0, 0), _descriptor.FieldDescriptor('response', _descriptor.TYPE_BOOL, 1, 0)]), ], }, 'responses': { 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('message', _descriptor.TYPE_BOOL, 0, 0), _descriptor.FieldDescriptor('response', _descriptor.TYPE_BOOL, 1, 0)]), ], }, }, ], }
class Pass(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('id', _descriptor.TYPE_INT32, 0, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('has_transparent_background', _descriptor.TYPE_BOOL, 4, 0)]), _descriptor.SingleFieldGroup('output_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 1, 0), _descriptor.SingleFieldGroup('damage_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 2, 0), _descriptor.SingleFieldGroup('transform_to_root_target', _descriptor.StructType(lambda: geometry_mojom.Transform), 3, 0), _descriptor.SingleFieldGroup('quads', _descriptor.GenericArrayType(_descriptor.StructType(lambda: Quad)), 5, 0), _descriptor.SingleFieldGroup('shared_quad_states', _descriptor.GenericArrayType(_descriptor.StructType(lambda: SharedQuadState)), 6, 0), ], }
class SharedQuadState(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('content_to_target_transform', _descriptor.StructType(lambda: geometry_mojom.Transform), 0, 0), _descriptor.SingleFieldGroup('content_bounds', _descriptor.StructType(lambda: geometry_mojom.Size), 1, 0), _descriptor.SingleFieldGroup('visible_content_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 2, 0), _descriptor.SingleFieldGroup('clip_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 3, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('is_clipped', _descriptor.TYPE_BOOL, 4, 0)]), _descriptor.SingleFieldGroup('opacity', _descriptor.TYPE_FLOAT, 5, 0), _descriptor.SingleFieldGroup('blend_mode', _descriptor.TYPE_INT32, 6, 0), _descriptor.SingleFieldGroup('sorting_context_id', _descriptor.TYPE_INT32, 7, 0), ], }
class CookieStore(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': None, 'version': 0, 'methods': [ { 'name': 'Get', 'ordinal': 0, 'parameters': { 'fields': [ _descriptor.SingleFieldGroup('url', _descriptor.TYPE_STRING, 0, 0), ], }, 'responses': { 'fields': [ _descriptor.SingleFieldGroup('cookies', _descriptor.TYPE_STRING, 0, 0), ], }, }, { 'name': 'Set', 'ordinal': 1, 'parameters': { 'fields': [ _descriptor.SingleFieldGroup('url', _descriptor.TYPE_STRING, 0, 0), _descriptor.SingleFieldGroup('cookie', _descriptor.TYPE_STRING, 1, 0), ], }, 'responses': { 'fields': [ _descriptor.BooleanGroup([ _descriptor.FieldDescriptor( 'success', _descriptor.TYPE_BOOL, 0, 0) ]), ], }, }, ], }
class FlogDescription(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('log_id', _descriptor.TYPE_UINT32, 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('open', _descriptor.TYPE_BOOL, 2, 0) ]), _descriptor.SingleFieldGroup('label', _descriptor.TYPE_STRING, 1, 0), ], }
class Location(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('time', _descriptor.TYPE_UINT64, 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('has_elapsed_real_time_nanos', _descriptor.TYPE_BOOL, 1, 0, default_value=False), _descriptor.FieldDescriptor('has_altitude', _descriptor.TYPE_BOOL, 5, 0, default_value=False), _descriptor.FieldDescriptor('has_speed', _descriptor.TYPE_BOOL, 7, 0, default_value=False), _descriptor.FieldDescriptor('has_bearing', _descriptor.TYPE_BOOL, 9, 0, default_value=False), _descriptor.FieldDescriptor('has_accuracy', _descriptor.TYPE_BOOL, 11, 0, default_value=False) ]), _descriptor.SingleFieldGroup('speed', _descriptor.TYPE_FLOAT, 8, 0), _descriptor.SingleFieldGroup('elapsed_real_time_nanos', _descriptor.TYPE_UINT64, 2, 0), _descriptor.SingleFieldGroup('latitude', _descriptor.TYPE_DOUBLE, 3, 0), _descriptor.SingleFieldGroup('longitude', _descriptor.TYPE_DOUBLE, 4, 0), _descriptor.SingleFieldGroup('altitude', _descriptor.TYPE_DOUBLE, 6, 0), _descriptor.SingleFieldGroup('bearing', _descriptor.TYPE_FLOAT, 10, 0), _descriptor.SingleFieldGroup('accuracy', _descriptor.TYPE_FLOAT, 12, 0), ], }
class ReturnedResource(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('id', _descriptor.TYPE_UINT32, 0, 0), _descriptor.SingleFieldGroup('sync_point', _descriptor.TYPE_UINT32, 1, 0), _descriptor.SingleFieldGroup('count', _descriptor.TYPE_INT32, 2, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('lost', _descriptor.TYPE_BOOL, 3, 0) ]), ], }
class UrlLoaderStatus(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup( 'error', _descriptor.StructType( lambda: network_error_mojom.NetworkError, nullable=True), 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('is_loading', _descriptor.TYPE_BOOL, 1, 0) ]), ], }
class StructG(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('i', _descriptor.TYPE_INT32, 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('b', _descriptor.TYPE_BOOL, 3, 3) ]), _descriptor.SingleFieldGroup( 'struct_a', _descriptor.StructType(lambda: StructA, nullable=True), 1, 1), _descriptor.SingleFieldGroup('str', _descriptor.TYPE_NULLABLE_STRING, 2, 3), ], }
class HandleType(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'enums': { 'Kind': [ ('UNSPECIFIED', 0), ('MESSAGE_PIPE', 1), ('DATA_PIPE_CONSUMER', 2), ('DATA_PIPE_PRODUCER', 3), ('SHARED_BUFFER', 4), ], }, 'fields': [ _descriptor.BooleanGroup([_descriptor.FieldDescriptor('nullable', _descriptor.TYPE_BOOL, 0, 0)]), _descriptor.SingleFieldGroup('kind', _descriptor.TYPE_INT32, 1, 0, default_value=0), ], }
class Result(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('partial_match', _descriptor.TYPE_BOOL, 0, 0) ]), _descriptor.SingleFieldGroup( 'geometry', _descriptor.StructType(lambda: Geometry), 1, 0), _descriptor.SingleFieldGroup('formatted_address', _descriptor.TYPE_STRING, 2, 0), _descriptor.SingleFieldGroup( 'types', _descriptor.GenericArrayType(_descriptor.TYPE_STRING), 3, 0), ], }
class Nfc(object): __metaclass__ = _interface_reflection.MojoInterfaceType DESCRIPTOR = { 'fully_qualified_name': 'nfc::Nfc', 'version': 0, 'methods': [ { 'name': 'TransmitOnNextConnection', 'ordinal': 0, 'parameters': { 'fields': [ _descriptor.SingleFieldGroup( 'nfc_data', _descriptor.StructType(lambda: NfcData), 0, 0), _descriptor.SingleFieldGroup( 'transmission', _descriptor.InterfaceRequestType(nullable=True), 1, 0), ], }, 'responses': { 'fields': [ _descriptor.BooleanGroup([ _descriptor.FieldDescriptor( 'success', _descriptor.TYPE_BOOL, 0, 0) ]), ], }, }, { 'name': 'Register', 'ordinal': 1, 'parameters': {}, }, { 'name': 'Unregister', 'ordinal': 2, 'parameters': {}, }, ], }
class UrlRequest(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'enums': { 'CacheMode': [ ('DEFAULT', 0), ('BYPASS_CACHE', 1), ('ONLY_FROM_CACHE', 2), ], }, 'fields': [ _descriptor.SingleFieldGroup('url', _descriptor.TYPE_STRING, 0, 0), _descriptor.SingleFieldGroup('method', _descriptor.TYPE_STRING, 1, 0, default_value="GET"), _descriptor.SingleFieldGroup('headers', _descriptor.GenericArrayType(_descriptor.StructType(lambda: http_header_mojom.HttpHeader), nullable=True), 2, 0), _descriptor.SingleFieldGroup('body', _descriptor.GenericArrayType(_descriptor.TYPE_HANDLE, nullable=True), 3, 0), _descriptor.SingleFieldGroup('response_body_buffer_size', _descriptor.TYPE_UINT32, 4, 0, default_value=0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('auto_follow_redirects', _descriptor.TYPE_BOOL, 5, 0, default_value=False)]), _descriptor.SingleFieldGroup('cache_mode', _descriptor.TYPE_INT32, 6, 0, default_value=0), ], }
class Quad(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('material', _descriptor.TYPE_INT32, 0, 0), _descriptor.BooleanGroup([_descriptor.FieldDescriptor('needs_blending', _descriptor.TYPE_BOOL, 4, 0)]), _descriptor.SingleFieldGroup('rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 1, 0), _descriptor.SingleFieldGroup('opaque_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 2, 0), _descriptor.SingleFieldGroup('visible_rect', _descriptor.StructType(lambda: geometry_mojom.Rect), 3, 0), _descriptor.SingleFieldGroup('shared_quad_state_index', _descriptor.TYPE_UINT32, 5, 0), _descriptor.SingleFieldGroup('checkerboard_quad_state', _descriptor.StructType(lambda: CheckerboardQuadState, nullable=True), 6, 0), _descriptor.SingleFieldGroup('debug_border_quad_state', _descriptor.StructType(lambda: DebugBorderQuadState, nullable=True), 7, 0), _descriptor.SingleFieldGroup('io_surface_quad_state', _descriptor.StructType(lambda: IoSurfaceContentQuadState, nullable=True), 8, 0), _descriptor.SingleFieldGroup('render_pass_quad_state', _descriptor.StructType(lambda: RenderPassQuadState, nullable=True), 9, 0), _descriptor.SingleFieldGroup('solid_color_quad_state', _descriptor.StructType(lambda: SolidColorQuadState, nullable=True), 10, 0), _descriptor.SingleFieldGroup('surface_quad_state', _descriptor.StructType(lambda: SurfaceQuadState, nullable=True), 11, 0), _descriptor.SingleFieldGroup('texture_quad_state', _descriptor.StructType(lambda: TextureQuadState, nullable=True), 12, 0), _descriptor.SingleFieldGroup('tile_quad_state', _descriptor.StructType(lambda: TileQuadState, nullable=True), 13, 0), _descriptor.SingleFieldGroup('stream_video_quad_state', _descriptor.StructType(lambda: StreamVideoQuadState, nullable=True), 14, 0), _descriptor.SingleFieldGroup('yuv_video_quad_state', _descriptor.StructType(lambda: YuvVideoQuadState, nullable=True), 15, 0), ], }
class KeyData(object): __metaclass__ = _reflection.MojoStructType DESCRIPTOR = { 'fields': [ _descriptor.SingleFieldGroup('key_code', _descriptor.TYPE_INT32, 0, 0), _descriptor.BooleanGroup([ _descriptor.FieldDescriptor('is_char', _descriptor.TYPE_BOOL, 1, 0) ]), _descriptor.SingleFieldGroup('character', _descriptor.TYPE_UINT16, 2, 0), _descriptor.SingleFieldGroup('windows_key_code', _descriptor.TYPE_INT32, 3, 0), _descriptor.SingleFieldGroup('native_key_code', _descriptor.TYPE_INT32, 4, 0), _descriptor.SingleFieldGroup('text', _descriptor.TYPE_UINT16, 5, 0), _descriptor.SingleFieldGroup('unmodified_text', _descriptor.TYPE_UINT16, 6, 0), ], }