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

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

Issue 775143003: cc: Implement unified BeginFrame on aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add unittest Created 5 years, 9 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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void MainThreadHasStoppedFlinging() override; 171 void MainThreadHasStoppedFlinging() override;
172 void Start() override; 172 void Start() override;
173 void Stop() override; 173 void Stop() override;
174 size_t MaxPartialTextureUpdates() const override; 174 size_t MaxPartialTextureUpdates() const override;
175 void ForceSerializeOnSwapBuffers() override; 175 void ForceSerializeOnSwapBuffers() override;
176 bool SupportsImplScrolling() const override; 176 bool SupportsImplScrolling() const override;
177 void SetDebugState(const LayerTreeDebugState& debug_state) override; 177 void SetDebugState(const LayerTreeDebugState& debug_state) override;
178 void AsValueInto(base::trace_event::TracedValue* value) const override; 178 void AsValueInto(base::trace_event::TracedValue* value) const override;
179 bool MainFrameWillHappenForTesting() override; 179 bool MainFrameWillHappenForTesting() override;
180 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; 180 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
181 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
181 182
182 // LayerTreeHostImplClient implementation 183 // LayerTreeHostImplClient implementation
183 void UpdateRendererCapabilitiesOnImplThread() override; 184 void UpdateRendererCapabilitiesOnImplThread() override;
184 void DidLoseOutputSurfaceOnImplThread() override; 185 void DidLoseOutputSurfaceOnImplThread() override;
185 void CommitVSyncParameters(base::TimeTicks timebase, 186 void CommitVSyncParameters(base::TimeTicks timebase,
186 base::TimeDelta interval) override; 187 base::TimeDelta interval) override;
187 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; 188 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override;
188 void SetMaxSwapsPendingOnImplThread(int max) override; 189 void SetMaxSwapsPendingOnImplThread(int max) override;
189 void DidSwapBuffersOnImplThread() override; 190 void DidSwapBuffersOnImplThread() override;
190 void DidSwapBuffersCompleteOnImplThread() override; 191 void DidSwapBuffersCompleteOnImplThread() override;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 305
305 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 306 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
306 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 307 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
307 308
308 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 309 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
309 }; 310 };
310 311
311 } // namespace cc 312 } // namespace cc
312 313
313 #endif // CC_TREES_THREAD_PROXY_H_ 314 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698