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

Side by Side Diff: sky/engine/platform/graphics/CompositingReasons.cpp

Issue 689283003: Remove scroll corners and resizers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "platform/graphics/CompositingReasons.h" 6 #include "platform/graphics/CompositingReasons.h"
7 7
8 #include "wtf/StdLibExtras.h" 8 #include "wtf/StdLibExtras.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "Secondary layer, to house the perspective transform for all descendants " }, 120 "Secondary layer, to house the perspective transform for all descendants " },
121 { CompositingReasonLayerForHorizontalScrollbar, 121 { CompositingReasonLayerForHorizontalScrollbar,
122 "layerForHorizontalScrollbar", 122 "layerForHorizontalScrollbar",
123 "Secondary layer, the horizontal scrollbar layer" }, 123 "Secondary layer, the horizontal scrollbar layer" },
124 { CompositingReasonLayerForVerticalScrollbar, 124 { CompositingReasonLayerForVerticalScrollbar,
125 "layerForVerticalScrollbar", 125 "layerForVerticalScrollbar",
126 "Secondary layer, the vertical scrollbar layer" }, 126 "Secondary layer, the vertical scrollbar layer" },
127 { CompositingReasonLayerForOverflowControlsHost, 127 { CompositingReasonLayerForOverflowControlsHost,
128 "layerForOverflowControlsHost", 128 "layerForOverflowControlsHost",
129 "Secondary layer, the overflow controls host layer" }, 129 "Secondary layer, the overflow controls host layer" },
130 { CompositingReasonLayerForScrollCorner,
131 "layerForScrollCorner",
132 "Secondary layer, the scroll corner layer" },
133 { CompositingReasonLayerForScrollingContents, 130 { CompositingReasonLayerForScrollingContents,
134 "layerForScrollingContents", 131 "layerForScrollingContents",
135 "Secondary layer, to house contents that can be scrolled" }, 132 "Secondary layer, to house contents that can be scrolled" },
136 { CompositingReasonLayerForScrollingContainer, 133 { CompositingReasonLayerForScrollingContainer,
137 "layerForScrollingContainer", 134 "layerForScrollingContainer",
138 "Secondary layer, used to position the scolling contents while scrolling " }, 135 "Secondary layer, used to position the scolling contents while scrolling " },
139 { CompositingReasonLayerForSquashingContents, 136 { CompositingReasonLayerForSquashingContents,
140 "layerForSquashingContents", 137 "layerForSquashingContents",
141 "Secondary layer, home for a group of squashable content" }, 138 "Secondary layer, home for a group of squashable content" },
142 { CompositingReasonLayerForSquashingContainer, 139 { CompositingReasonLayerForSquashingContainer,
(...skipping 15 matching lines...) Expand all
158 "layerForScrollingBlockSelection", 155 "layerForScrollingBlockSelection",
159 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" }, 156 "Secondary layer, to house block selection gaps for composited scrolling with no scrolling contents" },
160 { CompositingReasonInlineTransform, 157 { CompositingReasonInlineTransform,
161 "inlineTransform", 158 "inlineTransform",
162 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 159 "Has an inline transform, which causes subsequent layers to assume overl ap" },
163 }; 160 };
164 161
165 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 162 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
166 163
167 } // namespace blink 164 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.h ('k') | sky/engine/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698