diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 05:19:54 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 05:19:54 +0000 |
commit | b25b3ee65454e190be9c17cf3a08abf5ef44619b (patch) | |
tree | ecc712e60ad2796295104df9c9a61cbcbb5124d0 /content/renderer/text_input_client_observer.h | |
parent | b5a29696d7b5f3d2341fc0694e37dacee69d45b3 (diff) | |
download | chromium_src-b25b3ee65454e190be9c17cf3a08abf5ef44619b.zip chromium_src-b25b3ee65454e190be9c17cf3a08abf5ef44619b.tar.gz chromium_src-b25b3ee65454e190be9c17cf3a08abf5ef44619b.tar.bz2 |
[Mac] Place IME candidate window on Pepper plugins near the caret.
BUG=104174
TEST=Manual:
1. make ppapi_example_ime
2. ./your/chrome --register-pepper-plugins=\
"/path/to/ppapi_example_ime.plugin;application/x-ppapi-example-ime" \
file:///path/to/ppapi/examples/ime/ime.html
3. Type some text in the plugin displayed at the top of the example
page using Chinese or Japanese input methods. Verify the candidate
window is shown below the caret.
Review URL: http://codereview.chromium.org/9107003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/text_input_client_observer.h')
-rw-r--r-- | content/renderer/text_input_client_observer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/renderer/text_input_client_observer.h b/content/renderer/text_input_client_observer.h index 9e5e86e..c0d6b46e 100644 --- a/content/renderer/text_input_client_observer.h +++ b/content/renderer/text_input_client_observer.h @@ -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. @@ -37,6 +37,8 @@ class TextInputClientObserver : public content::RenderViewObserver { void OnFirstRectForCharacterRange(ui::Range range); void OnStringForRange(ui::Range range); + RenderViewImpl* const render_view_impl_; + DISALLOW_COPY_AND_ASSIGN(TextInputClientObserver); }; |