summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/render_widget.h')
-rw-r--r--content/renderer/render_widget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index ce9df19..f4a1c93 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -199,12 +199,12 @@ class RenderWidget : public IPC::Channel::Listener,
void OnMouseCaptureLost();
virtual void OnSetFocus(bool enable);
void OnSetInputMethodActive(bool is_active);
- void OnImeSetComposition(
+ virtual void OnImeSetComposition(
const string16& text,
const std::vector<WebKit::WebCompositionUnderline>& underlines,
int selection_start,
int selection_end);
- void OnImeConfirmComposition(const string16& text);
+ virtual void OnImeConfirmComposition(const string16& text);
void OnMsgPaintAtSize(const TransportDIB::Handle& dib_id,
int tag,
const gfx::Size& page_size,
@@ -273,6 +273,10 @@ class RenderWidget : public IPC::Channel::Listener,
// If they are changed, the new value will be sent to the browser process.
void UpdateInputMethod();
+ // Override point to obtain that the current input method state and caret
+ // position.
+ virtual WebKit::WebTextInputType GetTextInputType();
+
// Tells the renderer it does not have focus. Used to prevent us from getting
// the focus on our own when the browser did not focus us.
void ClearFocus();