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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 15058004: cc: Rename VSync to BeginFrame (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Android Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual void DidCommitFrameData() OVERRIDE; 167 virtual void DidCommitFrameData() OVERRIDE;
168 168
169 // Non-virtual methods 169 // Non-virtual methods
170 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 170 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
171 SkColor GetCachedBackgroundColor() const; 171 SkColor GetCachedBackgroundColor() const;
172 void SendKeyEvent(const NativeWebKeyboardEvent& event); 172 void SendKeyEvent(const NativeWebKeyboardEvent& event);
173 void SendTouchEvent(const WebKit::WebTouchEvent& event); 173 void SendTouchEvent(const WebKit::WebTouchEvent& event);
174 void SendMouseEvent(const WebKit::WebMouseEvent& event); 174 void SendMouseEvent(const WebKit::WebMouseEvent& event);
175 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); 175 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event);
176 void SendGestureEvent(const WebKit::WebGestureEvent& event); 176 void SendGestureEvent(const WebKit::WebGestureEvent& event);
177 void SendVSync(base::TimeTicks frame_time); 177 void SendBeginChildFrame(base::TimeTicks frame_time);
178 178
179 void OnProcessImeBatchStateAck(bool is_begin); 179 void OnProcessImeBatchStateAck(bool is_begin);
180 void OnDidChangeBodyBackgroundColor(SkColor color); 180 void OnDidChangeBodyBackgroundColor(SkColor color);
181 void OnStartContentIntent(const GURL& content_url); 181 void OnStartContentIntent(const GURL& content_url);
182 void OnSetVSyncNotificationEnabled(bool enabled); 182 void OnSetNeedsBeginChildFrame(bool enabled);
183 183
184 int GetNativeImeAdapter(); 184 int GetNativeImeAdapter();
185 185
186 void WasResized(); 186 void WasResized();
187 187
188 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size); 188 WebKit::WebGLId GetScaledContentTexture(float scale, gfx::Size* out_size);
189 bool PopulateBitmapWithContents(jobject jbitmap); 189 bool PopulateBitmapWithContents(jobject jbitmap);
190 190
191 bool HasValidFrame() const; 191 bool HasValidFrame() const;
192 192
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 259 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
260 260
261 std::queue<base::Closure> ack_callbacks_; 261 std::queue<base::Closure> ack_callbacks_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 263 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
264 }; 264 };
265 265
266 } // namespace content 266 } // namespace content
267 267
268 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 268 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698