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

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

Issue 2099903002: Make tile size a function of the device scale factor. Base URL: https://chromium.googlesource.com/chromium/src.git@layouttests-display
Patch Set: tilesize: . Created 4 years, 5 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
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const char kBrowserCrashTest[] = "crash-test"; 64 const char kBrowserCrashTest[] = "crash-test";
65 65
66 // Path to the exe to run for the renderer and plugin subprocesses. 66 // Path to the exe to run for the renderer and plugin subprocesses.
67 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 67 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
68 68
69 // Causes the implementations of guests (inner WebContents) to use 69 // Causes the implementations of guests (inner WebContents) to use
70 // out-of-process iframes. 70 // out-of-process iframes.
71 const char kUseCrossProcessFramesForGuests[] = 71 const char kUseCrossProcessFramesForGuests[] =
72 "use-cross-process-frames-for-guests"; 72 "use-cross-process-frames-for-guests";
73 73
74 // Sets the tile size used by composited layers.
75 const char kDefaultTileWidth[] = "default-tile-width";
76 const char kDefaultTileHeight[] = "default-tile-height";
77
78 // Disable antialiasing on 2d canvas. 74 // Disable antialiasing on 2d canvas.
79 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; 75 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
80 76
81 // Disables Canvas2D rendering into a scanout buffer for overlay support. 77 // Disables Canvas2D rendering into a scanout buffer for overlay support.
82 const char kDisable2dCanvasImageChromium[] = "disable-2d-canvas-image-chromium"; 78 const char kDisable2dCanvasImageChromium[] = "disable-2d-canvas-image-chromium";
83 79
84 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 80 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
85 // This is controlled by policy and is kept separate from the other 81 // This is controlled by policy and is kept separate from the other
86 // enable/disable switches to avoid accidentally regressing the policy 82 // enable/disable switches to avoid accidentally regressing the policy
87 // support for controlling access to these APIs. 83 // support for controlling access to these APIs.
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 const char kLoggingLevel[] = "log-level"; 615 const char kLoggingLevel[] = "log-level";
620 616
621 // Enables saving net log events to a file and sets the file name to use. 617 // Enables saving net log events to a file and sets the file name to use.
622 const char kLogNetLog[] = "log-net-log"; 618 const char kLogNetLog[] = "log-net-log";
623 619
624 // Resizes of the main frame are caused by changing between landscape and 620 // Resizes of the main frame are caused by changing between landscape and
625 // portrait mode (i.e. Android) so the page should be rescaled to fit. 621 // portrait mode (i.e. Android) so the page should be rescaled to fit.
626 const char kMainFrameResizesAreOrientationChanges[] = 622 const char kMainFrameResizesAreOrientationChanges[] =
627 "main-frame-resizes-are-orientation-changes"; 623 "main-frame-resizes-are-orientation-changes";
628 624
629 // Sets the width and height above which a composited layer will get tiled.
630 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
631 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
632
633 // Sample memory usage with high frequency and store the results to the 625 // Sample memory usage with high frequency and store the results to the
634 // Renderer.Memory histogram. Used in memory tests. 626 // Renderer.Memory histogram. Used in memory tests.
635 const char kMemoryMetrics[] = "memory-metrics"; 627 const char kMemoryMetrics[] = "memory-metrics";
636 628
637 // Sets options for MHTML generator to skip no-store resources: 629 // Sets options for MHTML generator to skip no-store resources:
638 // "skip-nostore-main" - fails to save a page if main frame is 'no-store' 630 // "skip-nostore-main" - fails to save a page if main frame is 'no-store'
639 // "skip-nostore-all" - also skips no-store subresources. 631 // "skip-nostore-all" - also skips no-store subresources.
640 const char kMHTMLGeneratorOption[] = "mhtml-generator-option"; 632 const char kMHTMLGeneratorOption[] = "mhtml-generator-option";
641 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main"; 633 const char kMHTMLSkipNostoreMain[] = "skip-nostore-main";
642 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all"; 634 const char kMHTMLSkipNostoreAll[] = "skip-nostore-all";
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 // the given directory. Used primarily to gather samples for IPC fuzzing. 1042 // the given directory. Used primarily to gather samples for IPC fuzzing.
1051 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1043 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1052 1044
1053 // Specifies the testcase used by the IPC fuzzer. 1045 // Specifies the testcase used by the IPC fuzzer.
1054 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1046 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1055 #endif 1047 #endif
1056 1048
1057 // Don't dump stuff here, follow the same order as the header. 1049 // Don't dump stuff here, follow the same order as the header.
1058 1050
1059 } // namespace switches 1051 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698