| 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/input/synthetic_gesture_target_base.h" |   10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | 
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  470   if (flush_input_timer_.IsRunning()) |  470   if (flush_input_timer_.IsRunning()) | 
|  471     return; |  471     return; | 
|  472  |  472  | 
|  473   flush_input_timer_.Start( |  473   flush_input_timer_.Start( | 
|  474       FROM_HERE, |  474       FROM_HERE, | 
|  475       base::TimeDelta::FromMicroseconds(kFlushInputRateInUs), |  475       base::TimeDelta::FromMicroseconds(kFlushInputRateInUs), | 
|  476       this, |  476       this, | 
|  477       &RenderWidgetHostViewBase::FlushInput); |  477       &RenderWidgetHostViewBase::FlushInput); | 
|  478 } |  478 } | 
|  479  |  479  | 
|  480 void RenderWidgetHostViewBase::GestureEventAck(int gesture_event_type, |  480 void RenderWidgetHostViewBase::GestureEventAck( | 
|  481                                                InputEventAckState ack_result) {} |  481     const blink::WebGestureEvent& event, | 
 |  482     InputEventAckState ack_result) { | 
 |  483 } | 
|  482  |  484  | 
|  483 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { |  485 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { | 
|  484   popup_type_ = popup_type; |  486   popup_type_ = popup_type; | 
|  485 } |  487 } | 
|  486  |  488  | 
|  487 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { |  489 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { | 
|  488   return popup_type_; |  490   return popup_type_; | 
|  489 } |  491 } | 
|  490  |  492  | 
|  491 BrowserAccessibilityManager* |  493 BrowserAccessibilityManager* | 
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  592 void RenderWidgetHostViewBase::FlushInput() { |  594 void RenderWidgetHostViewBase::FlushInput() { | 
|  593   RenderWidgetHostImpl* impl = NULL; |  595   RenderWidgetHostImpl* impl = NULL; | 
|  594   if (GetRenderWidgetHost()) |  596   if (GetRenderWidgetHost()) | 
|  595     impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); |  597     impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); | 
|  596   if (!impl) |  598   if (!impl) | 
|  597     return; |  599     return; | 
|  598   impl->FlushInput(); |  600   impl->FlushInput(); | 
|  599 } |  601 } | 
|  600  |  602  | 
|  601 }  // namespace content |  603 }  // namespace content | 
| OLD | NEW |