| 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { | 575 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { |
| 576 ++renderer_frame_number_; | 576 ++renderer_frame_number_; |
| 577 } | 577 } |
| 578 | 578 |
| 579 void RenderWidgetHostViewBase::FlushInput() { | 579 void RenderWidgetHostViewBase::FlushInput() { |
| 580 RenderWidgetHostImpl* impl = NULL; | 580 RenderWidgetHostImpl* impl = NULL; |
| 581 if (GetRenderWidgetHost()) | 581 if (GetRenderWidgetHost()) |
| 582 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); | 582 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); |
| 583 if (!impl) | 583 if (!impl) |
| 584 return; | 584 return; |
| 585 impl->FlushInput(); | 585 impl->FlushInput(base::TimeTicks::Now()); |
| 586 } | 586 } |
| 587 | 587 |
| 588 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse( | 588 void RenderWidgetHostViewBase::OnTextSurroundingSelectionResponse( |
| 589 const base::string16& content, | 589 const base::string16& content, |
| 590 size_t start_offset, | 590 size_t start_offset, |
| 591 size_t end_offset) { | 591 size_t end_offset) { |
| 592 NOTIMPLEMENTED(); | 592 NOTIMPLEMENTED(); |
| 593 } | 593 } |
| 594 | 594 |
| 595 void RenderWidgetHostViewBase::ShowDisambiguationPopup( | 595 void RenderWidgetHostViewBase::ShowDisambiguationPopup( |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 } | 675 } |
| 676 | 676 |
| 677 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( | 677 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( |
| 678 const gfx::Point& point, | 678 const gfx::Point& point, |
| 679 gfx::Point* transformed_point) { | 679 gfx::Point* transformed_point) { |
| 680 NOTREACHED(); | 680 NOTREACHED(); |
| 681 return 0; | 681 return 0; |
| 682 } | 682 } |
| 683 | 683 |
| 684 } // namespace content | 684 } // namespace content |
| OLD | NEW |