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

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

Issue 3136038: Enable device orientation by default. (Closed)
Patch Set: Rebase and address Pawel's comment Created 10 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_thread.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 // Disables HTML5 DB support. 160 // Disables HTML5 DB support.
161 const char kDisableDatabases[] = "disable-databases"; 161 const char kDisableDatabases[] = "disable-databases";
162 162
163 // Disables desktop notifications (default enabled on windows). 163 // Disables desktop notifications (default enabled on windows).
164 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; 164 const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
165 165
166 // Browser flag to disable the web inspector for all renderers. 166 // Browser flag to disable the web inspector for all renderers.
167 const char kDisableDevTools[] = "disable-dev-tools"; 167 const char kDisableDevTools[] = "disable-dev-tools";
168 168
169 // Disables device orientation events.
170 const char kDisableDeviceOrientation[] = "disable-device-orientation";
171
169 // Disable extensions. 172 // Disable extensions.
170 const char kDisableExtensions[] = "disable-extensions"; 173 const char kDisableExtensions[] = "disable-extensions";
171 174
172 // Disable checking for user opt-in for extensions that want to inject script 175 // Disable checking for user opt-in for extensions that want to inject script
173 // into file URLs (ie, always allow it). This is used during automated testing. 176 // into file URLs (ie, always allow it). This is used during automated testing.
174 const char kDisableExtensionsFileAccessCheck[] = 177 const char kDisableExtensionsFileAccessCheck[] =
175 "disable-extensions-file-access-check"; 178 "disable-extensions-file-access-check";
176 179
177 // Suppresses support for the Geolocation javascript API. 180 // Suppresses support for the Geolocation javascript API.
178 const char kDisableGeolocation[] = "disable-geolocation"; 181 const char kDisableGeolocation[] = "disable-geolocation";
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // writing only <link rel=prefetch...> but also eventually 369 // writing only <link rel=prefetch...> but also eventually
367 // Link: headers. 370 // Link: headers.
368 const char kEnableContentPrefetch[] = "enable-content-prefetch"; 371 const char kEnableContentPrefetch[] = "enable-content-prefetch";
369 372
370 // Enables the cookie prompt. 373 // Enables the cookie prompt.
371 const char kEnableCookiePrompt[] = "enable-cookie-prompt"; 374 const char kEnableCookiePrompt[] = "enable-cookie-prompt";
372 375
373 // Enables device motion events. 376 // Enables device motion events.
374 const char kEnableDeviceMotion[] = "enable-device-motion"; 377 const char kEnableDeviceMotion[] = "enable-device-motion";
375 378
376 // Enables device orientation events.
377 const char kEnableDeviceOrientation[] = "enable-device-orientation";
378
379 const char kEnableDNSSECCerts[] = "enable-dnssec-certs"; 379 const char kEnableDNSSECCerts[] = "enable-dnssec-certs";
380 380
381 // Enables extension APIs that are in development. 381 // Enables extension APIs that are in development.
382 const char kEnableExperimentalExtensionApis[] = 382 const char kEnableExperimentalExtensionApis[] =
383 "enable-experimental-extension-apis"; 383 "enable-experimental-extension-apis";
384 384
385 // Enable experimental WebGL support. 385 // Enable experimental WebGL support.
386 const char kEnableExperimentalWebGL[] = "enable-webgl"; 386 const char kEnableExperimentalWebGL[] = "enable-webgl";
387 387
388 // Enable experimental timeline API. 388 // Enable experimental timeline API.
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 1234
1235 // ----------------------------------------------------------------------------- 1235 // -----------------------------------------------------------------------------
1236 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1236 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1237 // 1237 //
1238 // You were going to just dump your switches here, weren't you? Instead, 1238 // You were going to just dump your switches here, weren't you? Instead,
1239 // please put them in alphabetical order above, or in order inside the 1239 // please put them in alphabetical order above, or in order inside the
1240 // appropriate ifdef at the bottom. The order should match the header. 1240 // appropriate ifdef at the bottom. The order should match the header.
1241 // ----------------------------------------------------------------------------- 1241 // -----------------------------------------------------------------------------
1242 1242
1243 } // namespace switches 1243 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698