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

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: rebase 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
« no previous file with comments | « content/common/content_switches.h ('k') | content/renderer/render_view.h » ('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) 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.
121 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
122
120 // Prevent plugins from running. 123 // Prevent plugins from running.
121 const char kDisablePlugins[] = "disable-plugins"; 124 const char kDisablePlugins[] = "disable-plugins";
122 125
123 // Disable pop-up blocking. 126 // Disable pop-up blocking.
124 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 127 const char kDisablePopupBlocking[] = "disable-popup-blocking";
125 128
126 // Turns off the accessibility in the renderer. 129 // Turns off the accessibility in the renderer.
127 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility"; 130 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
128 131
129 // Disable the seccomp sandbox (Linux only) 132 // 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. 476 // Specify the amount the trackpad should scroll by.
474 const char kScrollPixels[] = "scroll-pixels"; 477 const char kScrollPixels[] = "scroll-pixels";
475 #endif 478 #endif
476 479
477 #if !defined(OFFICIAL_BUILD) 480 #if !defined(OFFICIAL_BUILD)
478 // Causes the renderer process to throw an assertion on launch. 481 // Causes the renderer process to throw an assertion on launch.
479 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 482 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
480 #endif 483 #endif
481 484
482 } // namespace switches 485 } // namespace switches
OLDNEW
« no previous file with comments | « content/common/content_switches.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698