Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: ui/base/win/ime_input.h

Issue 10907170: Show composition window for IME-unaware PPAPI plugins on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/win/ime_input.h
diff --git a/ui/base/win/ime_input.h b/ui/base/win/ime_input.h
index dc629e80977da2786e0b11f67e23f7ceb298ccc2..762b434b5ca5dbb563c28a33a215b93d569e69f0 100644
--- a/ui/base/win/ime_input.h
+++ b/ui/base/win/ime_input.h
@@ -227,6 +227,9 @@ class UI_EXPORT ImeInput {
// This rectangle is used for controlling the positions of IME windows.
void UpdateCaretRect(HWND window_handle, const gfx::Rect& caret_rect);
+ // Updates the setting whether we want IME to render composition text.
+ void SetUseCompositionWindow(bool use_composition_window);
+
// Returns the current input language id.
LANGID input_language_id() const { return input_language_id_; }
@@ -305,6 +308,9 @@ class UI_EXPORT ImeInput {
// The rectangle of the input caret retrieved from a renderer process.
gfx::Rect caret_rect_;
+ // Indicates whether or not we want IME to render composition text.
+ bool use_composition_window_;
+
DISALLOW_COPY_AND_ASSIGN(ImeInput);
};

Powered by Google App Engine
This is Rietveld 408576698