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

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

Issue 16925007: Fix scrollbar fade animation scheduling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 base::TimeDelta duration) OVERRIDE; 124 base::TimeDelta duration) OVERRIDE;
125 virtual void ScheduleAnimation() OVERRIDE; 125 virtual void ScheduleAnimation() OVERRIDE;
126 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE; 126 virtual bool HaveTouchEventHandlersAt(gfx::Point viewport_port) OVERRIDE;
127 virtual void SetLatencyInfoForInputEvent(const ui::LatencyInfo& latency_info) 127 virtual void SetLatencyInfoForInputEvent(const ui::LatencyInfo& latency_info)
128 OVERRIDE; 128 OVERRIDE;
129 129
130 // TopControlsManagerClient implementation. 130 // TopControlsManagerClient implementation.
131 virtual void DidChangeTopControlsPosition() OVERRIDE; 131 virtual void DidChangeTopControlsPosition() OVERRIDE;
132 virtual bool HaveRootScrollLayer() const OVERRIDE; 132 virtual bool HaveRootScrollLayer() const OVERRIDE;
133 133
134 void StartScrollbarAnimation(base::TimeTicks now); 134 void StartScrollbarAnimation();
135 135
136 struct CC_EXPORT FrameData : public RenderPassSink { 136 struct CC_EXPORT FrameData : public RenderPassSink {
137 FrameData(); 137 FrameData();
138 virtual ~FrameData(); 138 virtual ~FrameData();
139 139
140 std::vector<gfx::Rect> occluding_screen_space_rects; 140 std::vector<gfx::Rect> occluding_screen_space_rects;
141 std::vector<gfx::Rect> non_occluding_screen_space_rects; 141 std::vector<gfx::Rect> non_occluding_screen_space_rects;
142 RenderPassList render_passes; 142 RenderPassList render_passes;
143 RenderPassIdHashMap render_passes_by_id; 143 RenderPassIdHashMap render_passes_by_id;
144 const LayerImplList* render_surface_layer_list; 144 const LayerImplList* render_surface_layer_list;
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 scoped_ptr<AnimationRegistrar> animation_registrar_; 531 scoped_ptr<AnimationRegistrar> animation_registrar_;
532 532
533 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 533 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
534 534
535 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 535 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
536 }; 536 };
537 537
538 } // namespace cc 538 } // namespace cc
539 539
540 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 540 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698