| 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) { |
| 165 NOTIMPLEMENTED(); |
| 166 } |
| 167 |
| 164 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { | 168 bool RenderWidgetHostViewBase::IsShowingContextMenu() const { |
| 165 return showing_context_menu_; | 169 return showing_context_menu_; |
| 166 } | 170 } |
| 167 | 171 |
| 168 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { | 172 void RenderWidgetHostViewBase::SetShowingContextMenu(bool showing) { |
| 169 DCHECK_NE(showing_context_menu_, showing); | 173 DCHECK_NE(showing_context_menu_, showing); |
| 170 showing_context_menu_ = showing; | 174 showing_context_menu_ = showing; |
| 171 } | 175 } |
| 172 | 176 |
| 173 base::string16 RenderWidgetHostViewBase::GetSelectedText() { | 177 base::string16 RenderWidgetHostViewBase::GetSelectedText() { |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 | 530 |
| 527 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 531 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 528 return false; | 532 return false; |
| 529 } | 533 } |
| 530 | 534 |
| 531 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 535 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 532 return cc::SurfaceId(); | 536 return cc::SurfaceId(); |
| 533 } | 537 } |
| 534 | 538 |
| 535 } // namespace content | 539 } // namespace content |
| OLD | NEW |