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

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: 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 #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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 float top_controls_delta) override; 139 float top_controls_delta) override;
140 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, 140 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
141 float page_scale, 141 float page_scale,
142 float top_controls_delta) override; 142 float top_controls_delta) override;
143 void RequestNewOutputSurface(bool fallback) override; 143 void RequestNewOutputSurface(bool fallback) override;
144 void DidInitializeOutputSurface() override; 144 void DidInitializeOutputSurface() override;
145 void WillCommit() override; 145 void WillCommit() override;
146 void DidCommit() override; 146 void DidCommit() override;
147 void DidCommitAndDrawFrame() override; 147 void DidCommitAndDrawFrame() override;
148 void DidCompleteSwapBuffers() override; 148 void DidCompleteSwapBuffers() override;
149 void DidCompletePageScaleAnimation() override;
149 void RateLimitSharedMainThreadContext() override; 150 void RateLimitSharedMainThreadContext() override;
150 151
151 // cc::LayerTreeHostSingleThreadClient implementation. 152 // cc::LayerTreeHostSingleThreadClient implementation.
152 void ScheduleAnimation() override; 153 void ScheduleAnimation() override;
153 void DidPostSwapBuffers() override; 154 void DidPostSwapBuffers() override;
154 void DidAbortSwapBuffers() override; 155 void DidAbortSwapBuffers() override;
155 156
156 private: 157 private:
157 RenderWidgetCompositor(RenderWidget* widget, bool threaded); 158 RenderWidgetCompositor(RenderWidget* widget, bool threaded);
158 159
159 void Initialize(cc::LayerTreeSettings settings); 160 void Initialize(cc::LayerTreeSettings settings);
160 161
161 bool threaded_; 162 bool threaded_;
162 RenderWidget* widget_; 163 RenderWidget* widget_;
163 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 164 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
164 165
165 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 166 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
166 167
167 bool send_v8_idle_notification_after_commit_; 168 bool send_v8_idle_notification_after_commit_;
168 base::TimeTicks begin_main_frame_time_; 169 base::TimeTicks begin_main_frame_time_;
169 // The time interval between BeginMainFrame calls, provided by the scheduler. 170 // The time interval between BeginMainFrame calls, provided by the scheduler.
170 base::TimeDelta begin_main_frame_interval_; 171 base::TimeDelta begin_main_frame_interval_;
171 }; 172 };
172 173
173 } // namespace content 174 } // namespace content
174 175
175 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 176 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698