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

Unified Diff: content/renderer/render_widget.h

Issue 1249013005: Merge ViewHostMsg_TextInputTypeChanged and ViewHostMsg_TextInputStateChanged into one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 5 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
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 68715b008305e259a5f1409fddcaf14973a8c4df..14e6346a185ec2fab68d1b5de1e08a7f7c30ca74 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -296,10 +296,6 @@ class CONTENT_EXPORT RenderWidget
void OnSwapBuffersComplete();
void OnSwapBuffersAborted();
- // Checks if the text input state and compose inline mode have been changed.
- // If they are changed, the new value will be sent to the browser process.
- void UpdateTextInputType();
-
// Checks if the selection bounds have been changed. If they are changed,
// the new value will be sent to the browser process.
void UpdateSelectionBounds();
@@ -308,7 +304,6 @@ class CONTENT_EXPORT RenderWidget
void OnShowHostContextMenu(ContextMenuParams* params);
-#if defined(OS_ANDROID) || defined(USE_AURA)
enum ShowIme {
SHOW_IME_IF_NEEDED,
NO_SHOW_IME,
@@ -326,7 +321,6 @@ class CONTENT_EXPORT RenderWidget
// IME events. This is when the text change did not originate from the IME in
// the browser side, such as changes by JavaScript or autofill.
void UpdateTextInputState(ShowIme show_ime, ChangeSource change_source);
-#endif
// Called when animations due to focus change have completed (if any). Can be
// called from the renderer, browser, or compositor.

Powered by Google App Engine
This is Rietveld 408576698