summaryrefslogtreecommitdiffstats
path: root/third_party/mozilla/ComplexTextInputPanel.h
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 21:15:13 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-21 21:15:13 +0000
commitb7f75868cb53eb45d3e15263a663327e381d40db (patch)
treebc2faeff6b2f1137e79be528168a26decc646231 /third_party/mozilla/ComplexTextInputPanel.h
parentdb5523bcb7e0419955172709c241a188ab94e8e0 (diff)
downloadchromium_src-b7f75868cb53eb45d3e15263a663327e381d40db.zip
chromium_src-b7f75868cb53eb45d3e15263a663327e381d40db.tar.gz
chromium_src-b7f75868cb53eb45d3e15263a663327e381d40db.tar.bz2
Update Mac plugin IME handling to match updated spec
This changes IME handling per the recent NPAPI spec clarification, and adds the new bool to indicate conformance to the new model. Also: - Fixes an existing bug where the initial key down would be sent to the wrong IME system (since it happens before plugin IME starts) by having the render widget track whether a plugin is focused. - Changes ComplexTextInputPanel to match recent upstream changes. BUG=70427 TEST=None (plugins have not yet implemented Cocoa IME). Review URL: http://codereview.chromium.org/6259013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72190 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/mozilla/ComplexTextInputPanel.h')
-rw-r--r--third_party/mozilla/ComplexTextInputPanel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/mozilla/ComplexTextInputPanel.h b/third_party/mozilla/ComplexTextInputPanel.h
index 598a2b8..be1d92a 100644
--- a/third_party/mozilla/ComplexTextInputPanel.h
+++ b/third_party/mozilla/ComplexTextInputPanel.h
@@ -42,7 +42,8 @@
- (NSTextInputContext*)inputContext;
- (BOOL)interpretKeyEvent:(NSEvent*)event string:(NSString**)string;
-- (void)cancelInput;
+- (void)cancelComposition;
+- (BOOL)inComposition;
@end