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

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

Issue 715733002: [Android] Show autofill popup after animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 11 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
« 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 void PostAnimationEventsToMainThreadOnImplThread( 202 void PostAnimationEventsToMainThreadOnImplThread(
203 scoped_ptr<AnimationEventsVector> queue) override; 203 scoped_ptr<AnimationEventsVector> queue) override;
204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
205 int priority_cutoff) override; 205 int priority_cutoff) override;
206 bool IsInsideDraw() override; 206 bool IsInsideDraw() override;
207 void RenewTreePriority() override; 207 void RenewTreePriority() override;
208 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade, 208 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade,
209 base::TimeDelta delay) override; 209 base::TimeDelta delay) override;
210 void DidActivateSyncTree() override; 210 void DidActivateSyncTree() override;
211 void DidPrepareTiles() override; 211 void DidPrepareTiles() override;
212 void DidCompletePageScaleAnimationOnImplThread() override;
212 213
213 // SchedulerClient implementation 214 // SchedulerClient implementation
214 void WillBeginImplFrame(const BeginFrameArgs& args) override; 215 void WillBeginImplFrame(const BeginFrameArgs& args) override;
215 void ScheduledActionSendBeginMainFrame() override; 216 void ScheduledActionSendBeginMainFrame() override;
216 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 217 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
217 DrawResult ScheduledActionDrawAndSwapForced() override; 218 DrawResult ScheduledActionDrawAndSwapForced() override;
218 void ScheduledActionAnimate() override; 219 void ScheduledActionAnimate() override;
219 void ScheduledActionCommit() override; 220 void ScheduledActionCommit() override;
220 void ScheduledActionActivateSyncTree() override; 221 void ScheduledActionActivateSyncTree() override;
221 void ScheduledActionBeginOutputSurfaceCreation() override; 222 void ScheduledActionBeginOutputSurfaceCreation() override;
(...skipping 22 matching lines...) Expand all
244 void BeginMainFrame( 245 void BeginMainFrame(
245 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state); 246 scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state);
246 void DidCommitAndDrawFrame(); 247 void DidCommitAndDrawFrame();
247 void DidCompleteSwapBuffers(); 248 void DidCompleteSwapBuffers();
248 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue); 249 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue);
249 void DidLoseOutputSurface(); 250 void DidLoseOutputSurface();
250 void RequestNewOutputSurface(); 251 void RequestNewOutputSurface();
251 void DidInitializeOutputSurface(bool success, 252 void DidInitializeOutputSurface(bool success,
252 const RendererCapabilities& capabilities); 253 const RendererCapabilities& capabilities);
253 void SendCommitRequestToImplThreadIfNeeded(); 254 void SendCommitRequestToImplThreadIfNeeded();
255 void DidCompletePageScaleAnimation();
254 256
255 // Called on impl thread. 257 // Called on impl thread.
256 struct SchedulerStateRequest; 258 struct SchedulerStateRequest;
257 259
258 void StartCommitOnImplThread(CompletionEvent* completion, 260 void StartCommitOnImplThread(CompletionEvent* completion,
259 ResourceUpdateQueue* queue); 261 ResourceUpdateQueue* queue);
260 void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason); 262 void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason);
261 void FinishAllRenderingOnImplThread(CompletionEvent* completion); 263 void FinishAllRenderingOnImplThread(CompletionEvent* completion);
262 void InitializeImplOnImplThread(CompletionEvent* completion); 264 void InitializeImplOnImplThread(CompletionEvent* completion);
263 void SetLayerTreeHostClientReadyOnImplThread(); 265 void SetLayerTreeHostClientReadyOnImplThread();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 301
300 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 302 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
301 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 303 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
302 304
303 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 305 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
304 }; 306 };
305 307
306 } // namespace cc 308 } // namespace cc
307 309
308 #endif // CC_TREES_THREAD_PROXY_H_ 310 #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