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 "content/browser/accessibility/browser_accessibility_manager.h" | 8 #include "content/browser/accessibility/browser_accessibility_manager.h" |
9 #include "content/browser/gpu/gpu_data_manager_impl.h" | 9 #include "content/browser/gpu/gpu_data_manager_impl.h" |
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" | 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 | 425 |
426 gfx::Size RenderWidgetHostViewBase::GetRequestedRendererSize() const { | 426 gfx::Size RenderWidgetHostViewBase::GetRequestedRendererSize() const { |
427 return GetViewBounds().size(); | 427 return GetViewBounds().size(); |
428 } | 428 } |
429 | 429 |
430 ui::TextInputClient* RenderWidgetHostViewBase::GetTextInputClient() { | 430 ui::TextInputClient* RenderWidgetHostViewBase::GetTextInputClient() { |
431 NOTREACHED(); | 431 NOTREACHED(); |
432 return NULL; | 432 return NULL; |
433 } | 433 } |
434 | 434 |
| 435 RenderWidgetHostViewMus* RenderWidgetHostViewBase::AsMusView() { |
| 436 return nullptr; |
| 437 } |
| 438 |
435 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { | 439 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { |
436 return showing_context_menu_; | 440 return showing_context_menu_; |
437 } | 441 } |
438 | 442 |
439 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { | 443 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { |
440 DCHECK_NE(showing_context_menu_, showing); | 444 DCHECK_NE(showing_context_menu_, showing); |
441 showing_context_menu_ = showing; | 445 showing_context_menu_ = showing; |
442 } | 446 } |
443 | 447 |
444 base::string16 RenderWidgetHostViewBase::GetSelectedText() const { | 448 base::string16 RenderWidgetHostViewBase::GetSelectedText() const { |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 } | 679 } |
676 | 680 |
677 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( | 681 uint32_t RenderWidgetHostViewBase::SurfaceIdNamespaceAtPoint( |
678 const gfx::Point& point, | 682 const gfx::Point& point, |
679 gfx::Point* transformed_point) { | 683 gfx::Point* transformed_point) { |
680 NOTREACHED(); | 684 NOTREACHED(); |
681 return 0; | 685 return 0; |
682 } | 686 } |
683 | 687 |
684 } // namespace content | 688 } // namespace content |
OLD | NEW |