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

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

Issue 7831028: Compute pageScaleFactor on page so that fixed layout page fits width of window. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Small fix (workaround) to work on Aura Created 8 years, 11 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
« build/common.gypi ('K') | « content/public/common/content_switches.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "enable-fixed-position-compositing"; 193 "enable-fixed-position-compositing";
194 194
195 // Enable DNS side checking of certificates. Still experimental, should only 195 // Enable DNS side checking of certificates. Still experimental, should only
196 // be used by developers at the current time. 196 // be used by developers at the current time.
197 const char kEnableDNSCertProvenanceChecking[] = 197 const char kEnableDNSCertProvenanceChecking[] =
198 "enable-dns-cert-provenance-checking"; 198 "enable-dns-cert-provenance-checking";
199 199
200 // Enables device motion events. 200 // Enables device motion events.
201 const char kEnableDeviceMotion[] = "enable-device-motion"; 201 const char kEnableDeviceMotion[] = "enable-device-motion";
202 202
203 // By default, a page is laid out to fill the entire width of the window.
204 // This flag fixes the layout of the page to a default of 980px.
205 const char kEnableFixedLayout[] = "enable-fixed-layout";
206
203 // Enable the JavaScript Full Screen API. 207 // Enable the JavaScript Full Screen API.
204 const char kDisableFullScreen[] = "disable-fullscreen"; 208 const char kDisableFullScreen[] = "disable-fullscreen";
205 209
206 // Enable the JavaScript Pointer Lock API. 210 // Enable the JavaScript Pointer Lock API.
207 const char kEnablePointerLock[] = "enable-pointer-lock"; 211 const char kEnablePointerLock[] = "enable-pointer-lock";
208 212
209 // Enable the Gamepad API 213 // Enable the Gamepad API
210 const char kEnableGamepad[] = "enable-gamepad"; 214 const char kEnableGamepad[] = "enable-gamepad";
211 215
212 // Enable the GPU plugin and Pepper 3D rendering. 216 // Enable the GPU plugin and Pepper 3D rendering.
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 563
560 #if !defined(OFFICIAL_BUILD) 564 #if !defined(OFFICIAL_BUILD)
561 // Causes the renderer process to throw an assertion on launch. 565 // Causes the renderer process to throw an assertion on launch.
562 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 566 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
563 #endif 567 #endif
564 568
565 // Enable per-tile page painting. 569 // Enable per-tile page painting.
566 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 570 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
567 571
568 } // namespace switches 572 } // namespace switches
OLDNEW
« build/common.gypi ('K') | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698