Work around WebKeyboardEvent.domCode not being set on OS X.
[chromium-blink-merge.git] / ipc / ipc_message_start.h
blobd4966bc41962b7a93c7d94978f1aa10f0bedc165
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IPC_IPC_MESSAGE_START_H_
6 #define IPC_IPC_MESSAGE_START_H_
8 // Used by IPC_BEGIN_MESSAGES so that each message class starts from a unique
9 // base. Messages have unique IDs across channels in order for the IPC logging
10 // code to figure out the message class from its ID.
11 enum IPCMessageStart {
12 AutomationMsgStart = 0,
13 FrameMsgStart,
14 ViewMsgStart,
15 InputMsgStart,
16 PluginMsgStart,
17 PluginProcessMsgStart,
18 ProfileImportMsgStart,
19 TestMsgStart,
20 DevToolsMsgStart,
21 WorkerMsgStart,
22 NaClMsgStart,
23 UtilityMsgStart,
24 GpuMsgStart,
25 ServiceMsgStart,
26 PpapiMsgStart,
27 FirefoxImporterUnittestMsgStart,
28 FileUtilitiesMsgStart,
29 MimeRegistryMsgStart,
30 DatabaseMsgStart,
31 DOMStorageMsgStart,
32 IndexedDBMsgStart,
33 SpeechRecognitionMsgStart,
34 PepperMsgStart,
35 AutofillMsgStart,
36 SafeBrowsingMsgStart,
37 P2PMsgStart,
38 ResourceMsgStart,
39 FileSystemMsgStart,
40 ChildProcessMsgStart,
41 ClipboardMsgStart,
42 BlobMsgStart,
43 AppCacheMsgStart,
44 DeviceLightMsgStart,
45 DeviceMotionMsgStart,
46 DeviceOrientationMsgStart,
47 AudioMsgStart,
48 MidiMsgStart,
49 ChromeMsgStart,
50 DragMsgStart,
51 PrintMsgStart,
52 SpellCheckMsgStart,
53 ExtensionMsgStart,
54 VideoCaptureMsgStart,
55 QuotaMsgStart,
56 ImageMsgStart,
57 TextInputClientMsgStart,
58 ChromeUtilityMsgStart,
59 MediaStreamMsgStart,
60 ChromeBenchmarkingMsgStart,
61 JavaBridgeMsgStart,
62 GamepadMsgStart,
63 ShellMsgStart,
64 AccessibilityMsgStart,
65 PrefetchMsgStart,
66 PrerenderMsgStart,
67 ChromotingMsgStart,
68 BrowserPluginMsgStart,
69 AndroidWebViewMsgStart,
70 MetroViewerMsgStart,
71 CCMsgStart,
72 MediaPlayerMsgStart,
73 TracingMsgStart,
74 PeerConnectionTrackerMsgStart,
75 VisitedLinkMsgStart,
76 AppShimMsgStart,
77 WebRtcLoggingMsgStart,
78 TtsMsgStart,
79 MemoryBenchmarkMsgStart,
80 WebSocketMsgStart,
81 NaClHostMsgStart,
82 WebRTCIdentityMsgStart,
83 LocalDiscoveryMsgStart,
84 PowerMonitorMsgStart,
85 EncryptedMediaMsgStart,
86 CacheStorageMsgStart,
87 ServiceWorkerMsgStart,
88 MessagePortMsgStart,
89 EmbeddedWorkerMsgStart,
90 EmbeddedWorkerContextMsgStart,
91 CastMsgStart,
92 CdmMsgStart,
93 ScreenOrientationMsgStart,
94 MediaStreamTrackMetricsHostMsgStart,
95 ChromeExtensionMsgStart,
96 MojoMsgStart,
97 TranslateMsgStart,
98 CldDataProviderMsgStart,
99 PushMessagingMsgStart,
100 GinJavaBridgeMsgStart,
101 ChromeUtilityPrintingMsgStart,
102 AecDumpMsgStart,
103 OzoneGpuMsgStart,
104 ChromeUtilityExtensionsMsgStart,
105 PlatformNotificationMsgStart,
106 CredentialManagerMsgStart,
107 PDFMsgStart,
108 WebCacheMsgStart,
109 ManifestManagerMsgStart,
110 ExtensionUtilityMsgStart,
111 GeofencingMsgStart,
112 LayoutTestMsgStart,
113 NetworkHintsMsgStart,
114 BluetoothMsgStart,
115 NavigatorConnectMsgStart,
116 CastMediaMsgStart,
117 AwMessagePortMsgStart,
118 ExtensionsGuestViewMsgStart,
119 GuestViewMsgStart,
120 // Note: CastCryptoMsgStart and CastChannelMsgStart reserved for Chromecast
121 // internal code. Contact gunsch@ before changing/removing.
122 CastCryptoMsgStart,
123 CastChannelMsgStart,
124 DataReductionProxyStart,
125 ContentSettingsMsgStart,
126 ChromeAppBannerMsgStart,
127 LastIPCMsgStart // Must come last.
130 #endif // IPC_IPC_MESSAGE_START_H_