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

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

Issue 2769823002: Add decode() functionality to image elements. (Closed)
Patch Set: rebase + update Created 3 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 bool IsInsideDraw() override; 87 bool IsInsideDraw() override;
88 void RenewTreePriority() override; 88 void RenewTreePriority() override;
89 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 89 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
90 base::TimeDelta delay) override; 90 base::TimeDelta delay) override;
91 void DidActivateSyncTree() override; 91 void DidActivateSyncTree() override;
92 void WillPrepareTiles() override; 92 void WillPrepareTiles() override;
93 void DidPrepareTiles() override; 93 void DidPrepareTiles() override;
94 void DidCompletePageScaleAnimationOnImplThread() override; 94 void DidCompletePageScaleAnimationOnImplThread() override;
95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; 95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override;
96 void NeedsImplSideInvalidation() override; 96 void NeedsImplSideInvalidation() override;
97 void NotifyImageDecodeRequestFinished() override;
97 98
98 // SchedulerClient implementation 99 // SchedulerClient implementation
99 void WillBeginImplFrame(const BeginFrameArgs& args) override; 100 void WillBeginImplFrame(const BeginFrameArgs& args) override;
100 void DidFinishImplFrame() override; 101 void DidFinishImplFrame() override;
101 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; 102 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
102 DrawResult ScheduledActionDrawIfPossible() override; 103 DrawResult ScheduledActionDrawIfPossible() override;
103 DrawResult ScheduledActionDrawForced() override; 104 DrawResult ScheduledActionDrawForced() override;
104 void ScheduledActionCommit() override; 105 void ScheduledActionCommit() override;
105 void ScheduledActionActivateSyncTree() override; 106 void ScheduledActionActivateSyncTree() override;
106 void ScheduledActionBeginCompositorFrameSinkCreation() override; 107 void ScheduledActionBeginCompositorFrameSinkCreation() override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is 156 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is
156 // released. 157 // released.
157 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; 158 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 160 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
160 }; 161 };
161 162
162 } // namespace cc 163 } // namespace cc
163 164
164 #endif // CC_TREES_PROXY_IMPL_H_ 165 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698