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 used for the Page Actions API. | 5 // Constants used for the Page Actions API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ |
9 | 9 |
10 namespace extension_page_actions_module_constants { | 10 namespace extension_page_actions_module_constants { |
11 | 11 |
12 // Keys. | 12 // Keys. |
13 extern const wchar_t kTabIdKey[]; | 13 extern const wchar_t kTabIdKey[]; |
14 extern const wchar_t kUrlKey[]; | 14 extern const wchar_t kUrlKey[]; |
15 extern const wchar_t kTitleKey[]; | 15 extern const wchar_t kTitleKey[]; |
16 extern const wchar_t kIconIdKey[]; | 16 extern const wchar_t kIconIdKey[]; |
17 extern const wchar_t kButtonKey[]; | 17 extern const wchar_t kButtonKey[]; |
18 | 18 |
19 // Error messages. | 19 // Error messages. |
20 extern const char kNoExtensionError[]; | 20 extern const char kNoExtensionError[]; |
21 extern const char kNoTabError[]; | 21 extern const char kNoTabError[]; |
22 extern const char kNoPageActionError[]; | 22 extern const char kNoPageActionError[]; |
23 extern const char kUrlNotActiveError[]; | 23 extern const char kUrlNotActiveError[]; |
24 | 24 |
25 // Function names. | |
26 extern const char kEnablePageActionFunction[]; | |
27 extern const char kDisablePageActionFunction[]; | |
28 | |
29 }; // namespace extension_page_actions_module_constants | 25 }; // namespace extension_page_actions_module_constants |
30 | 26 |
31 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ | 27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ |
OLD | NEW |