OLD | NEW |
| (Empty) |
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. | |
4 | |
5 // Constants for the event names sent to extensions. | |
6 | |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | |
9 | |
10 namespace extension_event_names { | |
11 | |
12 // Tabs. | |
13 extern const char kOnTabActivated[]; | |
14 extern const char kOnTabActiveChanged[]; | |
15 extern const char kOnTabAttached[]; | |
16 extern const char kOnTabCreated[]; | |
17 extern const char kOnTabDetached[]; | |
18 extern const char kOnTabHighlightChanged[]; | |
19 extern const char kOnTabHighlighted[]; | |
20 extern const char kOnTabMoved[]; | |
21 extern const char kOnTabRemoved[]; | |
22 extern const char kOnTabSelectionChanged[]; | |
23 extern const char kOnTabUpdated[]; | |
24 | |
25 // Windows. | |
26 extern const char kOnWindowCreated[]; | |
27 extern const char kOnWindowFocusedChanged[]; | |
28 extern const char kOnWindowRemoved[]; | |
29 | |
30 // Management. | |
31 extern const char kOnExtensionInstalled[]; | |
32 extern const char kOnExtensionUninstalled[]; | |
33 extern const char kOnExtensionEnabled[]; | |
34 extern const char kOnExtensionDisabled[]; | |
35 | |
36 // FileBrowser. | |
37 extern const char kOnFileBrowserDiskChanged[]; | |
38 extern const char kOnFileChanged[]; | |
39 extern const char kOnFileBrowserMountCompleted[]; | |
40 extern const char kOnFileTransfersUpdated[]; | |
41 extern const char kOnDocumentFeedFetched[]; | |
42 extern const char kOnFileBrowserGDataPreferencesChanged[]; | |
43 extern const char kOnFileBrowserNetworkConnectionChanged[]; | |
44 | |
45 // InputMethod. | |
46 extern const char kOnInputMethodChanged[]; | |
47 | |
48 // Context menus. | |
49 extern const char kOnContextMenus[]; | |
50 extern const char kOnContextMenuClicked[]; | |
51 | |
52 // Downloads. | |
53 extern const char kOnDownloadCreated[]; | |
54 extern const char kOnDownloadChanged[]; | |
55 extern const char kOnDownloadErased[]; | |
56 | |
57 // Settings. | |
58 extern const char kOnSettingsChanged[]; | |
59 | |
60 // TerminalPrivate. | |
61 extern const char kOnTerminalProcessOutput[]; | |
62 | |
63 // OffscreenTabs. | |
64 extern const char kOnOffscreenTabUpdated[]; | |
65 | |
66 #if defined(OS_CHROMEOS) | |
67 // Bluetooth. | |
68 extern const char kBluetoothOnAvailabilityChanged[]; | |
69 extern const char kBluetoothOnDeviceDiscovered[]; | |
70 extern const char kBluetoothOnPowerChanged[]; | |
71 #endif | |
72 | |
73 }; // namespace extension_event_names | |
74 | |
75 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | |
OLD | NEW |