Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/browser/extensions/extension_tabs_module_constants.h

Issue 119117: make extension apis tolerate browser absence during start-up & shutdown (Closed)
Patch Set: CR changes Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/extensions/extension_tabs_module_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698