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

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

Issue 287643004: Re-land: cc: Examine layers to determine if we're ready to activate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init check_if_ready_to_activate_pending_ properly Created 6 years, 7 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/test/fake_tile_manager_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('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 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // excludes the URL bar and non-overlay scrollbars and is in DIP (and 225 // excludes the URL bar and non-overlay scrollbars and is in DIP (and
226 // invariant relative to page scale). 226 // invariant relative to page scale).
227 gfx::SizeF UnscaledScrollableViewportSize() const; 227 gfx::SizeF UnscaledScrollableViewportSize() const;
228 float VerticalAdjust() const; 228 float VerticalAdjust() const;
229 229
230 // RendererClient implementation. 230 // RendererClient implementation.
231 virtual void SetFullRootLayerDamage() OVERRIDE; 231 virtual void SetFullRootLayerDamage() OVERRIDE;
232 232
233 // TileManagerClient implementation. 233 // TileManagerClient implementation.
234 virtual void NotifyReadyToActivate() OVERRIDE; 234 virtual void NotifyReadyToActivate() OVERRIDE;
235 virtual void NotifyTileInitialized(const Tile* tile) OVERRIDE; 235 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE;
236 236
237 // ScrollbarAnimationControllerClient implementation. 237 // ScrollbarAnimationControllerClient implementation.
238 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade, 238 virtual void PostDelayedScrollbarFade(const base::Closure& start_fade,
239 base::TimeDelta delay) OVERRIDE; 239 base::TimeDelta delay) OVERRIDE;
240 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE; 240 virtual void SetNeedsScrollbarAnimationFrame() OVERRIDE;
241 241
242 // OutputSurfaceClient implementation. 242 // OutputSurfaceClient implementation.
243 virtual void DeferredInitialize() OVERRIDE; 243 virtual void DeferredInitialize() OVERRIDE;
244 virtual void ReleaseGL() OVERRIDE; 244 virtual void ReleaseGL() OVERRIDE;
245 virtual void CommitVSyncParameters(base::TimeTicks timebase, 245 virtual void CommitVSyncParameters(base::TimeTicks timebase,
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 681 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
682 682
683 size_t transfer_buffer_memory_limit_; 683 size_t transfer_buffer_memory_limit_;
684 684
685 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 685 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
686 }; 686 };
687 687
688 } // namespace cc 688 } // namespace cc
689 689
690 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 690 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_tile_manager_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698