| 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/browser_plugin/browser_plugin_guest.h" | 5 #include "content/browser/browser_plugin/browser_plugin_guest.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
| (...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 #if defined(OS_MACOSX) || defined(USE_AURA) | 991 #if defined(OS_MACOSX) || defined(USE_AURA) |
| 992 void BrowserPluginGuest::OnImeCompositionRangeChanged( | 992 void BrowserPluginGuest::OnImeCompositionRangeChanged( |
| 993 const gfx::Range& range, | 993 const gfx::Range& range, |
| 994 const std::vector<gfx::Rect>& character_bounds) { | 994 const std::vector<gfx::Rect>& character_bounds) { |
| 995 static_cast<RenderWidgetHostViewBase*>( | 995 static_cast<RenderWidgetHostViewBase*>( |
| 996 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged( | 996 web_contents()->GetRenderWidgetHostView())->ImeCompositionRangeChanged( |
| 997 range, character_bounds); | 997 range, character_bounds); |
| 998 } | 998 } |
| 999 #endif | 999 #endif |
| 1000 | 1000 |
| 1001 void BrowserPluginGuest::SetContextMenuPosition(const gfx::Point& position) { |
| 1002 if (delegate_) |
| 1003 delegate_->SetContextMenuPosition(position); |
| 1004 } |
| 1005 |
| 1001 } // namespace content | 1006 } // namespace content |
| OLD | NEW |