| 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 const gfx::Point& point, | 450 const gfx::Point& point, |
| 451 RenderWidgetHostViewBase* target_view) { | 451 RenderWidgetHostViewBase* target_view) { |
| 452 NOTREACHED(); | 452 NOTREACHED(); |
| 453 return point; | 453 return point; |
| 454 } | 454 } |
| 455 | 455 |
| 456 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() { | 456 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewGuest() { |
| 457 return false; | 457 return false; |
| 458 } | 458 } |
| 459 | 459 |
| 460 bool RenderWidgetHostViewBase::IsRenderWidgetHostViewChildFrame() { |
| 461 return false; |
| 462 } |
| 463 |
| 460 void RenderWidgetHostViewBase::TextInputStateChanged( | 464 void RenderWidgetHostViewBase::TextInputStateChanged( |
| 461 const TextInputState& text_input_state) { | 465 const TextInputState& text_input_state) { |
| 462 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. | 466 // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. |
| 463 #if !defined(OS_ANDROID) | 467 #if !defined(OS_ANDROID) |
| 464 if (GetTextInputManager()) | 468 if (GetTextInputManager()) |
| 465 GetTextInputManager()->UpdateTextInputState(this, text_input_state); | 469 GetTextInputManager()->UpdateTextInputState(this, text_input_state); |
| 466 #endif | 470 #endif |
| 467 } | 471 } |
| 468 | 472 |
| 469 void RenderWidgetHostViewBase::ImeCancelComposition() { | 473 void RenderWidgetHostViewBase::ImeCancelComposition() { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 | 520 |
| 517 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { | 521 bool RenderWidgetHostViewBase::IsChildFrameForTesting() const { |
| 518 return false; | 522 return false; |
| 519 } | 523 } |
| 520 | 524 |
| 521 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { | 525 cc::SurfaceId RenderWidgetHostViewBase::SurfaceIdForTesting() const { |
| 522 return cc::SurfaceId(); | 526 return cc::SurfaceId(); |
| 523 } | 527 } |
| 524 | 528 |
| 525 } // namespace content | 529 } // namespace content |
| OLD | NEW |