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

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

Issue 2453553003: Disable overlay scrollbars in Blink when hidden by the compositor. (Closed)
Patch Set: Rebase Created 4 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_common.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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 TreePriority tree_priority) override; 347 TreePriority tree_priority) override;
348 void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override; 348 void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override;
349 gfx::ColorSpace GetTileColorSpace() const override; 349 gfx::ColorSpace GetTileColorSpace() const override;
350 350
351 // ScrollbarAnimationControllerClient implementation. 351 // ScrollbarAnimationControllerClient implementation.
352 void PostDelayedScrollbarAnimationTask(const base::Closure& task, 352 void PostDelayedScrollbarAnimationTask(const base::Closure& task,
353 base::TimeDelta delay) override; 353 base::TimeDelta delay) override;
354 void SetNeedsAnimateForScrollbarAnimation() override; 354 void SetNeedsAnimateForScrollbarAnimation() override;
355 void SetNeedsRedrawForScrollbarAnimation() override; 355 void SetNeedsRedrawForScrollbarAnimation() override;
356 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const override; 356 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const override;
357 void DidChangeScrollbarVisibility() override;
357 358
358 // VideoBeginFrameSource implementation. 359 // VideoBeginFrameSource implementation.
359 void AddVideoFrameController(VideoFrameController* controller) override; 360 void AddVideoFrameController(VideoFrameController* controller) override;
360 void RemoveVideoFrameController(VideoFrameController* controller) override; 361 void RemoveVideoFrameController(VideoFrameController* controller) override;
361 362
362 // CompositorFrameSinkClient implementation. 363 // CompositorFrameSinkClient implementation.
363 void SetBeginFrameSource(BeginFrameSource* source) override; 364 void SetBeginFrameSource(BeginFrameSource* source) override;
364 void SetExternalTilePriorityConstraints( 365 void SetExternalTilePriorityConstraints(
365 const gfx::Rect& viewport_rect, 366 const gfx::Rect& viewport_rect,
366 const gfx::Transform& transform) override; 367 const gfx::Transform& transform) override;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 830
830 std::unique_ptr<PendingTreeDurationHistogramTimer> 831 std::unique_ptr<PendingTreeDurationHistogramTimer>
831 pending_tree_duration_timer_; 832 pending_tree_duration_timer_;
832 833
833 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
834 }; 835 };
835 836
836 } // namespace cc 837 } // namespace cc
837 838
838 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 839 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698