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

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

Issue 160228: Functionality has been requested in the Extension API for Javascript to... (Closed)
Patch Set: added docs Created 11 years, 4 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 #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 22 matching lines...) Expand all
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"; 37 const char kNoCurrentWindowError[] = "No current window";
38 const char kNoLastFocusedWindowError[] = "No last-focused window"; 38 const char kNoLastFocusedWindowError[] = "No last-focused window";
39 const char kWindowNotFoundError[] = "No window with id: *."; 39 const char kWindowNotFoundError[] = "No window with id: *.";
40 const char kTabNotFoundError[] = "No tab with id: *."; 40 const char kTabNotFoundError[] = "No tab with id: *.";
41 const char kNoSelectedTabError[] = "No selected tab"; 41 const char kNoSelectedTabError[] = "No selected tab";
42 const char kInvalidUrlError[] = "Invalid url: \"*\"."; 42 const char kInvalidUrlError[] = "Invalid url: \"*\".";
43 const char kInternalVisibleTabCaptureError[] =
44 "Internal error while trying to capture visible region of the current tab";
45 const char kNotImplementedError[] = "This call is not yet implemented";
43 46
44 const char kGetWindowFunction[] = "windows.get"; 47 const char kGetWindowFunction[] = "windows.get";
45 const char kGetCurrentWindowFunction[] = "windows.getCurrent"; 48 const char kGetCurrentWindowFunction[] = "windows.getCurrent";
46 const char kGetLastFocusedWindowFunction[] = "windows.getLastFocused"; 49 const char kGetLastFocusedWindowFunction[] = "windows.getLastFocused";
47 const char kGetAllWindowsFunction[] = "windows.getAll"; 50 const char kGetAllWindowsFunction[] = "windows.getAll";
48 const char kCreateWindowFunction[] = "windows.create"; 51 const char kCreateWindowFunction[] = "windows.create";
49 const char kUpdateWindowFunction[] = "windows.update"; 52 const char kUpdateWindowFunction[] = "windows.update";
50 const char kRemoveWindowFunction[] = "windows.remove"; 53 const char kRemoveWindowFunction[] = "windows.remove";
51 54
52 const char kGetTabFunction[] = "tabs.get"; 55 const char kGetTabFunction[] = "tabs.get";
53 const char kGetSelectedTabFunction[] = "tabs.getSelected"; 56 const char kGetSelectedTabFunction[] = "tabs.getSelected";
54 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow"; 57 const char kGetAllTabsInWindowFunction[] = "tabs.getAllInWindow";
55 const char kCreateTabFunction[] = "tabs.create"; 58 const char kCreateTabFunction[] = "tabs.create";
56 const char kUpdateTabFunction[] = "tabs.update"; 59 const char kUpdateTabFunction[] = "tabs.update";
57 const char kMoveTabFunction[] = "tabs.move"; 60 const char kMoveTabFunction[] = "tabs.move";
58 const char kRemoveTabFunction[] = "tabs.remove"; 61 const char kRemoveTabFunction[] = "tabs.remove";
59 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage"; 62 const char kDetectTabLanguageFunction[] = "tabs.detectLanguage";
63 const char kCaptureVisibleTabFunction[] = "tabs.captureVisibleTab";
60 64
61 } // namespace extension_tabs_module_constants 65 } // namespace extension_tabs_module_constants
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module_constants.h ('k') | chrome/common/common_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698