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

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

Issue 15851006: Move synchronous compositor into content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 const char kExtraPluginDir[] = "extra-plugin-dir"; 457 const char kExtraPluginDir[] = "extra-plugin-dir";
458 458
459 // If accelerated compositing is supported, always enter compositing mode for 459 // If accelerated compositing is supported, always enter compositing mode for
460 // the base layer even when compositing is not strictly required. 460 // the base layer even when compositing is not strictly required.
461 const char kForceCompositingMode[] = "force-compositing-mode"; 461 const char kForceCompositingMode[] = "force-compositing-mode";
462 462
463 // This flag disables force compositing mode and prevents it from being enabled 463 // This flag disables force compositing mode and prevents it from being enabled
464 // via field trials. 464 // via field trials.
465 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode"; 465 const char kDisableForceCompositingMode[] = "disable-force-compositing-mode";
466 466
467 // Enable the synchronous renderer compositor API. See
468 // ContentRendererClient::DidCreateSynchronousCompositor()
469 const char kEnableSynchronousRendererCompositor[] =
470 "enable-synchronous-renderer-compositor";
471
472 // Some field trials may be randomized in the browser, and the randomly selected 467 // Some field trials may be randomized in the browser, and the randomly selected
473 // outcome needs to be propagated to the renderer. For instance, this is used 468 // outcome needs to be propagated to the renderer. For instance, this is used
474 // to modify histograms recorded in the renderer, or to get the renderer to 469 // to modify histograms recorded in the renderer, or to get the renderer to
475 // also set of its state (initialize, or not initialize components) to match the 470 // also set of its state (initialize, or not initialize components) to match the
476 // experiment(s). The option is also useful for forcing field trials when 471 // experiment(s). The option is also useful for forcing field trials when
477 // testing changes locally. The argument is a list of name and value pairs, 472 // testing changes locally. The argument is a list of name and value pairs,
478 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in 473 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in
479 // field_trial.h for details. 474 // field_trial.h for details.
480 const char kForceFieldTrials[] = "force-fieldtrials"; 475 const char kForceFieldTrials[] = "force-fieldtrials";
481 476
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 const char kOverscrollHistoryNavigation[] = 834 const char kOverscrollHistoryNavigation[] =
840 "overscroll-history-navigation"; 835 "overscroll-history-navigation";
841 836
842 // Forward overscroll event data from the renderer to the browser. 837 // Forward overscroll event data from the renderer to the browser.
843 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; 838 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications";
844 839
845 // Enables 'image/webp' accept header for image requests. 840 // Enables 'image/webp' accept header for image requests.
846 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 841 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
847 842
848 } // namespace switches 843 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/renderer/android/synchronous_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698