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

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

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting/compile fix 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // be a performance bottleneck. One should only enable it when automating dom 229 // be a performance bottleneck. One should only enable it when automating dom
230 // based tests. Also enables sending/receiving renderer automation messages 230 // based tests. Also enables sending/receiving renderer automation messages
231 // through the |AutomationRenderViewHelper|. 231 // through the |AutomationRenderViewHelper|.
232 // 232 //
233 // TODO(kkania): Rename this to enable-renderer-automation after moving the 233 // TODO(kkania): Rename this to enable-renderer-automation after moving the
234 // |DOMAutomationController| to the |AutomationRenderViewHelper|. 234 // |DOMAutomationController| to the |AutomationRenderViewHelper|.
235 const char kDomAutomationController[] = "dom-automation"; 235 const char kDomAutomationController[] = "dom-automation";
236 236
237 // Loosen security. Needed for tests using some of the functionality of 237 // Loosen security. Needed for tests using some of the functionality of
238 // |DOMAutomationController|. 238 // |DOMAutomationController|.
239 const char kReduceSecurityForDomAutomationTests[] = 239 const char kReduceSecurityForStatsCollectionTests[] =
240 "reduce-security-for-dom-automation-tests"; 240 "reduce-security-for-stats-collection-tests";
241
242 // Specifies if the |StatsCollectionExtension| needs to be bound in the
243 // renderer. This binding happens on per-frame basis and hence can potentially
244 // be a performance bottleneck. One should only enable it when running a test
245 // that needs to access the provided statistics.
246 const char kStatsCollectionExtension[] =
247 "enable-stats-collection-bindings";
241 248
242 // Enable hardware accelerated page painting. 249 // Enable hardware accelerated page painting.
243 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; 250 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting";
244 251
245 // Enable gpu-accelerated SVG/W3C filters. 252 // Enable gpu-accelerated SVG/W3C filters.
246 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; 253 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";
247 254
248 // Turns on extremely verbose logging of accessibility events. 255 // Turns on extremely verbose logging of accessibility events.
249 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; 256 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging";
250 257
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 772 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
766 773
767 // Use a vsync signal from the browser to the renderer to schedule rendering. 774 // Use a vsync signal from the browser to the renderer to schedule rendering.
768 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 775 const char kEnableVsyncNotification[] = "enable-vsync-notification";
769 776
770 // Disables history navigation in response to horizontal overscroll. 777 // Disables history navigation in response to horizontal overscroll.
771 const char kDisableOverscrollHistoryNavigation[] = 778 const char kDisableOverscrollHistoryNavigation[] =
772 "disable-overscroll-history-navigation"; 779 "disable-overscroll-history-navigation";
773 780
774 } // namespace switches 781 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698