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

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

Issue 12886022: Implement offline mode behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 years, 8 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 334 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
335 335
336 // On Windows, converts the page to the currently-installed monitor profile. 336 // On Windows, converts the page to the currently-installed monitor profile.
337 // This does NOT enable color management for images. The source is still 337 // This does NOT enable color management for images. The source is still
338 // assumed to be sRGB. 338 // assumed to be sRGB.
339 const char kEnableMonitorProfile[] = "enable-monitor-profile"; 339 const char kEnableMonitorProfile[] = "enable-monitor-profile";
340 340
341 // Enables compositor-accelerated touch-screen pinch gestures. 341 // Enables compositor-accelerated touch-screen pinch gestures.
342 const char kEnablePinch[] = "enable-pinch"; 342 const char kEnablePinch[] = "enable-pinch";
343 343
344 // Enables use of cache if offline, even if it's stale
345 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access";
346
344 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. 347 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
345 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; 348 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";
346 349
347 // Enable privileged WebGL extensions; without this switch such extensions are 350 // Enable privileged WebGL extensions; without this switch such extensions are
348 // available only to Chrome extensions. 351 // available only to Chrome extensions.
349 const char kEnablePrivilegedWebGLExtensions[] = 352 const char kEnablePrivilegedWebGLExtensions[] =
350 "enable-privileged-webgl-extensions"; 353 "enable-privileged-webgl-extensions";
351 354
352 // Aggressively free GPU command buffers belonging to hidden tabs. 355 // Aggressively free GPU command buffers belonging to hidden tabs.
353 const char kEnablePruneGpuCommandBuffers[] = 356 const char kEnablePruneGpuCommandBuffers[] =
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 771 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
769 772
770 // Use a vsync signal from the browser to the renderer to schedule rendering. 773 // Use a vsync signal from the browser to the renderer to schedule rendering.
771 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 774 const char kEnableVsyncNotification[] = "enable-vsync-notification";
772 775
773 // Enables history navigation in response to horizontal overscroll. 776 // Enables history navigation in response to horizontal overscroll.
774 const char kEnableOverscrollHistoryNavigation[] = 777 const char kEnableOverscrollHistoryNavigation[] =
775 "enable-overscroll-history-navigation"; 778 "enable-overscroll-history-navigation";
776 779
777 } // namespace switches 780 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698