OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants for the event names sent to extensions. | 5 // Constants for the event names sent to extensions. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 namespace event_names { | 12 namespace event_names { |
13 | 13 |
14 // FileBrowser. | 14 // FileBrowser. |
15 extern const char kOnDirectoryChanged[]; | 15 extern const char kOnDirectoryChanged[]; |
16 extern const char kOnFileBrowserMountCompleted[]; | 16 extern const char kOnFileBrowserMountCompleted[]; |
17 extern const char kOnFileTransfersUpdated[]; | 17 extern const char kOnFileTransfersUpdated[]; |
18 extern const char kOnFileBrowserPreferencesChanged[]; | 18 extern const char kOnFileBrowserPreferencesChanged[]; |
19 extern const char kOnFileBrowserDriveConnectionStatusChanged[]; | 19 extern const char kOnFileBrowserDriveConnectionStatusChanged[]; |
20 extern const char kOnFileBrowserCopyProgress[]; | 20 extern const char kOnFileBrowserCopyProgress[]; |
21 | 21 |
22 // InputMethod. | 22 // InputMethod. |
23 extern const char kOnInputMethodChanged[]; | 23 extern const char kOnInputMethodChanged[]; |
24 | 24 |
25 // Context menus. | 25 // Context menus. |
26 extern const char kOnContextMenus[]; | 26 extern const char kOnContextMenus[]; |
27 | 27 |
28 // Bluetooth. | |
29 extern const char kBluetoothOnDeviceDiscovered[]; | |
30 extern const char kBluetoothOnDeviceSearchFinished[]; | |
31 extern const char kBluetoothOnDeviceSearchResult[]; | |
32 | |
33 // Notifications. | 28 // Notifications. |
34 extern const char kOnNotificationError[]; | 29 extern const char kOnNotificationError[]; |
35 | 30 |
36 } // namespace event_names | 31 } // namespace event_names |
37 | 32 |
38 } // namespace extensions | 33 } // namespace extensions |
39 | 34 |
40 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ | 35 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
OLD | NEW |