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

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

Issue 10805070: Flip HW video decode from being behind an "enable" flag to being behind a "disable" flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/public/common/content_switches.h ('k') | content/renderer/render_view_impl.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) 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 // Enable multithreaded GPU compositing of web content. 352 // Enable multithreaded GPU compositing of web content.
353 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 353 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
354 354
355 // Disable multithreaded GPU compositing of web content. 355 // Disable multithreaded GPU compositing of web content.
356 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 356 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
357 357
358 // Enable use of experimental TCP sockets API for sending data in the 358 // Enable use of experimental TCP sockets API for sending data in the
359 // SYN packet. 359 // SYN packet.
360 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 360 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
361 361
362 // Enables hardware acceleration of video decode, where available. 362 // Disables hardware acceleration of video decode, where available.
363 const char kEnableAcceleratedVideoDecode[] = "enable-accelerated-video-decode"; 363 const char kDisableAcceleratedVideoDecode[] =
364 "disable-accelerated-video-decode";
364 365
365 // Enables support for video tracks. Current implementation is 366 // Enables support for video tracks. Current implementation is
366 // incomplete and this flag is used for development and testing. 367 // incomplete and this flag is used for development and testing.
367 const char kEnableVideoTrack[] = "enable-video-track"; 368 const char kEnableVideoTrack[] = "enable-video-track";
368 369
369 // Enables the use of the viewport meta tag, which allows 370 // Enables the use of the viewport meta tag, which allows
370 // pages to control aspects of their own layout. This also turns on touch-screen 371 // pages to control aspects of their own layout. This also turns on touch-screen
371 // pinch gestures. 372 // pinch gestures.
372 const char kEnableViewport[] = "enable-viewport"; 373 const char kEnableViewport[] = "enable-viewport";
373 374
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 const char kDefaultTileWidth[] = "default-tile-width"; 677 const char kDefaultTileWidth[] = "default-tile-width";
677 const char kDefaultTileHeight[] = "default-tile-height"; 678 const char kDefaultTileHeight[] = "default-tile-height";
678 679
679 // Sets the width and height above which a composited layer will get tiled. 680 // Sets the width and height above which a composited layer will get tiled.
680 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 681 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
681 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 682 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
682 683
683 const char kFixedPositionCreatesStackingContext[] 684 const char kFixedPositionCreatesStackingContext[]
684 = "fixed-position-creates-stacking-context"; 685 = "fixed-position-creates-stacking-context";
685 } // namespace switches 686 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698