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

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: Hide popup when resizing the viewport resulted in movement of the focused element. Created 6 years 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 timing_history_.DidActivateSyncTree(); 437 timing_history_.DidActivateSyncTree();
438 } 438 }
439 439
440 void SingleThreadProxy::DidPrepareTiles() { 440 void SingleThreadProxy::DidPrepareTiles() {
441 DCHECK(layer_tree_host_impl_->settings().impl_side_painting); 441 DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
442 DCHECK(Proxy::IsImplThread()); 442 DCHECK(Proxy::IsImplThread());
443 if (scheduler_on_impl_thread_) 443 if (scheduler_on_impl_thread_)
444 scheduler_on_impl_thread_->DidPrepareTiles(); 444 scheduler_on_impl_thread_->DidPrepareTiles();
445 } 445 }
446 446
447 void SingleThreadProxy::DidCompletePageScaleAnimationOnImplThread() {
448 layer_tree_host_->DidCompletePageScaleAnimation();
449 }
450
447 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() { 451 void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
448 DCHECK(IsImplThread()); 452 DCHECK(IsImplThread());
449 renderer_capabilities_for_main_thread_ = 453 renderer_capabilities_for_main_thread_ =
450 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities(); 454 layer_tree_host_impl_->GetRendererCapabilities().MainThreadCapabilities();
451 } 455 }
452 456
453 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() { 457 void SingleThreadProxy::DidLoseOutputSurfaceOnImplThread() {
454 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread"); 458 TRACE_EVENT0("cc", "SingleThreadProxy::DidLoseOutputSurfaceOnImplThread");
455 { 459 {
456 DebugScopedSetMainThread main(this); 460 DebugScopedSetMainThread main(this);
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 798
795 void SingleThreadProxy::DidBeginImplFrameDeadline() { 799 void SingleThreadProxy::DidBeginImplFrameDeadline() {
796 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame(); 800 layer_tree_host_impl_->ResetCurrentBeginFrameArgsForNextFrame();
797 } 801 }
798 802
799 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) { 803 void SingleThreadProxy::SendBeginFramesToChildren(const BeginFrameArgs& args) {
800 layer_tree_host_->SendBeginFramesToChildren(args); 804 layer_tree_host_->SendBeginFramesToChildren(args);
801 } 805 }
802 806
803 } // namespace cc 807 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698