diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-14 01:26:49 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-14 01:26:49 +0000 |
commit | 90b1e4fe376dc7cdf647548c99c80368c072a98a (patch) | |
tree | 42426105da95a44dad03832e368566727fff11cf /ui/base/ime/mock_input_method.cc | |
parent | cf0f7d9ed9f6dd06c3cdb5c3880d79d727d6356f (diff) | |
download | chromium_src-90b1e4fe376dc7cdf647548c99c80368c072a98a.zip chromium_src-90b1e4fe376dc7cdf647548c99c80368c072a98a.tar.gz chromium_src-90b1e4fe376dc7cdf647548c99c80368c072a98a.tar.bz2 |
Implement off-the-spot mode for Aura-IBus IME.
When a PPAPI plugin does not support drawing composition text by themselves, the browser is expected to do it instead. This patch is for implementing it for Aura IME.
BUG=97189
TEST=Manually tested on ppapi_example_ime.
Review URL: http://codereview.chromium.org/9199004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ime/mock_input_method.cc')
-rw-r--r-- | ui/base/ime/mock_input_method.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc index 9aba8d5..461f19c 100644 --- a/ui/base/ime/mock_input_method.cc +++ b/ui/base/ime/mock_input_method.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -115,4 +115,8 @@ ui::TextInputType MockInputMethod::GetTextInputType() const { return ui::TEXT_INPUT_TYPE_NONE; } +bool MockInputMethod::CanComposeInline() const { + return true; +} + } // namespace ui |