| Index: content/browser/browser_plugin/browser_plugin_guest.h
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
|
| index b3d491801f68e195b2e3c7e0eb59c2005dee3578..46c95a40da8bed042ba1d12f9a05c679d37fe133 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h
|
| @@ -33,9 +33,12 @@
|
| #include "content/public/browser/web_contents_delegate.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "content/public/common/browser_plugin_permission_type.h"
|
| +#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
|
| #include "third_party/WebKit/public/web/WebDragOperation.h"
|
| #include "third_party/WebKit/public/web/WebDragStatus.h"
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| +#include "ui/base/ime/text_input_mode.h"
|
| +#include "ui/base/ime/text_input_type.h"
|
| #include "ui/gfx/rect.h"
|
| #include "ui/surface/transport_dib.h"
|
|
|
| @@ -57,6 +60,10 @@ namespace blink {
|
| class WebInputEvent;
|
| }
|
|
|
| +namespace gfx {
|
| +class Range;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class BrowserPluginHostFactory;
|
| @@ -463,6 +470,27 @@ class CONTENT_EXPORT BrowserPluginGuest
|
| const BrowserPluginHostMsg_AutoSize_Params& auto_size_params,
|
| const BrowserPluginHostMsg_ResizeGuest_Params& resize_guest_params);
|
|
|
| + void OnTextInputTypeChanged(ui::TextInputType type,
|
| + ui::TextInputMode input_mode,
|
| + bool can_compose_inline);
|
| + void OnImeSetComposition(
|
| + int instance_id,
|
| + const std::string& text,
|
| + const std::vector<blink::WebCompositionUnderline>& underlines,
|
| + int selection_start,
|
| + int selection_end);
|
| + void OnImeConfirmComposition(
|
| + int instance_id,
|
| + const std::string& text,
|
| + bool keep_selection);
|
| + void OnExtendSelectionAndDelete(int instance_id, int before, int after);
|
| + // Overridden in tests.
|
| + virtual void OnImeCancelComposition();
|
| +#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
|
| + void OnImeCompositionRangeChanged(
|
| + const gfx::Range& range,
|
| + const std::vector<gfx::Rect>& character_bounds);
|
| +#endif
|
|
|
| // Message handlers for messages from guest.
|
|
|
|
|