| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 ui::TextInputClient* RenderWidgetHostViewBase::GetTextInputClient() { | 159 ui::TextInputClient* RenderWidgetHostViewBase::GetTextInputClient() { |
| 160 NOTREACHED(); | 160 NOTREACHED(); |
| 161 return NULL; | 161 return NULL; |
| 162 } | 162 } |
| 163 | 163 |
| 164 void RenderWidgetHostViewBase::SetIsInVR(bool is_in_vr) { | 164 void RenderWidgetHostViewBase::SetIsInVR(bool is_in_vr) { |
| 165 NOTIMPLEMENTED(); | 165 NOTIMPLEMENTED(); |
| 166 } | 166 } |
| 167 | 167 |
| 168 bool RenderWidgetHostViewBase::IsInVR() const { |
| 169 NOTIMPLEMENTED(); |
| 170 return false; |
| 171 } |
| 172 |
| 168 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { | 173 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { |
| 169 return showing_context_menu_; | 174 return showing_context_menu_; |
| 170 } | 175 } |
| 171 | 176 |
| 172 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { | 177 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { |
| 173 DCHECK_NE(showing_context_menu_, showing); | 178 DCHECK_NE(showing_context_menu_, showing); |
| 174 showing_context_menu_ = showing; | 179 showing_context_menu_ = showing; |
| 175 } | 180 } |
| 176 | 181 |
| 177 base::string16 RenderWidgetHostViewBase::GetSelectedText() { | 182 base::string16 RenderWidgetHostViewBase::GetSelectedText() { |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 | 526 |
| 522 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 527 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 523 return false; | 528 return false; |
| 524 } | 529 } |
| 525 | 530 |
| 526 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 531 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 527 return cc::SurfaceId(); | 532 return cc::SurfaceId(); |
| 528 } | 533 } |
| 529 | 534 |
| 530 } // namespace content | 535 } // namespace content |
| OLD | NEW |