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

Side by Side Diff: cc/trees/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/single_thread_proxy.cc ('k') | cc/trees/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_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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual void SetNextCommitWaitsForActivation() OVERRIDE; 159 virtual void SetNextCommitWaitsForActivation() OVERRIDE;
160 virtual void NotifyInputThrottledUntilCommit() OVERRIDE; 160 virtual void NotifyInputThrottledUntilCommit() OVERRIDE;
161 virtual void SetDeferCommits(bool defer_commits) OVERRIDE; 161 virtual void SetDeferCommits(bool defer_commits) OVERRIDE;
162 virtual bool CommitRequested() const OVERRIDE; 162 virtual bool CommitRequested() const OVERRIDE;
163 virtual bool BeginMainFrameRequested() const OVERRIDE; 163 virtual bool BeginMainFrameRequested() const OVERRIDE;
164 virtual void MainThreadHasStoppedFlinging() OVERRIDE; 164 virtual void MainThreadHasStoppedFlinging() OVERRIDE;
165 virtual void Start() OVERRIDE; 165 virtual void Start() OVERRIDE;
166 virtual void Stop() OVERRIDE; 166 virtual void Stop() OVERRIDE;
167 virtual size_t MaxPartialTextureUpdates() const OVERRIDE; 167 virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
168 virtual void ForceSerializeOnSwapBuffers() OVERRIDE; 168 virtual void ForceSerializeOnSwapBuffers() OVERRIDE;
169 virtual bool SupportsImplScrolling() const OVERRIDE;
169 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE; 170 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE;
170 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; 171 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
171 virtual bool CommitPendingForTesting() OVERRIDE; 172 virtual bool CommitPendingForTesting() OVERRIDE;
172 virtual scoped_ptr<base::Value> SchedulerAsValueForTesting() OVERRIDE; 173 virtual scoped_ptr<base::Value> SchedulerAsValueForTesting() OVERRIDE;
173 174
174 // LayerTreeHostImplClient implementation 175 // LayerTreeHostImplClient implementation
175 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE; 176 virtual void UpdateRendererCapabilitiesOnImplThread() OVERRIDE;
176 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; 177 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE;
177 virtual void CommitVSyncParameters(base::TimeTicks timebase, 178 virtual void CommitVSyncParameters(base::TimeTicks timebase,
178 base::TimeDelta interval) OVERRIDE; 179 base::TimeDelta interval) OVERRIDE;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 296
296 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 297 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
297 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 298 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
298 299
299 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 300 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
300 }; 301 };
301 302
302 } // namespace cc 303 } // namespace cc
303 304
304 #endif // CC_TREES_THREAD_PROXY_H_ 305 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698