1 // Copyright (c) 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 #include "chrome/browser/extensions/event_names.h"
9 namespace event_names
{
11 const char kOnTabActivated
[] = "tabs.onActivated";
12 const char kOnTabActiveChanged
[] = "tabs.onActiveChanged";
13 const char kOnTabAttached
[] = "tabs.onAttached";
14 const char kOnTabCreated
[] = "tabs.onCreated";
15 const char kOnTabDetached
[] = "tabs.onDetached";
16 const char kOnTabHighlightChanged
[] = "tabs.onHighlightChanged";
17 const char kOnTabHighlighted
[] = "tabs.onHighlighted";
18 const char kOnTabMoved
[] = "tabs.onMoved";
19 const char kOnTabRemoved
[] = "tabs.onRemoved";
20 const char kOnTabReplaced
[] = "tabs.onReplaced";
21 const char kOnTabSelectionChanged
[] = "tabs.onSelectionChanged";
22 const char kOnTabUpdated
[] = "tabs.onUpdated";
24 const char kOnWindowCreated
[] = "windows.onCreated";
25 const char kOnWindowFocusedChanged
[] = "windows.onFocusChanged";
26 const char kOnWindowRemoved
[] = "windows.onRemoved";
28 const char kOnExtensionInstalled
[] = "management.onInstalled";
29 const char kOnExtensionUninstalled
[] = "management.onUninstalled";
30 const char kOnExtensionEnabled
[] = "management.onEnabled";
31 const char kOnExtensionDisabled
[] = "management.onDisabled";
33 const char kOnDirectoryChanged
[] = "fileBrowserPrivate.onDirectoryChanged";
34 const char kOnFileBrowserMountCompleted
[] =
35 "fileBrowserPrivate.onMountCompleted";
36 const char kOnFileTransfersUpdated
[] =
37 "fileBrowserPrivate.onFileTransfersUpdated";
38 const char kOnFileBrowserPreferencesChanged
[] =
39 "fileBrowserPrivate.onPreferencesChanged";
40 const char kOnFileBrowserDriveConnectionStatusChanged
[] =
41 "fileBrowserPrivate.onDriveConnectionStatusChanged";
43 const char kOnInputMethodChanged
[] = "inputMethodPrivate.onChanged";
45 const char kOnContextMenus
[] = "contextMenus";
46 const char kOnContextMenuClicked
[] = "contextMenus.onClicked";
48 const char kOnDialDeviceList
[] = "dial.onDeviceList";
49 const char kOnDialError
[] = "dial.onError";
51 const char kOnDownloadCreated
[] = "downloads.onCreated";
52 const char kOnDownloadChanged
[] = "downloads.onChanged";
53 const char kOnDownloadErased
[] = "downloads.onErased";
54 const char kOnDownloadDeterminingFilename
[] = "downloads.onDeterminingFilename";
56 const char kOnSettingsChanged
[] = "storage.onChanged";
58 const char kOnTerminalProcessOutput
[] = "terminalPrivate.onProcessOutput";
60 const char kOnOffscreenTabUpdated
[] = "experimental.offscreenTabs.onUpdated";
62 const char kOnTabCaptureStatusChanged
[] = "tabCapture.onStatusChanged";
64 const char kBluetoothOnAdapterStateChanged
[] =
65 "bluetooth.onAdapterStateChanged";
66 const char kBluetoothOnConnection
[] = "bluetooth.onConnection";
67 const char kBluetoothOnDeviceDiscovered
[] = "bluetooth.onDeviceDiscovered";
68 const char kBluetoothOnDeviceSearchFinished
[] =
69 "bluetooth.onDeviceSearchFinished";
70 const char kBluetoothOnDeviceSearchResult
[] = "bluetooth.onDeviceSearchResult";
72 const char kOnPushMessage
[] = "pushMessaging.onMessage";
74 const char kOnDisplayChanged
[] = "systemInfo.display.onDisplayChanged";
75 const char kOnStorageAvailableCapacityChanged
[] =
76 "experimental.systemInfo.storage.onAvailableCapacityChanged";
77 const char kOnStorageAttached
[] = "experimental.systemInfo.storage.onAttached";
78 const char kOnStorageDetached
[] = "experimental.systemInfo.storage.onDetached";
80 const char kOnSystemIndicatorClicked
[] = "systemIndicator.onClicked";
82 const char kOnServiceStatusChanged
[] = "syncFileSystem.onServiceStatusChanged";
83 const char kOnFileStatusChanged
[] = "syncFileSystem.onFileStatusChanged";
85 const char kOnAttachEventName
[] = "mediaGalleriesPrivate.onDeviceAttached";
86 const char kOnDetachEventName
[] = "mediaGalleriesPrivate.onDeviceDetached";
87 const char kOnGalleryChangedEventName
[] =
88 "mediaGalleriesPrivate.onGalleryChanged";
90 const char kOnNotificationDisplayed
[] = "notifications.onDisplayed";
91 const char kOnNotificationError
[] = "notifications.onError";
92 const char kOnNotificationClosed
[] = "notifications.onClosed";
93 const char kOnNotificationClicked
[] = "notifications.onClicked";
94 const char kOnNotificationButtonClicked
[] = "notifications.onButtonClicked";
96 const char kOnNetworksChanged
[] = "networkingPrivate.onNetworksChanged";
97 const char kOnNetworkListChanged
[] = "networkingPrivate.onNetworkListChanged";
99 const char kOnAudioDeviceChanged
[] = "audio.onDeviceChanged";
101 const char kOnLaunched
[] = "app.runtime.onLaunched";
102 const char kOnRestarted
[] = "app.runtime.onRestarted";
104 } // namespace event_names
106 } // namespace extensions