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

Side by Side Diff: sky/engine/core/rendering/compositing/RenderLayerCompositor.h

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 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void frameViewDidChangeLocation(const IntPoint& contentsOffset); 136 void frameViewDidChangeLocation(const IntPoint& contentsOffset);
137 void frameViewDidChangeSize(); 137 void frameViewDidChangeSize();
138 void rootFixedBackgroundsChanged(); 138 void rootFixedBackgroundsChanged();
139 139
140 bool scrollingLayerDidChange(RenderLayer*); 140 bool scrollingLayerDidChange(RenderLayer*);
141 141
142 String layerTreeAsText(LayerTreeFlags); 142 String layerTreeAsText(LayerTreeFlags);
143 143
144 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); } 144 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo ntalScrollbar.get(); }
145 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); } 145 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical Scrollbar.get(); }
146 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner. get(); }
147 146
148 void resetTrackedPaintInvalidationRects(); 147 void resetTrackedPaintInvalidationRects();
149 void setTracksPaintInvalidations(bool); 148 void setTracksPaintInvalidations(bool);
150 149
151 virtual String debugName(const GraphicsLayer*) override; 150 virtual String debugName(const GraphicsLayer*) override;
152 DocumentLifecycle& lifecycle() const; 151 DocumentLifecycle& lifecycle() const;
153 152
154 void updatePotentialCompositingReasonsFromStyle(RenderLayer*); 153 void updatePotentialCompositingReasonsFromStyle(RenderLayer*);
155 154
156 // Whether the layer could ever be composited. 155 // Whether the layer could ever be composited.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 187
189 Page* page() const; 188 Page* page() const;
190 189
191 GraphicsLayerFactory* graphicsLayerFactory() const; 190 GraphicsLayerFactory* graphicsLayerFactory() const;
192 ScrollingCoordinator* scrollingCoordinator() const; 191 ScrollingCoordinator* scrollingCoordinator() const;
193 192
194 void enableCompositingModeIfNeeded(); 193 void enableCompositingModeIfNeeded();
195 194
196 bool requiresHorizontalScrollbarLayer() const; 195 bool requiresHorizontalScrollbarLayer() const;
197 bool requiresVerticalScrollbarLayer() const; 196 bool requiresVerticalScrollbarLayer() const;
198 bool requiresScrollCornerLayer() const;
199 197
200 RenderView& m_renderView; 198 RenderView& m_renderView;
201 OwnPtr<GraphicsLayer> m_rootContentLayer; 199 OwnPtr<GraphicsLayer> m_rootContentLayer;
202 OwnPtr<GraphicsLayer> m_rootTransformLayer; 200 OwnPtr<GraphicsLayer> m_rootTransformLayer;
203 201
204 CompositingReasonFinder m_compositingReasonFinder; 202 CompositingReasonFinder m_compositingReasonFinder;
205 203
206 CompositingUpdateType m_pendingUpdateType; 204 CompositingUpdateType m_pendingUpdateType;
207 205
208 bool m_compositing; 206 bool m_compositing;
(...skipping 14 matching lines...) Expand all
223 // Enclosing container layer, which clips for iframe content 221 // Enclosing container layer, which clips for iframe content
224 OwnPtr<GraphicsLayer> m_containerLayer; 222 OwnPtr<GraphicsLayer> m_containerLayer;
225 OwnPtr<GraphicsLayer> m_scrollLayer; 223 OwnPtr<GraphicsLayer> m_scrollLayer;
226 224
227 // Enclosing layer for overflow controls and the clipping layer 225 // Enclosing layer for overflow controls and the clipping layer
228 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer; 226 OwnPtr<GraphicsLayer> m_overflowControlsHostLayer;
229 227
230 // Layers for overflow controls 228 // Layers for overflow controls
231 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; 229 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
232 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 230 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
233 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
234 }; 231 };
235 232
236 } // namespace blink 233 } // namespace blink
237 234
238 #endif // RenderLayerCompositor_h 235 #endif // RenderLayerCompositor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698