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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

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 (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 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, 143 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
144 float page_scale, 144 float page_scale,
145 float top_controls_delta) override; 145 float top_controls_delta) override;
146 void RequestNewOutputSurface() override; 146 void RequestNewOutputSurface() override;
147 void DidInitializeOutputSurface() override; 147 void DidInitializeOutputSurface() override;
148 void DidFailToInitializeOutputSurface() override; 148 void DidFailToInitializeOutputSurface() override;
149 void WillCommit() override; 149 void WillCommit() override;
150 void DidCommit() override; 150 void DidCommit() override;
151 void DidCommitAndDrawFrame() override; 151 void DidCommitAndDrawFrame() override;
152 void DidCompleteSwapBuffers() override; 152 void DidCompleteSwapBuffers() override;
153 void DidCompletePageScaleAnimation() override;
153 void RateLimitSharedMainThreadContext() override; 154 void RateLimitSharedMainThreadContext() override;
154 155
155 // cc::LayerTreeHostSingleThreadClient implementation. 156 // cc::LayerTreeHostSingleThreadClient implementation.
156 void ScheduleAnimation() override; 157 void ScheduleAnimation() override;
157 void DidPostSwapBuffers() override; 158 void DidPostSwapBuffers() override;
158 void DidAbortSwapBuffers() override; 159 void DidAbortSwapBuffers() override;
159 160
160 enum { 161 enum {
161 OUTPUT_SURFACE_RETRIES_BEFORE_FALLBACK = 4, 162 OUTPUT_SURFACE_RETRIES_BEFORE_FALLBACK = 4,
162 MAX_OUTPUT_SURFACE_RETRIES = 5, 163 MAX_OUTPUT_SURFACE_RETRIES = 5,
(...skipping 18 matching lines...) Expand all
181 base::TimeTicks begin_main_frame_time_; 182 base::TimeTicks begin_main_frame_time_;
182 // The time interval between BeginMainFrame calls, provided by the scheduler. 183 // The time interval between BeginMainFrame calls, provided by the scheduler.
183 base::TimeDelta begin_main_frame_interval_; 184 base::TimeDelta begin_main_frame_interval_;
184 185
185 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 186 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
186 }; 187 };
187 188
188 } // namespace content 189 } // namespace content
189 190
190 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 191 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698