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, | |
680 const gfx::Point& point, | 679 const gfx::Point& point, |
681 gfx::Point* transformed_point) { | 680 gfx::Point* transformed_point) { |
682 NOTREACHED(); | 681 NOTREACHED(); |
683 return 0; | 682 return 0; |
684 } | 683 } |
685 | 684 |
686 void RenderWidgetHostViewBase::TransformPointToRootCoordSpace( | 685 void RenderWidgetHostViewBase::TransformPointToRootCoordSpace( |
687 const gfx::Point& point, | 686 const gfx::Point& point, |
688 gfx::Point* transformed_point) { | 687 gfx::Point* transformed_point) { |
689 *transformed_point = point; | 688 *transformed_point = point; |
690 } | 689 } |
691 | 690 |
692 void RenderWidgetHostViewBase::TransformPointToLocalCoordSpace( | 691 void RenderWidgetHostViewBase::TransformPointToLocalCoordSpace( |
693 const gfx::Point& point, | 692 const gfx::Point& point, |
694 cc::SurfaceId original_surface, | 693 cc::SurfaceId original_surface, |
695 gfx::Point* transformed_point) { | 694 gfx::Point* transformed_point) { |
696 *transformed_point = point; | 695 *transformed_point = point; |
697 } | 696 } |
698 | 697 |
699 } // namespace content | 698 } // namespace content |
OLD | NEW |