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 // Tabs. | 14 // Tabs. |
15 extern const char kOnTabActivated[]; | 15 extern const char kOnTabActivated[]; |
16 extern const char kOnTabActiveChanged[]; | 16 extern const char kOnTabActiveChanged[]; |
17 extern const char kOnTabAttached[]; | 17 extern const char kOnTabAttached[]; |
18 extern const char kOnTabCreated[]; | 18 extern const char kOnTabCreated[]; |
19 extern const char kOnTabDetached[]; | 19 extern const char kOnTabDetached[]; |
20 extern const char kOnTabHighlightChanged[]; | 20 extern const char kOnTabHighlightChanged[]; |
21 extern const char kOnTabHighlighted[]; | 21 extern const char kOnTabHighlighted[]; |
22 extern const char kOnTabMoved[]; | 22 extern const char kOnTabMoved[]; |
23 extern const char kOnTabRemoved[]; | 23 extern const char kOnTabRemoved[]; |
| 24 extern const char kOnTabReplaced[]; |
24 extern const char kOnTabSelectionChanged[]; | 25 extern const char kOnTabSelectionChanged[]; |
25 extern const char kOnTabUpdated[]; | 26 extern const char kOnTabUpdated[]; |
26 | 27 |
27 // Windows. | 28 // Windows. |
28 extern const char kOnWindowCreated[]; | 29 extern const char kOnWindowCreated[]; |
29 extern const char kOnWindowFocusedChanged[]; | 30 extern const char kOnWindowFocusedChanged[]; |
30 extern const char kOnWindowRemoved[]; | 31 extern const char kOnWindowRemoved[]; |
31 | 32 |
32 // Management. | 33 // Management. |
33 extern const char kOnExtensionInstalled[]; | 34 extern const char kOnExtensionInstalled[]; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 96 |
96 // MediaGalleriesPrivate. | 97 // MediaGalleriesPrivate. |
97 extern const char kOnAttachEventName[]; | 98 extern const char kOnAttachEventName[]; |
98 extern const char kOnDetachEventName[]; | 99 extern const char kOnDetachEventName[]; |
99 | 100 |
100 } // namespace event_names | 101 } // namespace event_names |
101 | 102 |
102 } // namespace extensions | 103 } // namespace extensions |
103 | 104 |
104 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_EVENT_NAMES_H_ |
OLD | NEW |