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 22 matching lines...) Expand all Loading... |
33 extern const wchar_t kTopKey[]; | 33 extern const wchar_t kTopKey[]; |
34 extern const wchar_t kUrlKey[]; | 34 extern const wchar_t kUrlKey[]; |
35 extern const wchar_t kWidthKey[]; | 35 extern const wchar_t kWidthKey[]; |
36 extern const wchar_t kWindowIdKey[]; | 36 extern const wchar_t kWindowIdKey[]; |
37 | 37 |
38 // Value consts. | 38 // Value consts. |
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[]; |
| 44 extern const char kNoLastFocusedWindowError[]; |
43 extern const char kWindowNotFoundError[]; | 45 extern const char kWindowNotFoundError[]; |
44 extern const char kTabNotFoundError[]; | 46 extern const char kTabNotFoundError[]; |
| 47 extern const char kNoSelectedTabError[]; |
45 extern const char kInvalidUrlError[]; | 48 extern const char kInvalidUrlError[]; |
46 | 49 |
47 // Function names, Windows API. | 50 // Function names, Windows API. |
48 extern const char kGetWindowFunction[]; | 51 extern const char kGetWindowFunction[]; |
49 extern const char kGetCurrentWindowFunction[]; | 52 extern const char kGetCurrentWindowFunction[]; |
50 extern const char kGetLastFocusedWindowFunction[]; | 53 extern const char kGetLastFocusedWindowFunction[]; |
51 extern const char kGetAllWindowsFunction[]; | 54 extern const char kGetAllWindowsFunction[]; |
52 extern const char kCreateWindowFunction[]; | 55 extern const char kCreateWindowFunction[]; |
53 extern const char kUpdateWindowFunction[]; | 56 extern const char kUpdateWindowFunction[]; |
54 extern const char kRemoveWindowFunction[]; | 57 extern const char kRemoveWindowFunction[]; |
55 | 58 |
56 // Function names, Tabs API. | 59 // Function names, Tabs API. |
57 extern const char kGetTabFunction[]; | 60 extern const char kGetTabFunction[]; |
58 extern const char kGetSelectedTabFunction[]; | 61 extern const char kGetSelectedTabFunction[]; |
59 extern const char kGetAllTabsInWindowFunction[]; | 62 extern const char kGetAllTabsInWindowFunction[]; |
60 extern const char kCreateTabFunction[]; | 63 extern const char kCreateTabFunction[]; |
61 extern const char kUpdateTabFunction[]; | 64 extern const char kUpdateTabFunction[]; |
62 extern const char kMoveTabFunction[]; | 65 extern const char kMoveTabFunction[]; |
63 extern const char kRemoveTabFunction[]; | 66 extern const char kRemoveTabFunction[]; |
64 | 67 |
65 }; // namespace extension_tabs_module_constants | 68 }; // namespace extension_tabs_module_constants |
66 | 69 |
67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TABS_MODULE_CONSTANTS_H_ |
OLD | NEW |