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 "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/browser/accessibility/browser_accessibility_manager.h" | 9 #include "content/browser/accessibility/browser_accessibility_manager.h" |
10 #include "content/browser/gpu/gpu_data_manager_impl.h" | 10 #include "content/browser/gpu/gpu_data_manager_impl.h" |
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 } | 669 } |
670 | 670 |
671 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { | 671 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { |
672 } | 672 } |
673 | 673 |
674 uint32_t RenderWidgetHostViewBase::GetSurfaceIdNamespace() { | 674 uint32_t RenderWidgetHostViewBase::GetSurfaceIdNamespace() { |
675 return 0; | 675 return 0; |
676 } | 676 } |
677 | 677 |
678 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( | 678 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( |
| 679 cc::SurfaceHittestDelegate* delegate, |
679 const gfx::Point& point, | 680 const gfx::Point& point, |
680 gfx::Point* transformed_point) { | 681 gfx::Point* transformed_point) { |
681 NOTREACHED(); | 682 NOTREACHED(); |
682 return 0; | 683 return 0; |
683 } | 684 } |
684 | 685 |
685 void RenderWidgetHostViewBase::TransformPointToRootCoordSpace( | 686 void RenderWidgetHostViewBase::TransformPointToRootCoordSpace( |
686 const gfx::Point& point, | 687 const gfx::Point& point, |
687 gfx::Point* transformed_point) { | 688 gfx::Point* transformed_point) { |
688 *transformed_point = point; | 689 *transformed_point = point; |
689 } | 690 } |
690 | 691 |
691 void RenderWidgetHostViewBase::TransformPointToLocalCoordSpace( | 692 void RenderWidgetHostViewBase::TransformPointToLocalCoordSpace( |
692 const gfx::Point& point, | 693 const gfx::Point& point, |
693 cc::SurfaceId original_surface, | 694 cc::SurfaceId original_surface, |
694 gfx::Point* transformed_point) { | 695 gfx::Point* transformed_point) { |
695 *transformed_point = point; | 696 *transformed_point = point; |
696 } | 697 } |
697 | 698 |
698 } // namespace content | 699 } // namespace content |
OLD | NEW |