| 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 "base/bind_helpers.h" | 5 #include "base/bind_helpers.h" |
| 6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" | 9 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
| 10 #include "content/browser/renderer_host/render_view_host_impl.h" | 10 #include "content/browser/renderer_host/render_view_host_impl.h" |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 } | 464 } |
| 465 | 465 |
| 466 bool RenderWidgetHostViewGuest::IsSpeaking() const { | 466 bool RenderWidgetHostViewGuest::IsSpeaking() const { |
| 467 return platform_view_->IsSpeaking(); | 467 return platform_view_->IsSpeaking(); |
| 468 } | 468 } |
| 469 | 469 |
| 470 void RenderWidgetHostViewGuest::StopSpeaking() { | 470 void RenderWidgetHostViewGuest::StopSpeaking() { |
| 471 platform_view_->StopSpeaking(); | 471 platform_view_->StopSpeaking(); |
| 472 } | 472 } |
| 473 | 473 |
| 474 void RenderWidgetHostViewGuest::AboutToWaitForBackingStoreMsg() { | |
| 475 NOTREACHED(); | |
| 476 } | |
| 477 | |
| 478 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( | 474 bool RenderWidgetHostViewGuest::PostProcessEventForPluginIme( |
| 479 const NativeWebKeyboardEvent& event) { | 475 const NativeWebKeyboardEvent& event) { |
| 480 return false; | 476 return false; |
| 481 } | 477 } |
| 482 | 478 |
| 483 #endif // defined(OS_MACOSX) | 479 #endif // defined(OS_MACOSX) |
| 484 | 480 |
| 485 #if defined(OS_ANDROID) | 481 #if defined(OS_ANDROID) |
| 486 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( | 482 void RenderWidgetHostViewGuest::ShowDisambiguationPopup( |
| 487 const gfx::Rect& target_rect, | 483 const gfx::Rect& target_rect, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 return; | 586 return; |
| 591 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); | 587 for (ui::GestureRecognizer::Gestures::iterator g_it = gestures->begin(); |
| 592 g_it != gestures->end(); | 588 g_it != gestures->end(); |
| 593 ++g_it) { | 589 ++g_it) { |
| 594 ForwardGestureEventToRenderer(*g_it); | 590 ForwardGestureEventToRenderer(*g_it); |
| 595 } | 591 } |
| 596 } | 592 } |
| 597 | 593 |
| 598 | 594 |
| 599 } // namespace content | 595 } // namespace content |
| OLD | NEW |