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

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

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual void DidPrepareTiles() = 0; 121 virtual void DidPrepareTiles() = 0;
122 122
123 // Called when page scale animation has completed on the impl thread. 123 // Called when page scale animation has completed on the impl thread.
124 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; 124 virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
125 125
126 // Called when output surface asks for a draw. 126 // Called when output surface asks for a draw.
127 virtual void OnDrawForCompositorFrameSink( 127 virtual void OnDrawForCompositorFrameSink(
128 bool resourceless_software_draw) = 0; 128 bool resourceless_software_draw) = 0;
129 129
130 virtual void NeedsImplSideInvalidation() = 0; 130 virtual void NeedsImplSideInvalidation() = 0;
131 // Called when a requested image decode completes.
132 virtual void NotifyImageDecodeRequestFinished() = 0;
131 133
132 protected: 134 protected:
133 virtual ~LayerTreeHostImplClient() {} 135 virtual ~LayerTreeHostImplClient() {}
134 }; 136 };
135 137
136 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering 138 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering
137 // state. 139 // state.
138 class CC_EXPORT LayerTreeHostImpl 140 class CC_EXPORT LayerTreeHostImpl
139 : public InputHandler, 141 : public InputHandler,
140 public TileManagerClient, 142 public TileManagerClient,
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 bool touchpad_and_wheel_scroll_latching_enabled_; 881 bool touchpad_and_wheel_scroll_latching_enabled_;
880 882
881 ImplThreadPhase impl_thread_phase_; 883 ImplThreadPhase impl_thread_phase_;
882 884
883 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 885 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
884 }; 886 };
885 887
886 } // namespace cc 888 } // namespace cc
887 889
888 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 890 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_layer_tree_host_impl_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698