Chromium Code Reviews| Index: public/web/WebPlugin.h |
| diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h |
| index 4d4982282cb378ddb386bb1ff4d637078f1aa3c7..a367c9f15b16def9c8b9d282d7a1c9004f7a094d 100644 |
| --- a/public/web/WebPlugin.h |
| +++ b/public/web/WebPlugin.h |
| @@ -36,6 +36,7 @@ |
| #include "../platform/WebURL.h" |
| #include "WebDragOperation.h" |
| #include "WebDragStatus.h" |
| +#include "WebWidget.h" |
| struct NPObject; |
| struct _NPP; |
| @@ -48,11 +49,13 @@ class WebFrame; |
| class WebInputEvent; |
| class WebPluginContainer; |
| class WebURLResponse; |
| +struct WebCompositionUnderline; |
| struct WebCursorInfo; |
| struct WebPluginParams; |
| struct WebPrintParams; |
| struct WebPoint; |
| struct WebRect; |
| +struct WebTextInputInfo; |
| struct WebURLError; |
| template <typename T> class WebVector; |
| @@ -72,6 +75,7 @@ public: |
| virtual bool getFormValue(WebString&) { return false; } |
| virtual bool supportsKeyboardFocus() const { return false; } |
| virtual bool supportsEditCommands() const { return false; } |
| + virtual bool supportsInputMethod() const { return false; } |
|
tkent
2013/12/10 08:52:19
Because this is a public interface, please add a c
kochi
2013/12/10 09:00:02
Done.
|
| virtual bool canProcessDrag() const { return false; } |
| @@ -125,6 +129,8 @@ public: |
| virtual bool executeEditCommand(const WebString& name) { return false; } |
| virtual bool executeEditCommand(const WebString& name, const WebString& value) { return false; } |
| + virtual bool setComposition(const WebString& text, const WebVector<WebCompositionUnderline>& underlines, int selectionStart, int selectionEnd) { return false; } |
|
tkent
2013/12/10 08:52:19
Ditto.
kochi
2013/12/10 09:00:02
Done.
|
| + virtual bool confirmComposition(const WebString& text, WebWidget::ConfirmCompositionBehavior selectionBehavior) { return false; } |
| // If the given position is over a link, returns the absolute url. |
| // Otherwise an empty url is returned. |
| virtual WebURL linkAtPosition(const WebPoint& position) const { return WebURL(); } |