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 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_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
9 | 9 |
10 namespace extension_tabs_module_constants { | 10 namespace extension_tabs_module_constants { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 extern const char kNoLastFocusedWindowError[]; | 43 extern const char kNoLastFocusedWindowError[]; |
44 extern const char kWindowNotFoundError[]; | 44 extern const char kWindowNotFoundError[]; |
45 extern const char kTabNotFoundError[]; | 45 extern const char kTabNotFoundError[]; |
46 extern const char kNoSelectedTabError[]; | 46 extern const char kNoSelectedTabError[]; |
47 extern const char kInvalidUrlError[]; | 47 extern const char kInvalidUrlError[]; |
48 extern const char kInternalVisibleTabCaptureError[]; | 48 extern const char kInternalVisibleTabCaptureError[]; |
49 extern const char kNotImplementedError[]; | 49 extern const char kNotImplementedError[]; |
50 extern const char kCannotAccessPageError[]; | 50 extern const char kCannotAccessPageError[]; |
51 extern const char kSupportedInWindowsOnlyError[]; | 51 extern const char kSupportedInWindowsOnlyError[]; |
52 | 52 |
53 // Function names, Windows API. | |
54 extern const char kGetWindowFunction[]; | |
55 extern const char kGetCurrentWindowFunction[]; | |
56 extern const char kGetLastFocusedWindowFunction[]; | |
57 extern const char kGetAllWindowsFunction[]; | |
58 extern const char kCreateWindowFunction[]; | |
59 extern const char kUpdateWindowFunction[]; | |
60 extern const char kRemoveWindowFunction[]; | |
61 | |
62 // Function names, Tabs API. | |
63 extern const char kGetTabFunction[]; | |
64 extern const char kGetSelectedTabFunction[]; | |
65 extern const char kGetAllTabsInWindowFunction[]; | |
66 extern const char kCreateTabFunction[]; | |
67 extern const char kUpdateTabFunction[]; | |
68 extern const char kMoveTabFunction[]; | |
69 extern const char kRemoveTabFunction[]; | |
70 extern const char kDetectTabLanguageFunction[]; | |
71 extern const char kCaptureVisibleTabFunction[]; | |
72 extern const char kExecuteScriptFunction[]; | |
73 extern const char kInsertCSSFunction[]; | |
74 extern const char kNoCodeOrFileToExecuteError[]; | 53 extern const char kNoCodeOrFileToExecuteError[]; |
75 extern const char kMoreThanOneValuesError[]; | 54 extern const char kMoreThanOneValuesError[]; |
76 extern const char kLoadFileError[]; | 55 extern const char kLoadFileError[]; |
77 | 56 |
78 }; // namespace extension_tabs_module_constants | 57 }; // namespace extension_tabs_module_constants |
79 | 58 |
80 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 59 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
OLD | NEW |