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

Side by Side Diff: chrome/browser/extensions/api/tabs/tabs_constants.cc

Issue 522763002: Moving capture_web_contents_function to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documenting the inheritance of CaptureWebContentsFunction Created 6 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/api/tabs/tabs_constants.h" 5 #include "chrome/browser/extensions/api/tabs/tabs_constants.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 namespace tabs_constants { 8 namespace tabs_constants {
9 9
10 const char kActiveKey[] = "active"; 10 const char kActiveKey[] = "active";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const char kTopKey[] = "top"; 44 const char kTopKey[] = "top";
45 const char kUrlKey[] = "url"; 45 const char kUrlKey[] = "url";
46 const char kWindowClosing[] = "isWindowClosing"; 46 const char kWindowClosing[] = "isWindowClosing";
47 const char kWidthKey[] = "width"; 47 const char kWidthKey[] = "width";
48 const char kWindowIdKey[] = "windowId"; 48 const char kWindowIdKey[] = "windowId";
49 const char kWindowTypeKey[] = "type"; 49 const char kWindowTypeKey[] = "type";
50 const char kWindowTypeLongKey[] = "windowType"; 50 const char kWindowTypeLongKey[] = "windowType";
51 const char kZoomSettingsMode[] = "mode"; 51 const char kZoomSettingsMode[] = "mode";
52 const char kZoomSettingsScope[] = "scope"; 52 const char kZoomSettingsScope[] = "scope";
53 53
54 const char kFormatValueJpeg[] = "jpeg";
55 const char kFormatValuePng[] = "png";
56 const char kMimeTypeJpeg[] = "image/jpeg";
57 const char kMimeTypePng[] = "image/png";
58 const char kShowStateValueNormal[] = "normal"; 54 const char kShowStateValueNormal[] = "normal";
59 const char kShowStateValueMinimized[] = "minimized"; 55 const char kShowStateValueMinimized[] = "minimized";
60 const char kShowStateValueMaximized[] = "maximized"; 56 const char kShowStateValueMaximized[] = "maximized";
61 const char kShowStateValueFullscreen[] = "fullscreen"; 57 const char kShowStateValueFullscreen[] = "fullscreen";
62 const char kStatusValueComplete[] = "complete"; 58 const char kStatusValueComplete[] = "complete";
63 const char kStatusValueLoading[] = "loading"; 59 const char kStatusValueLoading[] = "loading";
64 60
65 // TODO(mpcomplete): should we expose more specific detail, like devtools, app 61 // TODO(mpcomplete): should we expose more specific detail, like devtools, app
66 // panel, etc? 62 // panel, etc?
67 const char kWindowTypeValueNormal[] = "normal"; 63 const char kWindowTypeValueNormal[] = "normal";
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 101
106 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; 102 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";
107 const char kMoreThanOneValuesError[] = "Code and file should not be specified " 103 const char kMoreThanOneValuesError[] = "Code and file should not be specified "
108 "at the same time in the second argument."; 104 "at the same time in the second argument.";
109 const char kLoadFileError[] = "Failed to load file: \"*\". "; 105 const char kLoadFileError[] = "Failed to load file: \"*\". ";
110 const char kCannotDetermineLanguageOfUnloadedTab[] = 106 const char kCannotDetermineLanguageOfUnloadedTab[] =
111 "Cannot determine language: tab not loaded"; 107 "Cannot determine language: tab not loaded";
112 108
113 } // namespace tabs_constants 109 } // namespace tabs_constants
114 } // namespace extensions 110 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_constants.h ('k') | chrome/browser/extensions/api/web_view/web_view_internal_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698