| 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 } | 370 } |
| 371 | 371 |
| 372 return primary_landscape_angle == angle | 372 return primary_landscape_angle == angle |
| 373 ? blink::WebScreenOrientationLandscapePrimary | 373 ? blink::WebScreenOrientationLandscapePrimary |
| 374 : blink::WebScreenOrientationLandscapeSecondary; | 374 : blink::WebScreenOrientationLandscapeSecondary; |
| 375 } | 375 } |
| 376 | 376 |
| 377 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { | 377 void RenderWidgetHostViewBase::OnDidNavigateMainFrameToNewPage() { |
| 378 } | 378 } |
| 379 | 379 |
| 380 uint32_t RenderWidgetHostViewBase::GetSurfaceIdNamespace() { | 380 uint32_t RenderWidgetHostViewBase::GetSurfaceClientId() { |
| 381 return 0; | 381 return 0; |
| 382 } | 382 } |
| 383 | 383 |
| 384 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( | 384 uint32_t RenderWidgetHostViewBase::SurfaceClientIdAtPoint( |
| 385 cc::SurfaceHittestDelegate* delegate, | 385 cc::SurfaceHittestDelegate* delegate, |
| 386 const gfx::Point& point, | 386 const gfx::Point& point, |
| 387 gfx::Point* transformed_point) { | 387 gfx::Point* transformed_point) { |
| 388 NOTREACHED(); | 388 NOTREACHED(); |
| 389 return 0; | 389 return 0; |
| 390 } | 390 } |
| 391 | 391 |
| 392 gfx::Point RenderWidgetHostViewBase::TransformPointToRootCoordSpace( | 392 gfx::Point RenderWidgetHostViewBase::TransformPointToRootCoordSpace( |
| 393 const gfx::Point& point) { | 393 const gfx::Point& point) { |
| 394 return point; | 394 return point; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 | 454 |
| 455 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 455 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 456 return false; | 456 return false; |
| 457 } | 457 } |
| 458 | 458 |
| 459 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 459 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 460 return cc::SurfaceId(); | 460 return cc::SurfaceId(); |
| 461 } | 461 } |
| 462 | 462 |
| 463 } // namespace content | 463 } // namespace content |
| OLD | NEW |