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

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

Issue 368883003: cc: Disallow scroll offset animations when impl-scrolling isn't supported (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 29 matching lines...) Expand all
40 virtual void SetNextCommitWaitsForActivation() OVERRIDE; 40 virtual void SetNextCommitWaitsForActivation() OVERRIDE;
41 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {} 41 virtual void NotifyInputThrottledUntilCommit() OVERRIDE {}
42 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; 42 virtual void SetDeferCommits(bool defer_commits) OVERRIDE;
43 virtual bool CommitRequested() const OVERRIDE; 43 virtual bool CommitRequested() const OVERRIDE;
44 virtual bool BeginMainFrameRequested() const OVERRIDE; 44 virtual bool BeginMainFrameRequested() const OVERRIDE;
45 virtual void MainThreadHasStoppedFlinging() OVERRIDE {} 45 virtual void MainThreadHasStoppedFlinging() OVERRIDE {}
46 virtual void Start() OVERRIDE; 46 virtual void Start() OVERRIDE;
47 virtual void Stop() OVERRIDE; 47 virtual void Stop() OVERRIDE;
48 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; 48 virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; 49 virtual void ForceSerializeOnSwapBuffers() OVERRIDE;
50 virtual bool SupportsImplScrolling() const OVERRIDE;
50 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; 51 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
51 virtual bool CommitPendingForTesting() OVERRIDE; 52 virtual bool CommitPendingForTesting() OVERRIDE;
52 53
53 // LayerTreeHostImplClient implementation 54 // LayerTreeHostImplClient implementation
54 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; 55 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE;
55 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 56 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
56 virtual void CommitVSyncParameters(base::TimeTicks timebase, 57 virtual void CommitVSyncParameters(base::TimeTicks timebase,
57 base::TimeDelta interval) OVERRIDE {} 58 base::TimeDelta interval) OVERRIDE {}
58 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {} 59 virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) OVERRIDE {}
59 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {} 60 virtual void SetMaxSwapsPendingOnImplThread(int max) OVERRIDE {}
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 private: 176 private:
176 DebugScopedSetImplThread impl_thread_; 177 DebugScopedSetImplThread impl_thread_;
177 DebugScopedSetMainThreadBlocked main_thread_blocked_; 178 DebugScopedSetMainThreadBlocked main_thread_blocked_;
178 179
179 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 180 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
180 }; 181 };
181 182
182 } // namespace cc 183 } // namespace cc
183 184
184 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 185 #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