diff options
author | aurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 17:03:29 +0000 |
---|---|---|
committer | aurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-09 17:03:29 +0000 |
commit | 501ea13dbca4eb47fa93410e45482abda0ef9ff3 (patch) | |
tree | 8e6ce40cc65a4b2bfd6dea0826d97e268cf4b1fe /content/port | |
parent | 493434d08ef4454db95496507e3ac2f443fafb32 (diff) | |
download | chromium_src-501ea13dbca4eb47fa93410e45482abda0ef9ff3.zip chromium_src-501ea13dbca4eb47fa93410e45482abda0ef9ff3.tar.gz chromium_src-501ea13dbca4eb47fa93410e45482abda0ef9ff3.tar.bz2 |
ifdef CompositionBounds related calls on to OSes that use it.
Composition bounds are only used by OSX, Win, and Aura so ifdefing
the update to limit to only these OSes.
The main reason for this is because getCompositionCharacterBounds
is really slow on Android.
BUG=252803
Review URL: https://chromiumcodereview.appspot.com/17288016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port')
-rw-r--r-- | content/port/browser/render_widget_host_view_port.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h index 3028a70..6aa03de 100644 --- a/content/port/browser/render_widget_host_view_port.h +++ b/content/port/browser/render_widget_host_view_port.h @@ -106,10 +106,12 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, // Cancel the ongoing composition of the input method attached to the view. virtual void ImeCancelComposition() = 0; +#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) // Updates the range of the marked text in an IME composition. virtual void ImeCompositionRangeChanged( const ui::Range& range, const std::vector<gfx::Rect>& character_bounds) = 0; +#endif // Informs the view that a portion of the widget's backing store was scrolled // and/or painted. The view should ensure this gets copied to the screen. |