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

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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void DidPrepareTiles() = 0; 116 virtual void DidPrepareTiles() = 0;
117 117
118 // Called when page scale animation has completed on the impl thread. 118 // Called when page scale animation has completed on the impl thread.
119 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; 119 virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
120 120
121 // Called when output surface asks for a draw. 121 // Called when output surface asks for a draw.
122 virtual void OnDrawForCompositorFrameSink( 122 virtual void OnDrawForCompositorFrameSink(
123 bool resourceless_software_draw) = 0; 123 bool resourceless_software_draw) = 0;
124 124
125 virtual void NeedsImplSideInvalidation() = 0; 125 virtual void NeedsImplSideInvalidation() = 0;
126 // Called when a requested image decode completes.
127 virtual void NotifyImageDecodeRequestFinished() = 0;
126 128
127 protected: 129 protected:
128 virtual ~LayerTreeHostImplClient() {} 130 virtual ~LayerTreeHostImplClient() {}
129 }; 131 };
130 132
131 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering 133 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering
132 // state. 134 // state.
133 class CC_EXPORT LayerTreeHostImpl 135 class CC_EXPORT LayerTreeHostImpl
134 : public InputHandler, 136 : public InputHandler,
135 public TileManagerClient, 137 public TileManagerClient,
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 bool has_scrolled_by_touch_; 873 bool has_scrolled_by_touch_;
872 874
873 bool touchpad_and_wheel_scroll_latching_enabled_; 875 bool touchpad_and_wheel_scroll_latching_enabled_;
874 876
875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 877 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
876 }; 878 };
877 879
878 } // namespace cc 880 } // namespace cc
879 881
880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 882 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698