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

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

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.h ('k') | cc/trees/thread_proxy.h » ('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 #include "cc/trees/single_thread_proxy.h" 5 #include "cc/trees/single_thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "cc/debug/benchmark_instrumentation.h" 9 #include "cc/debug/benchmark_instrumentation.h"
10 #include "cc/output/context_provider.h" 10 #include "cc/output/context_provider.h"
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 timing_history_.DidActivateSyncTree(); 440 timing_history_.DidActivateSyncTree();
441 } 441 }
442 442
443 void SingleThreadProxy::DidPrepareTiles() { 443 void SingleThreadProxy::DidPrepareTiles() {
444 DCHECK(layer_tree_host_impl_->settings().impl_side_painting); 444 DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
445 DCHECK(Proxy::IsImplThread()); 445 DCHECK(Proxy::IsImplThread());
446 if (scheduler_on_impl_thread_) 446 if (scheduler_on_impl_thread_)
447 scheduler_on_impl_thread_->DidPrepareTiles(); 447 scheduler_on_impl_thread_->DidPrepareTiles();
448 } 448 }
449 449
450 void SingleThreadProxy::DidCompletePageScaleAnimationOnImplThread() {
451 layer_tree_host_->DidCompletePageScaleAnimation();
452 }
453
450 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() { 454 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
451 DCHECK(IsImplThread()); 455 DCHECK(IsImplThread());
452 renderer_capabilities_for_main_thread_ = 456 renderer_capabilities_for_main_thread_ =
453 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities(); 457 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities();
454 } 458 }
455 459
456 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() { 460 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() {
457 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread"); 461 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread");
458 { 462 {
459 DebugScopedSetMainThread main(this); 463 DebugScopedSetMainThread main(this);
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 810
807 void SingleThreadProxy::DidBeginImplFrameDeadline() { 811 void SingleThreadProxy::DidBeginImplFrameDeadline() {
808 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); 812 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
809 } 813 }
810 814
811 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { 815 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
812 layer_tree_host_->SendBeginFramesToChildren(args); 816 layer_tree_host_->SendBeginFramesToChildren(args);
813 } 817 }
814 818
815 } // namespace cc 819 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698