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

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

Issue 14273007: Add a switch to Chromium to enable/disable 'image/webp' accept header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 // Defer image decoding in WebKit until painting. 762 // Defer image decoding in WebKit until painting.
763 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 763 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
764 764
765 // Use a vsync signal from the browser to the renderer to schedule rendering. 765 // Use a vsync signal from the browser to the renderer to schedule rendering.
766 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 766 const char kEnableVsyncNotification[] = "enable-vsync-notification";
767 767
768 // Enables history navigation in response to horizontal overscroll. 768 // Enables history navigation in response to horizontal overscroll.
769 const char kEnableOverscrollHistoryNavigation[] = 769 const char kEnableOverscrollHistoryNavigation[] =
770 "enable-overscroll-history-navigation"; 770 "enable-overscroll-history-navigation";
771 771
772 // Enables 'image/webp' accept header for image requests.
773 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
774
772 } // namespace switches 775 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698