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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_guest.cc

Issue 13068002: Send vsync notification from browser to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made the RWHV API Android-only. Created 7 years, 8 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 | Annotate | Revision Log
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 #include "base/bind_helpers.h" 5 #include "base/bind_helpers.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 const gfx::Vector2dF& page_scale_factor_limits, 421 const gfx::Vector2dF& page_scale_factor_limits,
422 const gfx::SizeF& content_size, 422 const gfx::SizeF& content_size,
423 const gfx::SizeF& viewport_size, 423 const gfx::SizeF& viewport_size,
424 const gfx::Vector2dF& controls_offset, 424 const gfx::Vector2dF& controls_offset,
425 const gfx::Vector2dF& content_offset, 425 const gfx::Vector2dF& content_offset,
426 float overdraw_bottom_height) { 426 float overdraw_bottom_height) {
427 } 427 }
428 428
429 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) { 429 void RenderWidgetHostViewGuest::HasTouchEventHandlers(bool need_touch_events) {
430 } 430 }
431
432 void RenderWidgetHostViewGuest::SetVSyncNotificationEnabled(bool enabled) {
433 }
431 #endif // defined(OS_ANDROID) 434 #endif // defined(OS_ANDROID)
432 435
433 #if defined(TOOLKIT_GTK) 436 #if defined(TOOLKIT_GTK)
434 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() { 437 GdkEventButton* RenderWidgetHostViewGuest::GetLastMouseDown() {
435 return NULL; 438 return NULL;
436 } 439 }
437 440
438 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() { 441 gfx::NativeView RenderWidgetHostViewGuest::BuildInputMethodsGtkMenu() {
439 return gfx::NativeView(); 442 return gfx::NativeView();
440 } 443 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 return; 514 return;
512 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); 515 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin();
513 g_it != gestures->end(); 516 g_it != gestures->end();
514 ++g_it) { 517 ++g_it) {
515 ForwardGestureEventToRenderer(*g_it); 518 ForwardGestureEventToRenderer(*g_it);
516 } 519 }
517 } 520 }
518 521
519 522
520 } // namespace content 523 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698