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

Side by Side Diff: cc/trees/layer_tree_host_client.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
« no previous file with comments | « cc/test/stub_layer_tree_host_client.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_CLIENT_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_CLIENT_H_
6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // either DidFailToInitializeCompositorFrameSink or 51 // either DidFailToInitializeCompositorFrameSink or
52 // DidInitializeCompositorFrameSink being called. 52 // DidInitializeCompositorFrameSink being called.
53 virtual void RequestNewCompositorFrameSink() = 0; 53 virtual void RequestNewCompositorFrameSink() = 0;
54 virtual void DidInitializeCompositorFrameSink() = 0; 54 virtual void DidInitializeCompositorFrameSink() = 0;
55 virtual void DidFailToInitializeCompositorFrameSink() = 0; 55 virtual void DidFailToInitializeCompositorFrameSink() = 0;
56 virtual void WillCommit() = 0; 56 virtual void WillCommit() = 0;
57 virtual void DidCommit() = 0; 57 virtual void DidCommit() = 0;
58 virtual void DidCommitAndDrawFrame() = 0; 58 virtual void DidCommitAndDrawFrame() = 0;
59 virtual void DidReceiveCompositorFrameAck() = 0; 59 virtual void DidReceiveCompositorFrameAck() = 0;
60 virtual void DidCompletePageScaleAnimation() = 0; 60 virtual void DidCompletePageScaleAnimation() = 0;
61 // The only time a subframe ever gets its own LayerTree is when the subframe
62 // renders in a different process its ancestors; this returns true in
63 // that case.
64 virtual bool IsForSubframe() = 0;
61 65
62 protected: 66 protected:
63 virtual ~LayerTreeHostClient() {} 67 virtual ~LayerTreeHostClient() {}
64 }; 68 };
65 69
66 } // namespace cc 70 } // namespace cc
67 71
68 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 72 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/test/stub_layer_tree_host_client.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698