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

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

Issue 1689293002: cc: Move TryScroll from LayerImpl to LayerTreeHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master branch Created 4 years, 10 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
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 <set> 10 #include <set>
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 596 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
597 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); 597 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events);
598 598
599 base::SingleThreadTaskRunner* GetTaskRunner() const { 599 base::SingleThreadTaskRunner* GetTaskRunner() const {
600 DCHECK(task_runner_provider_); 600 DCHECK(task_runner_provider_);
601 return task_runner_provider_->HasImplThread() 601 return task_runner_provider_->HasImplThread()
602 ? task_runner_provider_->ImplThreadTaskRunner() 602 ? task_runner_provider_->ImplThreadTaskRunner()
603 : task_runner_provider_->MainThreadTaskRunner(); 603 : task_runner_provider_->MainThreadTaskRunner();
604 } 604 }
605 605
606 InputHandler::ScrollStatus TryScroll(const gfx::PointF& device_viewport_point,
ajuma 2016/02/12 17:03:01 screen_space_point
607 InputHandler::ScrollInputType type,
608 const ScrollTree& scroll_tree,
609 ScrollNode* scroll_node) const;
610
606 protected: 611 protected:
607 LayerTreeHostImpl( 612 LayerTreeHostImpl(
608 const LayerTreeSettings& settings, 613 const LayerTreeSettings& settings,
609 LayerTreeHostImplClient* client, 614 LayerTreeHostImplClient* client,
610 TaskRunnerProvider* task_runner_provider, 615 TaskRunnerProvider* task_runner_provider,
611 RenderingStatsInstrumentation* rendering_stats_instrumentation, 616 RenderingStatsInstrumentation* rendering_stats_instrumentation,
612 SharedBitmapManager* shared_bitmap_manager, 617 SharedBitmapManager* shared_bitmap_manager,
613 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager, 618 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
614 TaskGraphRunner* task_graph_runner, 619 TaskGraphRunner* task_graph_runner,
615 int id); 620 int id);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 837 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
833 838
834 scoped_ptr<Viewport> viewport_; 839 scoped_ptr<Viewport> viewport_;
835 840
836 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 841 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
837 }; 842 };
838 843
839 } // namespace cc 844 } // namespace cc
840 845
841 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 846 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698