OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_EXTENSION_EVENT_NAMES_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ |
9 | 9 |
10 namespace extension_event_names { | 10 namespace extension_event_names { |
11 | 11 |
12 extern const char kOnPageActionExecuted[]; | |
13 extern const char kOnTabAttached[]; | 12 extern const char kOnTabAttached[]; |
14 extern const char kOnTabCreated[]; | 13 extern const char kOnTabCreated[]; |
15 extern const char kOnTabDetached[]; | 14 extern const char kOnTabDetached[]; |
16 extern const char kOnTabMoved[]; | 15 extern const char kOnTabMoved[]; |
17 extern const char kOnTabRemoved[]; | 16 extern const char kOnTabRemoved[]; |
18 extern const char kOnTabSelectionChanged[]; | 17 extern const char kOnTabSelectionChanged[]; |
19 extern const char kOnTabUpdated[]; | 18 extern const char kOnTabUpdated[]; |
20 extern const char kOnWindowCreated[]; | 19 extern const char kOnWindowCreated[]; |
21 extern const char kOnWindowFocusedChanged[]; | 20 extern const char kOnWindowFocusedChanged[]; |
22 extern const char kOnWindowRemoved[]; | 21 extern const char kOnWindowRemoved[]; |
23 | 22 |
24 }; // namespace extension_event_names | 23 }; // namespace extension_event_names |
25 | 24 |
26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ | 25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_EVENT_NAMES_H_ |
27 | 26 |
OLD | NEW |