summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/test_render_view_host.h
diff options
context:
space:
mode:
authoraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 17:03:29 +0000
committeraurimas@chromium.org <aurimas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-09 17:03:29 +0000
commit501ea13dbca4eb47fa93410e45482abda0ef9ff3 (patch)
tree8e6ce40cc65a4b2bfd6dea0826d97e268cf4b1fe /content/browser/renderer_host/test_render_view_host.h
parent493434d08ef4454db95496507e3ac2f443fafb32 (diff)
downloadchromium_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/browser/renderer_host/test_render_view_host.h')
-rw-r--r--content/browser/renderer_host/test_render_view_host.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index 9de121d..bdafb36 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -100,9 +100,11 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
virtual void TextInputTypeChanged(ui::TextInputType type,
bool can_compose_inline) OVERRIDE {}
virtual void ImeCancelComposition() OVERRIDE {}
+#if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
virtual void ImeCompositionRangeChanged(
const ui::Range& range,
const std::vector<gfx::Rect>& character_bounds) OVERRIDE {}
+#endif
virtual void DidUpdateBackingStore(
const gfx::Rect& scroll_rect,
const gfx::Vector2d& scroll_delta,