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

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

Issue 10532058: added gpu_benchmarking_extension boilerplate and hooked it up to a new switch. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 // Enable the JavaScript Full Screen API. 263 // Enable the JavaScript Full Screen API.
264 const char kDisableFullScreen[] = "disable-fullscreen"; 264 const char kDisableFullScreen[] = "disable-fullscreen";
265 265
266 // Enable the JavaScript Pointer Lock API. 266 // Enable the JavaScript Pointer Lock API.
267 const char kEnablePointerLock[] = "enable-pointer-lock"; 267 const char kEnablePointerLock[] = "enable-pointer-lock";
268 268
269 // Enable the Gamepad API 269 // Enable the Gamepad API
270 const char kEnableGamepad[] = "enable-gamepad"; 270 const char kEnableGamepad[] = "enable-gamepad";
271 271
272 // Enables the GPU benchmarking extension
273 const char kEnableGpuBenchmarking[] = "enable-gpu-benchmarking";
274
272 // Force logging to be enabled. Logging is disabled by default in release 275 // Force logging to be enabled. Logging is disabled by default in release
273 // builds. 276 // builds.
274 const char kEnableLogging[] = "enable-logging"; 277 const char kEnableLogging[] = "enable-logging";
275 278
276 // Enables Media Source API on <audio>/<video> elements. 279 // Enables Media Source API on <audio>/<video> elements.
277 const char kEnableMediaSource[] = "enable-media-source"; 280 const char kEnableMediaSource[] = "enable-media-source";
278 281
279 // Enable media stream in WebKit. 282 // Enable media stream in WebKit.
280 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr eam 283 // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#mediastr eam
281 const char kEnablePeerConnection[] = "enable-peer-connection"; 284 const char kEnablePeerConnection[] = "enable-peer-connection";
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 const char kDefaultTileWidth[] = "default-tile-width"; 661 const char kDefaultTileWidth[] = "default-tile-width";
659 const char kDefaultTileHeight[] = "default-tile-height"; 662 const char kDefaultTileHeight[] = "default-tile-height";
660 663
661 // Sets the width and height above which a composited layer will get tiled. 664 // Sets the width and height above which a composited layer will get tiled.
662 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 665 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
663 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 666 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
664 667
665 const char kFixedPositionCreatesStackingContext[] 668 const char kFixedPositionCreatesStackingContext[]
666 = "fixed-position-creates-stacking-context"; 669 = "fixed-position-creates-stacking-context";
667 } // namespace switches 670 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698