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

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

Issue 20990009: Handle root layer fling Java-side in android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix findbugs Created 7 years, 4 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 "content/browser/renderer_host/render_widget_host_view_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h" 10 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h"
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 const WebKit::WebMouseWheelEvent& event) { 425 const WebKit::WebMouseWheelEvent& event) {
426 // Most implementations don't need to do anything here. 426 // Most implementations don't need to do anything here.
427 } 427 }
428 428
429 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( 429 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent(
430 const WebKit::WebInputEvent& input_event) { 430 const WebKit::WebInputEvent& input_event) {
431 // By default, input events are simply forwarded to the renderer. 431 // By default, input events are simply forwarded to the renderer.
432 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 432 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
433 } 433 }
434 434
435 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type) { 435 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type,
436 } 436 InputEventAckState ack_result) {}
437 437
438 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) { 438 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) {
439 popup_type_ = popup_type; 439 popup_type_ = popup_type;
440 } 440 }
441 441
442 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() { 442 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() {
443 return popup_type_; 443 return popup_type_;
444 } 444 }
445 445
446 BrowserAccessibilityManager* 446 BrowserAccessibilityManager*
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 531
532 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { 532 uint32 RenderWidgetHostViewBase::RendererFrameNumber() {
533 return renderer_frame_number_; 533 return renderer_frame_number_;
534 } 534 }
535 535
536 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { 536 void RenderWidgetHostViewBase::DidReceiveRendererFrame() {
537 ++renderer_frame_number_; 537 ++renderer_frame_number_;
538 } 538 }
539 539
540 } // namespace content 540 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698