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

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: 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
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Enable multithreaded GPU compositing of web content. 347 // Enable multithreaded GPU compositing of web content.
348 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 348 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
349 349
350 // Disable multithreaded GPU compositing of web content. 350 // Disable multithreaded GPU compositing of web content.
351 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 351 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
352 352
353 // Enable use of experimental TCP sockets API for sending data in the 353 // Enable use of experimental TCP sockets API for sending data in the
354 // SYN packet. 354 // SYN packet.
355 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 355 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
356 356
357 // Enables hardware acceleration of video decode, where available. 357 // Disables hardware acceleration of video decode, where available.
358 const char kEnableAcceleratedVideoDecode[] = "enable-accelerated-video-decode"; 358 const char kDisableAcceleratedVideoDecode[] =
359 "disable-accelerated-video-decode";
359 360
360 // Enables support for video tracks. Current implementation is 361 // Enables support for video tracks. Current implementation is
361 // incomplete and this flag is used for development and testing. 362 // incomplete and this flag is used for development and testing.
362 const char kEnableVideoTrack[] = "enable-video-track"; 363 const char kEnableVideoTrack[] = "enable-video-track";
363 364
364 // Enables the use of the viewport meta tag, which allows 365 // Enables the use of the viewport meta tag, which allows
365 // pages to control aspects of their own layout. This also turns on touch-screen 366 // pages to control aspects of their own layout. This also turns on touch-screen
366 // pinch gestures. 367 // pinch gestures.
367 const char kEnableViewport[] = "enable-viewport"; 368 const char kEnableViewport[] = "enable-viewport";
368 369
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 const char kDefaultTileWidth[] = "default-tile-width"; 667 const char kDefaultTileWidth[] = "default-tile-width";
667 const char kDefaultTileHeight[] = "default-tile-height"; 668 const char kDefaultTileHeight[] = "default-tile-height";
668 669
669 // Sets the width and height above which a composited layer will get tiled. 670 // Sets the width and height above which a composited layer will get tiled.
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 671 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 672 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
672 673
673 const char kFixedPositionCreatesStackingContext[] 674 const char kFixedPositionCreatesStackingContext[]
674 = "fixed-position-creates-stacking-context"; 675 = "fixed-position-creates-stacking-context";
675 } // namespace switches 676 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698