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

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

Issue 8907048: Remove TOUCH_UI code in chrome_constants.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/common/chrome_constants.h" 5 #include "chrome/common/chrome_constants.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 #define FPL FILE_PATH_LITERAL 9 #define FPL FILE_PATH_LITERAL
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 #else 167 #else
168 const bool kRecordModeEnabled = false; 168 const bool kRecordModeEnabled = false;
169 #endif 169 #endif
170 170
171 const int kHistogramSynchronizerReservedSequenceNumber = 0; 171 const int kHistogramSynchronizerReservedSequenceNumber = 0;
172 172
173 const char* const kUnknownLanguageCode = "und"; 173 const char* const kUnknownLanguageCode = "und";
174 174
175 const int kJavascriptMessageExpectedDelay = 1000; 175 const int kJavascriptMessageExpectedDelay = 1000;
176 176
177 #ifdef TOUCH_UI
178 const bool kEnableTouchIcon = true;
179 #else
180 const bool kEnableTouchIcon = false; 177 const bool kEnableTouchIcon = false;
181 #endif
182 178
183 #if defined(OS_LINUX) 179 #if defined(OS_LINUX)
184 extern const int kLowestRendererOomScore = 300; 180 extern const int kLowestRendererOomScore = 300;
185 extern const int kHighestRendererOomScore = 1000; 181 extern const int kHighestRendererOomScore = 1000;
186 #endif 182 #endif
187 183
188 #if defined(OS_WIN) 184 #if defined(OS_WIN)
189 // This is used by the PreRead experiment. 185 // This is used by the PreRead experiment.
190 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT"; 186 const char kPreReadEnvironmentVariable[] = "CHROME_PRE_READ_EXPERIMENT";
191 #endif 187 #endif
192 188
193 } // namespace chrome 189 } // namespace chrome
194 190
195 #undef FPL 191 #undef FPL
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698