| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 void RenderWidgetHostViewBase::FlushInput() { | 591 void RenderWidgetHostViewBase::FlushInput() { |
| 590 RenderWidgetHostImpl* impl = NULL; | 592 RenderWidgetHostImpl* impl = NULL; |
| 591 if (GetRenderWidgetHost()) | 593 if (GetRenderWidgetHost()) |
| 592 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); | 594 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); |
| 593 if (!impl) | 595 if (!impl) |
| 594 return; | 596 return; |
| 595 impl->FlushInput(); | 597 impl->FlushInput(); |
| 596 } | 598 } |
| 597 | 599 |
| 598 } // namespace content | 600 } // namespace content |
| OLD | NEW |