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 used for the Tabs API and the Windows API. | 5 // Constants used for the Tabs API and the Windows API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 namespace extension_tabs_module_constants { | 11 namespace extensions { |
| 12 namespace tabs_constants { |
12 | 13 |
13 // Keys used in serializing tab data & events. | 14 // Keys used in serializing tab data & events. |
14 extern const char kActiveKey[]; | 15 extern const char kActiveKey[]; |
15 extern const char kAllFramesKey[]; | 16 extern const char kAllFramesKey[]; |
16 extern const char kAlwaysOnTopKey[]; | 17 extern const char kAlwaysOnTopKey[]; |
17 extern const char kBypassCache[]; | 18 extern const char kBypassCache[]; |
18 extern const char kCodeKey[]; | 19 extern const char kCodeKey[]; |
19 extern const char kCurrentWindowKey[]; | 20 extern const char kCurrentWindowKey[]; |
20 extern const char kDrawAttentionKey[]; | 21 extern const char kDrawAttentionKey[]; |
21 extern const char kFaviconUrlKey[]; | 22 extern const char kFaviconUrlKey[]; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 extern const char kNotImplementedError[]; | 92 extern const char kNotImplementedError[]; |
92 extern const char kSupportedInWindowsOnlyError[]; | 93 extern const char kSupportedInWindowsOnlyError[]; |
93 extern const char kInvalidWindowTypeError[]; | 94 extern const char kInvalidWindowTypeError[]; |
94 extern const char kInvalidWindowStateError[]; | 95 extern const char kInvalidWindowStateError[]; |
95 | 96 |
96 extern const char kNoCodeOrFileToExecuteError[]; | 97 extern const char kNoCodeOrFileToExecuteError[]; |
97 extern const char kMoreThanOneValuesError[]; | 98 extern const char kMoreThanOneValuesError[]; |
98 extern const char kLoadFileError[]; | 99 extern const char kLoadFileError[]; |
99 extern const char kCannotDetermineLanguageOfUnloadedTab[]; | 100 extern const char kCannotDetermineLanguageOfUnloadedTab[]; |
100 | 101 |
101 }; // namespace extension_tabs_module_constants | 102 }; // namespace tabs_constants |
| 103 }; // namespace extensions |
102 | 104 |
103 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 105 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_TABS_CONSTANTS_H_ |
OLD | NEW |