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

Side by Side Diff: chrome/common/chrome_constants.h

Issue 648833004: Componentize app_modal_dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 2 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 // A handful of resource-like constants related to the Chrome application. 5 // A handful of resource-like constants related to the Chrome application.
6 6
7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_CHROME_CONSTANTS_H_
8 #define CHROME_COMMON_CHROME_CONSTANTS_H_ 8 #define CHROME_COMMON_CHROME_CONSTANTS_H_
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 extern const base::FilePath::CharType kWebAppDirname[]; 102 extern const base::FilePath::CharType kWebAppDirname[];
103 103
104 // File name of the Pepper Flash plugin on different platforms. 104 // File name of the Pepper Flash plugin on different platforms.
105 extern const base::FilePath::CharType kPepperFlashPluginFilename[]; 105 extern const base::FilePath::CharType kPepperFlashPluginFilename[];
106 106
107 // directory names 107 // directory names
108 extern const wchar_t kUserDataDirname[]; 108 extern const wchar_t kUserDataDirname[];
109 109
110 extern const bool kRecordModeEnabled; 110 extern const bool kRecordModeEnabled;
111 111
112 // If a WebContents is impolite and displays a second JavaScript alert within
113 // kJavaScriptMessageExpectedDelay of a previous JavaScript alert being
114 // dismissed, display an option to suppress future alerts from this WebContents.
115 extern const int kJavaScriptMessageExpectedDelay;
116
117 // Are touch icons enabled? False by default. 112 // Are touch icons enabled? False by default.
118 extern const bool kEnableTouchIcon; 113 extern const bool kEnableTouchIcon;
119 114
120 // Fraction of the total number of processes to be used for hosting 115 // Fraction of the total number of processes to be used for hosting
121 // extensions. If we have more extensions than this percentage, we will start 116 // extensions. If we have more extensions than this percentage, we will start
122 // combining extensions in existing processes. This allows web pages to have 117 // combining extensions in existing processes. This allows web pages to have
123 // enough render processes and not be starved when a lot of extensions are 118 // enough render processes and not be starved when a lot of extensions are
124 // installed. 119 // installed.
125 extern const float kMaxShareOfExtensionProcesses; 120 extern const float kMaxShareOfExtensionProcesses;
126 121
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 162
168 // Used to identify the application to the system AV function in Windows. 163 // Used to identify the application to the system AV function in Windows.
169 extern const char kApplicationClientIDStringForAVScanning[]; 164 extern const char kApplicationClientIDStringForAVScanning[];
170 165
171 // The largest reasonable length we'd assume for a meta tag attribute. 166 // The largest reasonable length we'd assume for a meta tag attribute.
172 extern const size_t kMaxMetaTagAttributeLength; 167 extern const size_t kMaxMetaTagAttributeLength;
173 168
174 } // namespace chrome 169 } // namespace chrome
175 170
176 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 171 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698