| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 } | 410 } |
| 411 | 411 |
| 412 return primary_landscape_angle == angle | 412 return primary_landscape_angle == angle |
| 413 ? SCREEN_ORIENTATION_VALUES_LANDSCAPE_PRIMARY | 413 ? SCREEN_ORIENTATION_VALUES_LANDSCAPE_PRIMARY |
| 414 : SCREEN_ORIENTATION_VALUES_LANDSCAPE_SECONDARY; | 414 : SCREEN_ORIENTATION_VALUES_LANDSCAPE_SECONDARY; |
| 415 } | 415 } |
| 416 | 416 |
| 417 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { | 417 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { |
| 418 } | 418 } |
| 419 | 419 |
| 420 uint32_t RenderWidgetHostViewBase::GetSurfaceClientId() { | 420 cc::FrameSinkId RenderWidgetHostViewBase::GetFrameSinkId() { |
| 421 return 0; | 421 return cc::FrameSinkId(); |
| 422 } | 422 } |
| 423 | 423 |
| 424 uint32_t RenderWidgetHostViewBase::SurfaceClientIdAtPoint( | 424 cc::FrameSinkId RenderWidgetHostViewBase::FrameSinkIdAtPoint( |
| 425 cc::SurfaceHittestDelegate* delegate, | 425 cc::SurfaceHittestDelegate* delegate, |
| 426 const gfx::Point& point, | 426 const gfx::Point& point, |
| 427 gfx::Point* transformed_point) { | 427 gfx::Point* transformed_point) { |
| 428 NOTREACHED(); | 428 NOTREACHED(); |
| 429 return 0; | 429 return cc::FrameSinkId(); |
| 430 } | 430 } |
| 431 | 431 |
| 432 gfx::Point RenderWidgetHostViewBase::TransformPointToRootCoordSpace( | 432 gfx::Point RenderWidgetHostViewBase::TransformPointToRootCoordSpace( |
| 433 const gfx::Point& point) { | 433 const gfx::Point& point) { |
| 434 return point; | 434 return point; |
| 435 } | 435 } |
| 436 | 436 |
| 437 gfx::PointF RenderWidgetHostViewBase::TransformPointToRootCoordSpaceF( | 437 gfx::PointF RenderWidgetHostViewBase::TransformPointToRootCoordSpaceF( |
| 438 const gfx::PointF& point) { | 438 const gfx::PointF& point) { |
| 439 return gfx::PointF(TransformPointToRootCoordSpace( | 439 return gfx::PointF(TransformPointToRootCoordSpace( |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 | 516 |
| 517 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 517 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 518 return false; | 518 return false; |
| 519 } | 519 } |
| 520 | 520 |
| 521 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 521 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 522 return cc::SurfaceId(); | 522 return cc::SurfaceId(); |
| 523 } | 523 } |
| 524 | 524 |
| 525 } // namespace content | 525 } // namespace content |
| OLD | NEW |