| 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/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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  449     const WebKit::WebMouseWheelEvent& event) { |  449     const WebKit::WebMouseWheelEvent& event) { | 
|  450   // Most implementations don't need to do anything here. |  450   // Most implementations don't need to do anything here. | 
|  451 } |  451 } | 
|  452  |  452  | 
|  453 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( |  453 InputEventAckState RenderWidgetHostViewBase::FilterInputEvent( | 
|  454     const WebKit::WebInputEvent& input_event) { |  454     const WebKit::WebInputEvent& input_event) { | 
|  455   // By default, input events are simply forwarded to the renderer. |  455   // By default, input events are simply forwarded to the renderer. | 
|  456   return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; |  456   return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; | 
|  457 } |  457 } | 
|  458  |  458  | 
 |  459 void RenderWidgetHostViewBase::OnDidFlushInput() { | 
 |  460   // The notification can safely be ignored by most implementations. | 
 |  461 } | 
 |  462  | 
 |  463 void RenderWidgetHostViewBase::OnSetNeedsFlushInput() { | 
 |  464   NOTIMPLEMENTED(); | 
 |  465 } | 
 |  466  | 
|  459 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type, |  467 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type, | 
|  460                                                InputEventAckState ack_result) {} |  468                                                InputEventAckState ack_result) {} | 
|  461  |  469  | 
|  462 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) { |  470 void RenderWidgetHostViewBase::SetPopupType(WebKit::WebPopupType popup_type) { | 
|  463   popup_type_ = popup_type; |  471   popup_type_ = popup_type; | 
|  464 } |  472 } | 
|  465  |  473  | 
|  466 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() { |  474 WebKit::WebPopupType RenderWidgetHostViewBase::GetPopupType() { | 
|  467   return popup_type_; |  475   return popup_type_; | 
|  468 } |  476 } | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  563  |  571  | 
|  564 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { |  572 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { | 
|  565   return renderer_frame_number_; |  573   return renderer_frame_number_; | 
|  566 } |  574 } | 
|  567  |  575  | 
|  568 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { |  576 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { | 
|  569   ++renderer_frame_number_; |  577   ++renderer_frame_number_; | 
|  570 } |  578 } | 
|  571  |  579  | 
|  572 }  // namespace content |  580 }  // namespace content | 
| OLD | NEW |