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

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: Created 6 years, 1 month 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
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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 timing_history_.DidActivateSyncTree(); 438 timing_history_.DidActivateSyncTree();
439 } 439 }
440 440
441 void SingleThreadProxy::DidManageTiles() { 441 void SingleThreadProxy::DidManageTiles() {
442 DCHECK(layer_tree_host_impl_->settings().impl_side_painting); 442 DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
443 DCHECK(Proxy::IsImplThread()); 443 DCHECK(Proxy::IsImplThread());
444 if (scheduler_on_impl_thread_) 444 if (scheduler_on_impl_thread_)
445 scheduler_on_impl_thread_->DidManageTiles(); 445 scheduler_on_impl_thread_->DidManageTiles();
446 } 446 }
447 447
448 void SingleThreadProxy::DidCompletePageScaleAnimationBeforeCommit() {
449 layer_tree_host_->DidCompletePageScaleAnimationBeforeCommit();
450 }
451
448 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() { 452 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
449 DCHECK(IsImplThread()); 453 DCHECK(IsImplThread());
450 renderer_capabilities_for_main_thread_ = 454 renderer_capabilities_for_main_thread_ =
451 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities(); 455 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities();
452 } 456 }
453 457
454 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() { 458 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() {
455 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread"); 459 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread");
456 { 460 {
457 DebugScopedSetMainThread main(this); 461 DebugScopedSetMainThread main(this);
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 790
787 base::TimeDelta SingleThreadProxy::CommitToActivateDurationEstimate() { 791 base::TimeDelta SingleThreadProxy::CommitToActivateDurationEstimate() {
788 return timing_history_.CommitToActivateDurationEstimate(); 792 return timing_history_.CommitToActivateDurationEstimate();
789 } 793 }
790 794
791 void SingleThreadProxy::DidBeginImplFrameDeadline() { 795 void SingleThreadProxy::DidBeginImplFrameDeadline() {
792 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); 796 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
793 } 797 }
794 798
795 } // namespace cc 799 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698