| OLD | NEW |
| 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/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.
h" | 9 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.
h" |
| 10 #include "content/browser/renderer_host/render_process_host_impl.h" | 10 #include "content/browser/renderer_host/render_process_host_impl.h" |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 const WebKit::WebMouseWheelEvent& event) { | 420 const WebKit::WebMouseWheelEvent& event) { |
| 421 // Most implementations don't need to do anything here. | 421 // Most implementations don't need to do anything here. |
| 422 } | 422 } |
| 423 | 423 |
| 424 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( | 424 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( |
| 425 const WebKit::WebInputEvent& input_event) { | 425 const WebKit::WebInputEvent& input_event) { |
| 426 // By default, input events are simply forwarded to the renderer. | 426 // By default, input events are simply forwarded to the renderer. |
| 427 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; | 427 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; |
| 428 } | 428 } |
| 429 | 429 |
| 430 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type) { | 430 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type, |
| 431 } | 431 InputEventAckState ack_result) {} |
| 432 | 432 |
| 433 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) { | 433 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) { |
| 434 popup_type_ = popup_type; | 434 popup_type_ = popup_type; |
| 435 } | 435 } |
| 436 | 436 |
| 437 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() { | 437 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() { |
| 438 return popup_type_; | 438 return popup_type_; |
| 439 } | 439 } |
| 440 | 440 |
| 441 BrowserAccessibilityManager* | 441 BrowserAccessibilityManager* |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 | 526 |
| 527 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { | 527 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { |
| 528 return renderer_frame_number_; | 528 return renderer_frame_number_; |
| 529 } | 529 } |
| 530 | 530 |
| 531 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { | 531 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { |
| 532 ++renderer_frame_number_; | 532 ++renderer_frame_number_; |
| 533 } | 533 } |
| 534 | 534 |
| 535 } // namespace content | 535 } // namespace content |
| OLD | NEW |