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_EXTENSION_EVENT_NAMES_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
9 | 9 |
10 namespace extension_event_names { | 10 namespace extensions { |
| 11 |
| 12 namespace event_names { |
11 | 13 |
12 // Tabs. | 14 // Tabs. |
13 extern const char kOnTabActivated[]; | 15 extern const char kOnTabActivated[]; |
14 extern const char kOnTabActiveChanged[]; | 16 extern const char kOnTabActiveChanged[]; |
15 extern const char kOnTabAttached[]; | 17 extern const char kOnTabAttached[]; |
16 extern const char kOnTabCreated[]; | 18 extern const char kOnTabCreated[]; |
17 extern const char kOnTabDetached[]; | 19 extern const char kOnTabDetached[]; |
18 extern const char kOnTabHighlightChanged[]; | 20 extern const char kOnTabHighlightChanged[]; |
19 extern const char kOnTabHighlighted[]; | 21 extern const char kOnTabHighlighted[]; |
20 extern const char kOnTabMoved[]; | 22 extern const char kOnTabMoved[]; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // OffscreenTabs. | 65 // OffscreenTabs. |
64 extern const char kOnOffscreenTabUpdated[]; | 66 extern const char kOnOffscreenTabUpdated[]; |
65 | 67 |
66 #if defined(OS_CHROMEOS) | 68 #if defined(OS_CHROMEOS) |
67 // Bluetooth. | 69 // Bluetooth. |
68 extern const char kBluetoothOnAvailabilityChanged[]; | 70 extern const char kBluetoothOnAvailabilityChanged[]; |
69 extern const char kBluetoothOnDeviceDiscovered[]; | 71 extern const char kBluetoothOnDeviceDiscovered[]; |
70 extern const char kBluetoothOnPowerChanged[]; | 72 extern const char kBluetoothOnPowerChanged[]; |
71 #endif | 73 #endif |
72 | 74 |
73 }; // namespace extension_event_names | 75 } // namespace event_names |
74 | 76 |
75 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | 77 } // namespace extensions |
| 78 |
| 79 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
OLD | NEW |