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

Side by Side Diff: cc/layer_impl.h

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #ifndef CC_LAYER_IMPL_H_ 5 #ifndef CC_LAYER_IMPL_H_
6 #define CC_LAYER_IMPL_H_ 6 #define CC_LAYER_IMPL_H_
7 7
8 #include <public/WebFilterOperations.h> 8 #include <public/WebFilterOperations.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void resetAllChangeTrackingForSubtree(); 255 void resetAllChangeTrackingForSubtree();
256 256
257 virtual bool layerIsAlwaysDamaged() const; 257 virtual bool layerIsAlwaysDamaged() const;
258 258
259 LayerAnimationController* layerAnimationController() { return m_layerAnimati onController.get(); } 259 LayerAnimationController* layerAnimationController() { return m_layerAnimati onController.get(); }
260 260
261 virtual Region visibleContentOpaqueRegion() const; 261 virtual Region visibleContentOpaqueRegion() const;
262 262
263 virtual void didUpdateTransforms() { } 263 virtual void didUpdateTransforms() { }
264 264
265 // Indicates that the context previously used to render this layer 265 // Indicates that the surface previously used to render this layer
266 // was lost and that a new one has been created. Won't be called 266 // was lost and that a new one has been created. Won't be called
267 // until the new context has been created successfully. 267 // until the new surface has been created successfully.
268 virtual void didLoseContext(); 268 virtual void didLoseOutputSurface();
269 269
270 ScrollbarAnimationController* scrollbarAnimationController() const { return m_scrollbarAnimationController.get(); } 270 ScrollbarAnimationController* scrollbarAnimationController() const { return m_scrollbarAnimationController.get(); }
271 271
272 void setHorizontalScrollbarLayer(ScrollbarLayerImpl*); 272 void setHorizontalScrollbarLayer(ScrollbarLayerImpl*);
273 ScrollbarLayerImpl* horizontalScrollbarLayer(); 273 ScrollbarLayerImpl* horizontalScrollbarLayer();
274 const ScrollbarLayerImpl* horizontalScrollbarLayer() const; 274 const ScrollbarLayerImpl* horizontalScrollbarLayer() const;
275 275
276 void setVerticalScrollbarLayer(ScrollbarLayerImpl*); 276 void setVerticalScrollbarLayer(ScrollbarLayerImpl*);
277 ScrollbarLayerImpl* verticalScrollbarLayer(); 277 ScrollbarLayerImpl* verticalScrollbarLayer();
278 const ScrollbarLayerImpl* verticalScrollbarLayer() const; 278 const ScrollbarLayerImpl* verticalScrollbarLayer() const;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties; 397 DrawProperties<LayerImpl, RenderSurfaceImpl> m_drawProperties;
398 398
399 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 399 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
400 }; 400 };
401 401
402 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*> ::iterator end, LayerSorter*); 402 void sortLayers(std::vector<LayerImpl*>::iterator first, std::vector<LayerImpl*> ::iterator end, LayerSorter*);
403 403
404 } 404 }
405 405
406 #endif // CC_LAYER_IMPL_H_ 406 #endif // CC_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/io_surface_layer_impl.cc ('k') | cc/layer_impl.cc » ('j') | cc/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698