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

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

Issue 13533019: Disables HTML notifications when rich notifications are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indentation in test fixed. 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
« no previous file with comments | « 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) 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox"; 126 const char kReduceGpuSandbox[] = "reduce-gpu-sandbox";
127 127
128 // Enable the GPU process sandbox (Linux/Chrome OS only for now). 128 // Enable the GPU process sandbox (Linux/Chrome OS only for now).
129 const char kEnableGpuSandbox[] = "enable-gpu-sandbox"; 129 const char kEnableGpuSandbox[] = "enable-gpu-sandbox";
130 130
131 // Suppresses hang monitor dialogs in renderer processes. This may allow slow 131 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
132 // unload handlers on a page to prevent the tab from closing, but the Task 132 // unload handlers on a page to prevent the tab from closing, but the Task
133 // Manager can be used to terminate the offending process in this case. 133 // Manager can be used to terminate the offending process in this case.
134 const char kDisableHangMonitor[] = "disable-hang-monitor"; 134 const char kDisableHangMonitor[] = "disable-hang-monitor";
135 135
136 // Disables HTML-based desktop notifications.
137 const char kDisableHTMLNotifications[] = "disable-html-notifications";
138
136 // Disable the RenderThread's HistogramCustomizer. 139 // Disable the RenderThread's HistogramCustomizer.
137 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer"; 140 const char kDisableHistogramCustomizer[] = "disable-histogram-customizer";
138 141
139 // Disable the use of an ImageTransportSurface. This means the GPU process 142 // Disable the use of an ImageTransportSurface. This means the GPU process
140 // will present the rendered page rather than the browser process. 143 // will present the rendered page rather than the browser process.
141 const char kDisableImageTransportSurface[] = "disable-image-transport-surface"; 144 const char kDisableImageTransportSurface[] = "disable-image-transport-surface";
142 145
143 // Use hardware gpu, if available, for tests. 146 // Use hardware gpu, if available, for tests.
144 const char kUseGpuInTests[] = "use-gpu-in-tests"; 147 const char kUseGpuInTests[] = "use-gpu-in-tests";
145 148
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
766 769
767 // Use a vsync signal from the browser to the renderer to schedule rendering. 770 // Use a vsync signal from the browser to the renderer to schedule rendering.
768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 771 const char kEnableVsyncNotification[] = "enable-vsync-notification";
769 772
770 // Enables history navigation in response to horizontal overscroll. 773 // Enables history navigation in response to horizontal overscroll.
771 const char kEnableOverscrollHistoryNavigation[] = 774 const char kEnableOverscrollHistoryNavigation[] =
772 "enable-overscroll-history-navigation"; 775 "enable-overscroll-history-navigation";
773 776
774 } // namespace switches 777 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698