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

Side by Side Diff: cc/trees/layer_tree_host_impl.h

Issue 334133002: cc: Support on demand raster with ganesh (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests Created 6 years, 6 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
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_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 gfx::Size DrawViewportSize() const; 223 gfx::Size DrawViewportSize() const;
224 224
225 // Viewport size for scrolling and fixed-position compensation. This value 225 // Viewport size for scrolling and fixed-position compensation. This value
226 // excludes the URL bar and non-overlay scrollbars and is in DIP (and 226 // excludes the URL bar and non-overlay scrollbars and is in DIP (and
227 // invariant relative to page scale). 227 // invariant relative to page scale).
228 gfx::SizeF UnscaledScrollableViewportSize() const; 228 gfx::SizeF UnscaledScrollableViewportSize() const;
229 float VerticalAdjust() const; 229 float VerticalAdjust() const;
230 230
231 // RendererClient implementation. 231 // RendererClient implementation.
232 virtual void SetFullRootLayerDamage() OVERRIDE; 232 virtual void SetFullRootLayerDamage() OVERRIDE;
233 virtual bool UseTaskGraphRunnerForOnDemandRaster() OVERRIDE;
233 234
234 // TileManagerClient implementation. 235 // TileManagerClient implementation.
235 virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE; 236 virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE;
236 virtual void NotifyReadyToActivate() OVERRIDE; 237 virtual void NotifyReadyToActivate() OVERRIDE;
237 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; 238 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE;
238 239
239 // ScrollbarAnimationControllerClient implementation. 240 // ScrollbarAnimationControllerClient implementation.
240 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade, 241 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade,
241 base::TimeDelta delay) OVERRIDE; 242 base::TimeDelta delay) OVERRIDE;
242 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE; 243 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE;
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 size_t transfer_buffer_memory_limit_; 696 size_t transfer_buffer_memory_limit_;
696 697
697 std::vector<PictureLayerImpl*> picture_layers_; 698 std::vector<PictureLayerImpl*> picture_layers_;
698 699
699 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 700 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
700 }; 701 };
701 702
702 } // namespace cc 703 } // namespace cc
703 704
704 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 705 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698