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

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: 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 | « content/renderer/gpu/render_widget_compositor.h ('k') | content/renderer/render_view_impl.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 (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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 widget_->didCommitAndDrawCompositorFrame(); 851 widget_->didCommitAndDrawCompositorFrame();
852 } 852 }
853 853
854 void RenderWidgetCompositor::DidCompleteSwapBuffers() { 854 void RenderWidgetCompositor::DidCompleteSwapBuffers() {
855 widget_->didCompleteSwapBuffers(); 855 widget_->didCompleteSwapBuffers();
856 bool threaded = !!compositor_deps_->GetCompositorImplThreadTaskRunner().get(); 856 bool threaded = !!compositor_deps_->GetCompositorImplThreadTaskRunner().get();
857 if (!threaded) 857 if (!threaded)
858 widget_->OnSwapBuffersComplete(); 858 widget_->OnSwapBuffersComplete();
859 } 859 }
860 860
861 void RenderWidgetCompositor::DidCompletePageScaleAnimation() {
862 widget_->DidCompletePageScaleAnimation();
863 }
864
861 void RenderWidgetCompositor::ScheduleAnimation() { 865 void RenderWidgetCompositor::ScheduleAnimation() {
862 widget_->scheduleAnimation(); 866 widget_->scheduleAnimation();
863 } 867 }
864 868
865 void RenderWidgetCompositor::DidPostSwapBuffers() { 869 void RenderWidgetCompositor::DidPostSwapBuffers() {
866 widget_->OnSwapBuffersPosted(); 870 widget_->OnSwapBuffersPosted();
867 } 871 }
868 872
869 void RenderWidgetCompositor::DidAbortSwapBuffers() { 873 void RenderWidgetCompositor::DidAbortSwapBuffers() {
870 widget_->OnSwapBuffersAborted(); 874 widget_->OnSwapBuffersAborted();
871 } 875 }
872 876
873 void RenderWidgetCompositor::RateLimitSharedMainThreadContext() { 877 void RenderWidgetCompositor::RateLimitSharedMainThreadContext() {
874 cc::ContextProvider* provider = 878 cc::ContextProvider* provider =
875 compositor_deps_->GetSharedMainThreadContextProvider(); 879 compositor_deps_->GetSharedMainThreadContextProvider();
876 provider->ContextGL()->RateLimitOffscreenContextCHROMIUM(); 880 provider->ContextGL()->RateLimitOffscreenContextCHROMIUM();
877 } 881 }
878 882
879 } // namespace content 883 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698