Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: content/renderer/render_widget.h

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a silly mistake lacking an initialization. Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index e7f704e4eca30871596fe5b797b064b792bbed39..73a7b939c4ba6924e8660fd2eeafa6a50c4d1830 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,
@@ -272,6 +272,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();
« no previous file with comments | « content/renderer/render_view.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698