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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 void RenderWidgetCompositor::DidCommitAndDrawFrame() { 876 void RenderWidgetCompositor::DidCommitAndDrawFrame() {
877 widget_->didCommitAndDrawCompositorFrame(); 877 widget_->didCommitAndDrawCompositorFrame();
878 } 878 }
879 879
880 void RenderWidgetCompositor::DidCompleteSwapBuffers() { 880 void RenderWidgetCompositor::DidCompleteSwapBuffers() {
881 widget_->didCompleteSwapBuffers(); 881 widget_->didCompleteSwapBuffers();
882 if (!threaded_) 882 if (!threaded_)
883 widget_->OnSwapBuffersComplete(); 883 widget_->OnSwapBuffersComplete();
884 } 884 }
885 885
886 void RenderWidgetCompositor::DidCompletePageScaleAnimation() {
887 widget_->DidCompletePageScaleAnimation();
888 }
889
886 void RenderWidgetCompositor::ScheduleAnimation() { 890 void RenderWidgetCompositor::ScheduleAnimation() {
887 widget_->scheduleAnimation(); 891 widget_->scheduleAnimation();
888 } 892 }
889 893
890 void RenderWidgetCompositor::DidPostSwapBuffers() { 894 void RenderWidgetCompositor::DidPostSwapBuffers() {
891 widget_->OnSwapBuffersPosted(); 895 widget_->OnSwapBuffersPosted();
892 } 896 }
893 897
894 void RenderWidgetCompositor::DidAbortSwapBuffers() { 898 void RenderWidgetCompositor::DidAbortSwapBuffers() {
895 widget_->OnSwapBuffersAborted(); 899 widget_->OnSwapBuffersAborted();
896 } 900 }
897 901
898 void RenderWidgetCompositor::RateLimitSharedMainThreadContext() { 902 void RenderWidgetCompositor::RateLimitSharedMainThreadContext() {
899 cc::ContextProvider* provider = 903 cc::ContextProvider* provider =
900 RenderThreadImpl::current()->SharedMainThreadContextProvider().get(); 904 RenderThreadImpl::current()->SharedMainThreadContextProvider().get();
901 provider->ContextGL()->RateLimitOffscreenContextCHROMIUM(); 905 provider->ContextGL()->RateLimitOffscreenContextCHROMIUM();
902 } 906 }
903 907
904 } // namespace content 908 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698