| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index 39870645e3f78be7ce68563f2ed1a442aba7c3e5..04db5bd34157151ced02eae4b14a3087609717d3 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -354,8 +354,10 @@ class CONTENT_EXPORT RenderWidget
|
| void OnGetFPS();
|
| void OnUpdateScreenRects(const gfx::Rect& view_screen_rect,
|
| const gfx::Rect& window_screen_rect);
|
| +#if defined(OS_ANDROID) || defined(USE_AURA)
|
| #if defined(OS_ANDROID)
|
| void OnShowImeIfNeeded();
|
| +#endif
|
|
|
| // Whenever an IME event that needs an acknowledgement is sent to the browser,
|
| // the number of outstanding IME events that needs acknowledgement should be
|
| @@ -445,7 +447,7 @@ class CONTENT_EXPORT RenderWidget
|
| // If they are changed, the new value will be sent to the browser process.
|
| void UpdateTextInputType();
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(USE_AURA)
|
| // |show_ime_if_needed| should be true iff the update may cause the ime to be
|
| // displayed, e.g. after a tap on an input field on mobile.
|
| // |send_ime_ack| should be true iff the browser side is required to
|
| @@ -770,7 +772,7 @@ class CONTENT_EXPORT RenderWidget
|
|
|
| uint32 next_output_surface_id_;
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) || defined(USE_AURA)
|
| // A counter for number of outstanding messages from the renderer to the
|
| // browser regarding IME-type events that have not been acknowledged by the
|
| // browser. If this value is not 0 IME events will be dropped.
|
|
|