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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { | 503 void RenderWidgetHostViewBase::SetPopupType(blink::WebPopupType popup_type) { |
504 popup_type_ = popup_type; | 504 popup_type_ = popup_type; |
505 } | 505 } |
506 | 506 |
507 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { | 507 blink::WebPopupType RenderWidgetHostViewBase::GetPopupType() { |
508 return popup_type_; | 508 return popup_type_; |
509 } | 509 } |
510 | 510 |
511 BrowserAccessibilityManager* | 511 BrowserAccessibilityManager* |
512 RenderWidgetHostViewBase::CreateBrowserAccessibilityManager( | 512 RenderWidgetHostViewBase::CreateBrowserAccessibilityManager( |
513 BrowserAccessibilityDelegate* delegate) { | 513 BrowserAccessibilityDelegate* delegate, bool for_root_frame) { |
514 NOTREACHED(); | 514 NOTREACHED(); |
515 return NULL; | 515 return NULL; |
516 } | 516 } |
517 | 517 |
518 void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) { | 518 void RenderWidgetHostViewBase::AccessibilityShowMenu(const gfx::Point& point) { |
519 RenderWidgetHostImpl* impl = NULL; | 519 RenderWidgetHostImpl* impl = NULL; |
520 if (GetRenderWidgetHost()) | 520 if (GetRenderWidgetHost()) |
521 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); | 521 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); |
522 | 522 |
523 if (impl) | 523 if (impl) |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 void RenderWidgetHostViewBase::RemoveObserver( | 728 void RenderWidgetHostViewBase::RemoveObserver( |
729 RenderWidgetHostViewBaseObserver* observer) { | 729 RenderWidgetHostViewBaseObserver* observer) { |
730 observers_.RemoveObserver(observer); | 730 observers_.RemoveObserver(observer); |
731 } | 731 } |
732 | 732 |
733 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 733 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
734 return cc::SurfaceId(); | 734 return cc::SurfaceId(); |
735 } | 735 } |
736 | 736 |
737 } // namespace content | 737 } // namespace content |
OLD | NEW |