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

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

Issue 7708020: Trying again to land OOM priority manager changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving switch closer to use location Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // If another javascript message box is displayed within 93 // If another javascript message box is displayed within
94 // kJavascriptMessageExpectedDelay of a previous javascript message box being 94 // kJavascriptMessageExpectedDelay of a previous javascript message box being
95 // dismissed, display an option to suppress future message boxes from this 95 // dismissed, display an option to suppress future message boxes from this
96 // contents. 96 // contents.
97 extern const int kJavascriptMessageExpectedDelay; 97 extern const int kJavascriptMessageExpectedDelay;
98 98
99 // Are touch icons enabled? False by default. 99 // Are touch icons enabled? False by default.
100 extern const bool kEnableTouchIcon; 100 extern const bool kEnableTouchIcon;
101 101
102 #if defined(OS_LINUX)
103 // The highest and lowest assigned OOM score adjustment
104 // (oom_score_adj) used by the OomPriority Manager.
105 extern const int kLowestRendererOomScore;
106 extern const int kHighestRendererOomScore;
107 #endif
108
102 } // namespace chrome 109 } // namespace chrome
103 110
104 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_ 111 #endif // CHROME_COMMON_CHROME_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698