| 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[]; |
| 16 extern const wchar_t kIconIdKey[]; |
| 15 | 17 |
| 16 // Error messages. | 18 // Error messages. |
| 17 extern const char kNoExtensionError[]; | 19 extern const char kNoExtensionError[]; |
| 18 extern const char kNoTabError[]; | 20 extern const char kNoTabError[]; |
| 19 extern const char kNoPageActionError[]; | 21 extern const char kNoPageActionError[]; |
| 20 extern const char kUrlNotActiveError[]; | 22 extern const char kUrlNotActiveError[]; |
| 21 | 23 |
| 22 // Function names. | 24 // Function names. |
| 23 extern const char kEnablePageActionFunction[]; | 25 extern const char kEnablePageActionFunction[]; |
| 24 extern const char kDisablePageActionFunction[]; | 26 extern const char kDisablePageActionFunction[]; |
| 25 | 27 |
| 26 }; // namespace extension_page_actions_module_constants | 28 }; // namespace extension_page_actions_module_constants |
| 27 | 29 |
| 28 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ | 30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PAGE_ACTIONS_MODULE_CONSTANTS_H_ |
| OLD | NEW |