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

Side by Side Diff: cc/switches.cc

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing CC_EXPORT...learn to run try jobs manually Created 7 years, 11 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 | « cc/switches.h ('k') | cc/top_controls_manager.h » ('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 "cc/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
11 // of checkerboards. 11 // of checkerboards.
12 const char kBackgroundColorInsteadOfCheckerboard[] = 12 const char kBackgroundColorInsteadOfCheckerboard[] =
13 "background-color-instead-of-checkerboard"; 13 "background-color-instead-of-checkerboard";
14 14
15 const char kDisableThreadedAnimation[] = "disable-threaded-animation"; 15 const char kDisableThreadedAnimation[] = "disable-threaded-animation";
16 16
17 // Send a message for every frame from the impl thread to the parent compositor. 17 // Send a message for every frame from the impl thread to the parent compositor.
18 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message"; 18 const char kEnableCompositorFrameMessage[] = "enable-compositor-frame-message";
19 19
20 // Paint content on the compositor thread instead of the main thread. 20 // Paint content on the compositor thread instead of the main thread.
21 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; 21 const char kEnableImplSidePainting[] = "enable-impl-side-painting";
22 22
23 const char kEnablePartialSwap[] = "enable-partial-swap"; 23 const char kEnablePartialSwap[] = "enable-partial-swap";
24 24
25 const char kEnablePerTilePainting[] = "enable-per-tile-painting"; 25 const char kEnablePerTilePainting[] = "enable-per-tile-painting";
26 26
27 const char kEnableTopControlsPositionCalculation[] =
28 "enable-top-controls-position-calculation";
29
30 // The height of the movable top controls in screen pixels.
31 const char kTopControlsHeight[] = "top-controls-height";
32
27 // Number of worker threads used to rasterize content. 33 // Number of worker threads used to rasterize content.
28 const char kNumRasterThreads[] = "num-raster-threads"; 34 const char kNumRasterThreads[] = "num-raster-threads";
29 35
30 // Show rects in the HUD around layers whose properties have changed. 36 // Show rects in the HUD around layers whose properties have changed.
31 const char kShowPropertyChangedRects[] = "show-property-changed-rects"; 37 const char kShowPropertyChangedRects[] = "show-property-changed-rects";
32 38
33 // Show rects in the HUD around damage as it is recorded into each render 39 // Show rects in the HUD around damage as it is recorded into each render
34 // surface. 40 // surface.
35 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects"; 41 const char kShowSurfaceDamageRects[] = "show-surface-damage-rects";
36 42
(...skipping 12 matching lines...) Expand all
49 // Show rects in the HUD wherever something is not known to be drawn opaque and 55 // Show rects in the HUD wherever something is not known to be drawn opaque and
50 // is not considered to be occluding the pixels behind it. 56 // is not considered to be occluding the pixels behind it.
51 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; 57 const char kShowNonOccludingRects[] = "show-nonoccluding-rects";
52 58
53 // Show metrics about overdraw in about:tracing recordings, such as the number 59 // Show metrics about overdraw in about:tracing recordings, such as the number
54 // of pixels culled, and the number of pixels drawn, for each frame. 60 // of pixels culled, and the number of pixels drawn, for each frame.
55 const char kTraceOverdraw[] = "trace-overdraw"; 61 const char kTraceOverdraw[] = "trace-overdraw";
56 62
57 } // namespace switches 63 } // namespace switches
58 } // namespace cc 64 } // namespace cc
OLDNEW
« no previous file with comments | « cc/switches.h ('k') | cc/top_controls_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698