| 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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 } | 457 } |
| 458 | 458 |
| 459 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() { | 459 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() { |
| 460 return false; | 460 return false; |
| 461 } | 461 } |
| 462 | 462 |
| 463 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() { | 463 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() { |
| 464 return false; | 464 return false; |
| 465 } | 465 } |
| 466 | 466 |
| 467 RenderWidgetHostViewBase* RenderWidgetHostViewBase::GetEmbedderView() { |
| 468 NOTREACHED(); |
| 469 return this; |
| 470 } |
| 471 |
| 467 void RenderWidgetHostViewBase::TextInputStateChanged( | 472 void RenderWidgetHostViewBase::TextInputStateChanged( |
| 468 const TextInputState& text_input_state) { | 473 const TextInputState& text_input_state) { |
| 469 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. | 474 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. |
| 470 #if !defined(OS_ANDROID) | 475 #if !defined(OS_ANDROID) |
| 471 if (GetTextInputManager()) | 476 if (GetTextInputManager()) |
| 472 GetTextInputManager()->UpdateTextInputState(this, text_input_state); | 477 GetTextInputManager()->UpdateTextInputState(this, text_input_state); |
| 473 #endif | 478 #endif |
| 474 } | 479 } |
| 475 | 480 |
| 476 void RenderWidgetHostViewBase::ImeCancelComposition() { | 481 void RenderWidgetHostViewBase::ImeCancelComposition() { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 | 528 |
| 524 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 529 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 525 return false; | 530 return false; |
| 526 } | 531 } |
| 527 | 532 |
| 528 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 533 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 529 return cc::SurfaceId(); | 534 return cc::SurfaceId(); |
| 530 } | 535 } |
| 531 | 536 |
| 532 } // namespace content | 537 } // namespace content |
| OLD | NEW |