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/public/common/content_switches.cc

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Enne's comments. Created 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h"
8
wjmaclean 2013/08/14 18:19:44 Ooops, forgot to remove this, it will be gone in t
wjmaclean 2013/08/15 20:09:40 Done.
7 namespace switches { 9 namespace switches {
8 10
9 // By default, file:// URIs cannot read other file:// URIs. This is an 11 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 12 // override for developers who need the old behavior for testing.
11 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; 13 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
12 14
13 // Enables the sandboxed processes to run without a job object assigned to them. 15 // Enables the sandboxed processes to run without a job object assigned to them.
14 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This 16 // This flag is required to allow Chrome to run in RemoteApps or Citrix. This
15 // flag can reduce the security of the sandboxed processes and allow them to do 17 // flag can reduce the security of the sandboxed processes and allow them to do
16 // certain API calls like shut down Windows or access the clipboard. Also we 18 // certain API calls like shut down Windows or access the clipboard. Also we
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 // assumed to be sRGB. 419 // assumed to be sRGB.
418 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 420 const char kEnableMonitorProfile[] = "enable-monitor-profile";
419 421
420 // Enables the new chrome://media-internals page. 422 // Enables the new chrome://media-internals page.
421 // http://crbug.com/260005 423 // http://crbug.com/260005
422 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; 424 const char kEnableNewMediaInternals[] = "enable-new-media-internals";
423 425
424 // Enables use of cache if offline, even if it's stale 426 // Enables use of cache if offline, even if it's stale
425 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; 427 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access";
426 428
427 // Enables overlay scrollbars on Aura or Linux. Does nothing on Mac.
428 const char kEnableOverlayScrollbars[] = "enable-overlay-scrollbars";
429
430 // Forward overscroll event data from the renderer to the browser. 429 // Forward overscroll event data from the renderer to the browser.
431 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 430 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
432 431
433 // Enables compositor-accelerated touch-screen pinch gestures. 432 // Enables compositor-accelerated touch-screen pinch gestures.
434 const char kEnablePinch[] = "enable-pinch"; 433 const char kEnablePinch[] = "enable-pinch";
435 434
436 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 435 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
437 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 436 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
438 437
439 // Enable privileged WebGL extensions; without this switch such extensions are 438 // Enable privileged WebGL extensions; without this switch such extensions are
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 // Forces usage of the test compositor. Needed to run ui tests on bots. 931 // Forces usage of the test compositor. Needed to run ui tests on bots.
933 extern const char kTestCompositor[] = "test-compositor"; 932 extern const char kTestCompositor[] = "test-compositor";
934 #endif 933 #endif
935 934
936 // Don't dump stuff here, follow the same order as the header. 935 // Don't dump stuff here, follow the same order as the header.
937 936
938 // Allows filters (SkImageFilter objects) to be sent between processes over IPC 937 // Allows filters (SkImageFilter objects) to be sent between processes over IPC
939 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; 938 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc";
940 939
941 } // namespace switches 940 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698