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

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

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://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
« no previous file with comments | « cc/trees/layer_tree_host.cc ('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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 int scroll_layer_id_when_mouse_over_scrollbar() const { 319 int scroll_layer_id_when_mouse_over_scrollbar() const {
320 return scroll_layer_id_when_mouse_over_scrollbar_; 320 return scroll_layer_id_when_mouse_over_scrollbar_;
321 } 321 }
322 bool scroll_affects_scroll_handler() const { 322 bool scroll_affects_scroll_handler() const {
323 return scroll_affects_scroll_handler_; 323 return scroll_affects_scroll_handler_;
324 } 324 }
325 void QueueSwapPromiseForMainThreadScrollUpdate( 325 void QueueSwapPromiseForMainThreadScrollUpdate(
326 scoped_ptr<SwapPromise> swap_promise); 326 scoped_ptr<SwapPromise> swap_promise);
327 327
328 bool IsCurrentlyScrolling() const; 328 bool IsActivelyScrolling() const;
329 329
330 virtual void SetVisible(bool visible); 330 virtual void SetVisible(bool visible);
331 bool visible() const { return visible_; } 331 bool visible() const { return visible_; }
332 332
333 void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); } 333 void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); }
334 void SetNeedsRedraw(); 334 void SetNeedsRedraw();
335 335
336 ManagedMemoryPolicy ActualManagedMemoryPolicy() const; 336 ManagedMemoryPolicy ActualManagedMemoryPolicy() const;
337 337
338 size_t memory_allocation_limit_bytes() const; 338 size_t memory_allocation_limit_bytes() const;
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; 710 std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
711 711
712 bool requires_high_res_to_draw_; 712 bool requires_high_res_to_draw_;
713 713
714 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 714 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
715 }; 715 };
716 716
717 } // namespace cc 717 } // namespace cc
718 718
719 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 719 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698