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

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

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
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/extensions/extension_tabs_module_constants.h" 5 #include "chrome/browser/extensions/extension_tabs_module_constants.h"
6 6
7 namespace extension_tabs_module_constants { 7 namespace extension_tabs_module_constants {
8 8
9 const wchar_t kDataKey[] = L"data"; 9 const wchar_t kDataKey[] = L"data";
10 const wchar_t kFavIconUrlKey[] = L"favIconUrl"; 10 const wchar_t kFavIconUrlKey[] = L"favIconUrl";
(...skipping 16 matching lines...) Expand all
27 const wchar_t kTitleKey[] = L"title"; 27 const wchar_t kTitleKey[] = L"title";
28 const wchar_t kToIndexKey[] = L"toIndex"; 28 const wchar_t kToIndexKey[] = L"toIndex";
29 const wchar_t kTopKey[] = L"top"; 29 const wchar_t kTopKey[] = L"top";
30 const wchar_t kUrlKey[] = L"url"; 30 const wchar_t kUrlKey[] = L"url";
31 const wchar_t kWidthKey[] = L"width"; 31 const wchar_t kWidthKey[] = L"width";
32 const wchar_t kWindowIdKey[] = L"windowId"; 32 const wchar_t kWindowIdKey[] = L"windowId";
33 33
34 const char kStatusValueComplete[] = "complete"; 34 const char kStatusValueComplete[] = "complete";
35 const char kStatusValueLoading[] = "loading"; 35 const char kStatusValueLoading[] = "loading";
36 36
37 const char kNoCurrentWindowError[] = "No current window";
38 const char kNoLastFocusedWindowError[] = "No last-focused window";
37 const char kWindowNotFoundError[] = "No window with id: *."; 39 const char kWindowNotFoundError[] = "No window with id: *.";
38 const char kTabNotFoundError[] = "No tab with id: *."; 40 const char kTabNotFoundError[] = "No tab with id: *.";
41 const char kNoSelectedTabError[] = "No selected tab";
39 const char kInvalidUrlError[] = "Invalid url: \"*\"."; 42 const char kInvalidUrlError[] = "Invalid url: \"*\".";
40 43
41 const char kGetWindowFunction[] = "GetWindow"; 44 const char kGetWindowFunction[] = "GetWindow";
42 const char kGetCurrentWindowFunction[] = "GetCurrentWindow"; 45 const char kGetCurrentWindowFunction[] = "GetCurrentWindow";
43 const char kGetLastFocusedWindowFunction[] = "GetLastFocusedWindow"; 46 const char kGetLastFocusedWindowFunction[] = "GetLastFocusedWindow";
44 const char kGetAllWindowsFunction[] = "GetAllWindows"; 47 const char kGetAllWindowsFunction[] = "GetAllWindows";
45 const char kCreateWindowFunction[] = "CreateWindow"; 48 const char kCreateWindowFunction[] = "CreateWindow";
46 const char kUpdateWindowFunction[] = "UpdateWindow"; 49 const char kUpdateWindowFunction[] = "UpdateWindow";
47 const char kRemoveWindowFunction[] = "RemoveWindow"; 50 const char kRemoveWindowFunction[] = "RemoveWindow";
48 51
49 const char kGetTabFunction[] = "GetTab"; 52 const char kGetTabFunction[] = "GetTab";
50 const char kGetSelectedTabFunction[] = "GetSelectedTab"; 53 const char kGetSelectedTabFunction[] = "GetSelectedTab";
51 const char kGetAllTabsInWindowFunction[] = "GetAllTabsInWindow"; 54 const char kGetAllTabsInWindowFunction[] = "GetAllTabsInWindow";
52 const char kCreateTabFunction[] = "CreateTab"; 55 const char kCreateTabFunction[] = "CreateTab";
53 const char kUpdateTabFunction[] = "UpdateTab"; 56 const char kUpdateTabFunction[] = "UpdateTab";
54 const char kMoveTabFunction[] = "MoveTab"; 57 const char kMoveTabFunction[] = "MoveTab";
55 const char kRemoveTabFunction[] = "RemoveTab"; 58 const char kRemoveTabFunction[] = "RemoveTab";
56 59
57 60
58 } // namespace extension_tabs_module_constants 61 } // namespace extension_tabs_module_constants
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698