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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 gfx::Size RenderWidgetHostViewBase::GetRequestedRendererSize() const { | 155 gfx::Size RenderWidgetHostViewBase::GetRequestedRendererSize() const { |
156 return GetViewBounds().size(); | 156 return GetViewBounds().size(); |
157 } | 157 } |
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::SetShowingOverscrollGlow(bool showing) { | 164 void RenderWidgetHostViewBase::SetIsInVR(bool is_in_vr) { |
165 NOTIMPLEMENTED(); | 165 NOTIMPLEMENTED(); |
166 } | 166 } |
167 | 167 |
168 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { | 168 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { |
169 return showing_context_menu_; | 169 return showing_context_menu_; |
170 } | 170 } |
171 | 171 |
172 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { | 172 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { |
173 DCHECK_NE(showing_context_menu_, showing); | 173 DCHECK_NE(showing_context_menu_, showing); |
174 showing_context_menu_ = showing; | 174 showing_context_menu_ = showing; |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 | 524 |
525 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 525 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
526 return false; | 526 return false; |
527 } | 527 } |
528 | 528 |
529 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 529 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
530 return cc::SurfaceId(); | 530 return cc::SurfaceId(); |
531 } | 531 } |
532 | 532 |
533 } // namespace content | 533 } // namespace content |
OLD | NEW |