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

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

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: update 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 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void DidPrepareTiles() = 0; 115 virtual void DidPrepareTiles() = 0;
116 116
117 // Called when page scale animation has completed on the impl thread. 117 // Called when page scale animation has completed on the impl thread.
118 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; 118 virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
119 119
120 // Called when output surface asks for a draw. 120 // Called when output surface asks for a draw.
121 virtual void OnDrawForCompositorFrameSink( 121 virtual void OnDrawForCompositorFrameSink(
122 bool resourceless_software_draw) = 0; 122 bool resourceless_software_draw) = 0;
123 123
124 virtual void NeedsImplSideInvalidation() = 0; 124 virtual void NeedsImplSideInvalidation() = 0;
125 // Called when a requested image decode completes.
126 virtual void NotifyImageDecodeRequestFinished() = 0;
125 127
126 protected: 128 protected:
127 virtual ~LayerTreeHostImplClient() {} 129 virtual ~LayerTreeHostImplClient() {}
128 }; 130 };
129 131
130 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering 132 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering
131 // state. 133 // state.
132 class CC_EXPORT LayerTreeHostImpl 134 class CC_EXPORT LayerTreeHostImpl
133 : public InputHandler, 135 : public InputHandler,
134 public TileManagerClient, 136 public TileManagerClient,
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 // thread. 861 // thread.
860 bool has_scrolled_by_wheel_; 862 bool has_scrolled_by_wheel_;
861 bool has_scrolled_by_touch_; 863 bool has_scrolled_by_touch_;
862 864
863 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 865 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
864 }; 866 };
865 867
866 } // namespace cc 868 } // namespace cc
867 869
868 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 870 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698