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

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

Issue 462803002: Fix failing (flaky) LayerTreeHostTestLCDNotification test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: flakylcd: reordertests Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/single_thread_proxy.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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; 46 virtual void SetDeferCommits(bool defer_commits) OVERRIDE;
47 virtual bool CommitRequested() const OVERRIDE; 47 virtual bool CommitRequested() const OVERRIDE;
48 virtual bool BeginMainFrameRequested() const OVERRIDE; 48 virtual bool BeginMainFrameRequested() const OVERRIDE;
49 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} 49 virtual void MainThreadHasStoppedFlinging() OVERRIDE {}
50 virtual void Start() OVERRIDE; 50 virtual void Start() OVERRIDE;
51 virtual void Stop() OVERRIDE; 51 virtual void Stop() OVERRIDE;
52 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; 52 virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
53 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; 53 virtual void ForceSerializeOnSwapBuffers() OVERRIDE;
54 virtual bool SupportsImplScrolling() const OVERRIDE; 54 virtual bool SupportsImplScrolling() const OVERRIDE;
55 virtual void AsValueInto(base::debug::TracedValue* state) const OVERRIDE; 55 virtual void AsValueInto(base::debug::TracedValue* state) const OVERRIDE;
56 virtual bool CommitPendingForTesting() OVERRIDE; 56 virtual bool MainFrameWillHappenForTesting() OVERRIDE;
57 57
58 // SchedulerClient implementation 58 // SchedulerClient implementation
59 virtual void SetNeedsBeginFrame(bool enable) OVERRIDE; 59 virtual void SetNeedsBeginFrame(bool enable) OVERRIDE;
60 virtual void WillBeginImplFrame(const BeginFrameArgs& args) OVERRIDE; 60 virtual void WillBeginImplFrame(const BeginFrameArgs& args) OVERRIDE;
61 virtual void ScheduledActionSendBeginMainFrame() OVERRIDE; 61 virtual void ScheduledActionSendBeginMainFrame() OVERRIDE;
62 virtual DrawResult ScheduledActionDrawAndSwapIfPossible() OVERRIDE; 62 virtual DrawResult ScheduledActionDrawAndSwapIfPossible() OVERRIDE;
63 virtual DrawResult ScheduledActionDrawAndSwapForced() OVERRIDE; 63 virtual DrawResult ScheduledActionDrawAndSwapForced() OVERRIDE;
64 virtual void ScheduledActionCommit() OVERRIDE; 64 virtual void ScheduledActionCommit() OVERRIDE;
65 virtual void ScheduledActionAnimate() OVERRIDE; 65 virtual void ScheduledActionAnimate() OVERRIDE;
66 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE; 66 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 private: 212 private:
213 DebugScopedSetImplThread impl_thread_; 213 DebugScopedSetImplThread impl_thread_;
214 DebugScopedSetMainThreadBlocked main_thread_blocked_; 214 DebugScopedSetMainThreadBlocked main_thread_blocked_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 216 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
217 }; 217 };
218 218
219 } // namespace cc 219 } // namespace cc
220 220
221 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 221 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698