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 28 matching lines...) Expand all Loading... |
39 extern const char kStatusValueComplete[]; | 39 extern const char kStatusValueComplete[]; |
40 extern const char kStatusValueLoading[]; | 40 extern const char kStatusValueLoading[]; |
41 | 41 |
42 // Error messages. | 42 // Error messages. |
43 extern const char kNoCurrentWindowError[]; | 43 extern const char kNoCurrentWindowError[]; |
44 extern const char kNoLastFocusedWindowError[]; | 44 extern const char kNoLastFocusedWindowError[]; |
45 extern const char kWindowNotFoundError[]; | 45 extern const char kWindowNotFoundError[]; |
46 extern const char kTabNotFoundError[]; | 46 extern const char kTabNotFoundError[]; |
47 extern const char kNoSelectedTabError[]; | 47 extern const char kNoSelectedTabError[]; |
48 extern const char kInvalidUrlError[]; | 48 extern const char kInvalidUrlError[]; |
| 49 extern const char kInternalVisibleTabCaptureError[]; |
49 | 50 |
50 // Function names, Windows API. | 51 // Function names, Windows API. |
51 extern const char kGetWindowFunction[]; | 52 extern const char kGetWindowFunction[]; |
52 extern const char kGetCurrentWindowFunction[]; | 53 extern const char kGetCurrentWindowFunction[]; |
53 extern const char kGetLastFocusedWindowFunction[]; | 54 extern const char kGetLastFocusedWindowFunction[]; |
54 extern const char kGetAllWindowsFunction[]; | 55 extern const char kGetAllWindowsFunction[]; |
55 extern const char kCreateWindowFunction[]; | 56 extern const char kCreateWindowFunction[]; |
56 extern const char kUpdateWindowFunction[]; | 57 extern const char kUpdateWindowFunction[]; |
57 extern const char kRemoveWindowFunction[]; | 58 extern const char kRemoveWindowFunction[]; |
58 | 59 |
59 // Function names, Tabs API. | 60 // Function names, Tabs API. |
60 extern const char kGetTabFunction[]; | 61 extern const char kGetTabFunction[]; |
61 extern const char kGetSelectedTabFunction[]; | 62 extern const char kGetSelectedTabFunction[]; |
62 extern const char kGetAllTabsInWindowFunction[]; | 63 extern const char kGetAllTabsInWindowFunction[]; |
63 extern const char kCreateTabFunction[]; | 64 extern const char kCreateTabFunction[]; |
64 extern const char kUpdateTabFunction[]; | 65 extern const char kUpdateTabFunction[]; |
65 extern const char kMoveTabFunction[]; | 66 extern const char kMoveTabFunction[]; |
66 extern const char kRemoveTabFunction[]; | 67 extern const char kRemoveTabFunction[]; |
67 extern const char kGetTabLanguageFunction[]; | 68 extern const char kGetTabLanguageFunction[]; |
| 69 extern const char kGetVisibleTabCaptureFunction[]; |
68 | 70 |
69 }; // namespace extension_tabs_module_constants | 71 }; // namespace extension_tabs_module_constants |
70 | 72 |
71 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 73 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
OLD | NEW |