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

Side by Side Diff: content/common/content_switches.cc

Issue 7693019: Enable smooth scrolling on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | 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 #include "content/common/content_switches.h" 5 #include "content/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Disable JavaScript I18N API. 110 // Disable JavaScript I18N API.
111 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api"; 111 const char kDisableJavaScriptI18NAPI[] = "disable-javascript-i18n-api";
112 112
113 // Disable LocalStorage. 113 // Disable LocalStorage.
114 const char kDisableLocalStorage[] = "disable-local-storage"; 114 const char kDisableLocalStorage[] = "disable-local-storage";
115 115
116 // Force logging to be disabled. Logging is enabled by default in debug 116 // Force logging to be disabled. Logging is enabled by default in debug
117 // builds. 117 // builds.
118 const char kDisableLogging[] = "disable-logging"; 118 const char kDisableLogging[] = "disable-logging";
119 119
120 // Disable smooth scrolling for testing. Currently only needed on mac.
121 const char kDisableMacSmoothScrollingForTesting[] =
122 "disable-mac-smooth-scrolling-for-testing";
123
120 // Prevent plugins from running. 124 // Prevent plugins from running.
121 const char kDisablePlugins[] = "disable-plugins"; 125 const char kDisablePlugins[] = "disable-plugins";
122 126
123 // Disable pop-up blocking. 127 // Disable pop-up blocking.
124 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 128 const char kDisablePopupBlocking[] = "disable-popup-blocking";
125 129
126 // Turns off the accessibility in the renderer. 130 // Turns off the accessibility in the renderer.
127 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 131 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
128 132
129 // Disable the seccomp sandbox (Linux only) 133 // Disable the seccomp sandbox (Linux only)
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 // Specify the amount the trackpad should scroll by. 477 // Specify the amount the trackpad should scroll by.
474 const char kScrollPixels[] = "scroll-pixels"; 478 const char kScrollPixels[] = "scroll-pixels";
475 #endif 479 #endif
476 480
477 #if !defined(OFFICIAL_BUILD) 481 #if !defined(OFFICIAL_BUILD)
478 // Causes the renderer process to throw an assertion on launch. 482 // Causes the renderer process to throw an assertion on launch.
479 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 483 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
480 #endif 484 #endif
481 485
482 } // namespace switches 486 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698