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

Side by Side Diff: chrome/browser/ime_input.h

Issue 295003: Make backspace not go back while IME is active. (Closed)
Patch Set: s/skip/skip_in_browser/ Created 11 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/global_keyboard_shortcuts_mac.mm ('k') | chrome/browser/ime_input.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_IME_INPUT_H_ 5 #ifndef CHROME_BROWSER_IME_INPUT_H_
6 #define CHROME_BROWSER_IME_INPUT_H_ 6 #define CHROME_BROWSER_IME_INPUT_H_
7 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // recognizers (e.g. ViaVoice and Microsoft Office), etc. 86 // recognizers (e.g. ViaVoice and Microsoft Office), etc.
87 // We can disable TSF and CUAS in Windows XP Tablet PC Edition. On the other 87 // We can disable TSF and CUAS in Windows XP Tablet PC Edition. On the other
88 // hand, we can NEVER disable either TSF or CUAS in Windows Vista, i.e. 88 // hand, we can NEVER disable either TSF or CUAS in Windows Vista, i.e.
89 // THIS CLASS IS NOT ONLY USED ON THE INPUT CONTEXTS OF EAST-ASIAN 89 // THIS CLASS IS NOT ONLY USED ON THE INPUT CONTEXTS OF EAST-ASIAN
90 // LANGUAGES BUT ALSO USED ON THE INPUT CONTEXTS OF ALL LANGUAGES. 90 // LANGUAGES BUT ALSO USED ON THE INPUT CONTEXTS OF ALL LANGUAGES.
91 class ImeInput { 91 class ImeInput {
92 public: 92 public:
93 ImeInput(); 93 ImeInput();
94 ~ImeInput(); 94 ~ImeInput();
95 95
96 // Retrieves whether or not there is an ongiong composition. 96 // Retrieves whether or not there is an ongoing composition.
97 bool is_composing() const { return is_composing_; } 97 bool is_composing() const { return is_composing_; }
98 98
99 // Retrieves the input language from Windows and update it. 99 // Retrieves the input language from Windows and update it.
100 // Return values 100 // Return values
101 // * true 101 // * true
102 // The given input language has IMEs. 102 // The given input language has IMEs.
103 // * false 103 // * false
104 // The given input language does not have IMEs. 104 // The given input language does not have IMEs.
105 bool SetInputLanguage(); 105 bool SetInputLanguage();
106 106
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // * false: it does not create a system caret. 297 // * false: it does not create a system caret.
298 bool system_caret_; 298 bool system_caret_;
299 299
300 // The rectangle of the input caret retrieved from a renderer process. 300 // The rectangle of the input caret retrieved from a renderer process.
301 gfx::Rect caret_rect_; 301 gfx::Rect caret_rect_;
302 302
303 DISALLOW_EVIL_CONSTRUCTORS(ImeInput); 303 DISALLOW_EVIL_CONSTRUCTORS(ImeInput);
304 }; 304 };
305 305
306 #endif // #ifndef CHROME_BROWSER_IME_INPUT_H_ 306 #endif // #ifndef CHROME_BROWSER_IME_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/global_keyboard_shortcuts_mac.mm ('k') | chrome/browser/ime_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698