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

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

Issue 10692110: screenshot disabling policy (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed Android and Mac builds Created 8 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) 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "Cannot open normal windows."; 89 "Cannot open normal windows.";
90 const char kURLsNotAllowedInIncognitoError[] = "Cannot open URL \"*\" " 90 const char kURLsNotAllowedInIncognitoError[] = "Cannot open URL \"*\" "
91 "in an incognito window."; 91 "in an incognito window.";
92 const char kInvalidUrlError[] = "Invalid url: \"*\"."; 92 const char kInvalidUrlError[] = "Invalid url: \"*\".";
93 const char kInternalVisibleTabCaptureError[] = 93 const char kInternalVisibleTabCaptureError[] =
94 "Internal error while trying to capture visible region of the current tab"; 94 "Internal error while trying to capture visible region of the current tab";
95 const char kNotImplementedError[] = "This call is not yet implemented"; 95 const char kNotImplementedError[] = "This call is not yet implemented";
96 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only"; 96 const char kSupportedInWindowsOnlyError[] = "Supported in Windows only";
97 const char kInvalidWindowTypeError[] = "Invalid value for type"; 97 const char kInvalidWindowTypeError[] = "Invalid value for type";
98 const char kInvalidWindowStateError[] = "Invalid value for state"; 98 const char kInvalidWindowStateError[] = "Invalid value for state";
99 const char kScreenshotsDisabled[] = "Taking screenshots has been disabled";
99 100
100 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified."; 101 const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";
101 const char kMoreThanOneValuesError[] = "Code and file should not be specified " 102 const char kMoreThanOneValuesError[] = "Code and file should not be specified "
102 "at the same time in the second argument."; 103 "at the same time in the second argument.";
103 const char kLoadFileError[] = "Failed to load file: \"*\". "; 104 const char kLoadFileError[] = "Failed to load file: \"*\". ";
104 const char kCannotDetermineLanguageOfUnloadedTab[] = 105 const char kCannotDetermineLanguageOfUnloadedTab[] =
105 "Cannot determine language: tab not loaded"; 106 "Cannot determine language: tab not loaded";
106 107
107 } // namespace tabs_constants 108 } // namespace tabs_constants
108 } // namespace extensions 109 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_constants.h ('k') | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698