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

Side by Side Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h

Issue 2785533003: Animated scroll shouldn't consume unhandled scrolls for OOPIFs. (Closed)
Patch Set: Address nits, add comments. Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WebLayerTreeViewImplForTesting_h 5 #ifndef WebLayerTreeViewImplForTesting_h
6 #define WebLayerTreeViewImplForTesting_h 6 #define WebLayerTreeViewImplForTesting_h
7 7
8 #include "cc/test/test_task_graph_runner.h" 8 #include "cc/test/test_task_graph_runner.h"
9 #include "cc/trees/layer_tree_host_client.h" 9 #include "cc/trees/layer_tree_host_client.h"
10 #include "cc/trees/layer_tree_host_single_thread_client.h" 10 #include "cc/trees/layer_tree_host_single_thread_client.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 bool has_scrolled_by_touch) override; 88 bool has_scrolled_by_touch) override;
89 void RequestNewCompositorFrameSink() override; 89 void RequestNewCompositorFrameSink() override;
90 void DidInitializeCompositorFrameSink() override {} 90 void DidInitializeCompositorFrameSink() override {}
91 void DidFailToInitializeCompositorFrameSink() override; 91 void DidFailToInitializeCompositorFrameSink() override;
92 void WillCommit() override {} 92 void WillCommit() override {}
93 void DidCommit() override {} 93 void DidCommit() override {}
94 void DidCommitAndDrawFrame() override {} 94 void DidCommitAndDrawFrame() override {}
95 void DidReceiveCompositorFrameAck() override {} 95 void DidReceiveCompositorFrameAck() override {}
96 void DidCompletePageScaleAnimation() override {} 96 void DidCompletePageScaleAnimation() override {}
97 97
98 bool IsForSubframe() override;
99
98 // cc::LayerTreeHostSingleThreadClient implementation. 100 // cc::LayerTreeHostSingleThreadClient implementation.
99 void DidSubmitCompositorFrame() override {} 101 void DidSubmitCompositorFrame() override {}
100 void DidLoseCompositorFrameSink() override {} 102 void DidLoseCompositorFrameSink() override {}
101 103
102 private: 104 private:
103 cc::TestTaskGraphRunner task_graph_runner_; 105 cc::TestTaskGraphRunner task_graph_runner_;
104 std::unique_ptr<cc::AnimationHost> animation_host_; 106 std::unique_ptr<cc::AnimationHost> animation_host_;
105 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_; 107 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_;
106 }; 108 };
107 109
108 } // namespace blink 110 } // namespace blink
109 111
110 #endif // WebLayerTreeViewImplForTesting_h 112 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW
« no previous file with comments | « content/test/layouttest_support.cc ('k') | third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698