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

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

Issue 3013038: Fix lines longer than 80 characters. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 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/child_process_security_policy.h ('k') | chrome/common/webkit_param_traits.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Represents whether or not to complete the ongoing composition. 217 // Represents whether or not to complete the ongoing composition.
218 // + true 218 // + true
219 // After finishing the ongoing composition and close its IME windows, 219 // After finishing the ongoing composition and close its IME windows,
220 // start another composition and display its IME windows to the given 220 // start another composition and display its IME windows to the given
221 // position. 221 // position.
222 // + false 222 // + false
223 // Just move the IME windows of the ongoing composition to the given 223 // Just move the IME windows of the ongoing composition to the given
224 // position without finishing it. 224 // position without finishing it.
225 void EnableIME(HWND window_handle); 225 void EnableIME(HWND window_handle);
226 226
227 // Disables the IME attached to the given window, i.e. prohibits any user-inpu t 227 // Disables the IME attached to the given window, i.e. prohibits any
228 // events from being dispatched to the IME. 228 // user-input events from being dispatched to the IME.
229 // In Chrome, this function is used when: 229 // In Chrome, this function is used when:
230 // * a renreder process sets its input focus to a password input. 230 // * a renreder process sets its input focus to a password input.
231 // Parameters 231 // Parameters
232 // * window_handle [in] (HWND) 232 // * window_handle [in] (HWND)
233 // Represents the window handle of the caller. 233 // Represents the window handle of the caller.
234 void DisableIME(HWND window_handle); 234 void DisableIME(HWND window_handle);
235 235
236 // Cancels an ongoing composition of the IME attached to the given window. 236 // Cancels an ongoing composition of the IME attached to the given window.
237 // Parameters 237 // Parameters
238 // * window_handle [in] (HWND) 238 // * window_handle [in] (HWND)
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // * false: it does not create a system caret. 303 // * false: it does not create a system caret.
304 bool system_caret_; 304 bool system_caret_;
305 305
306 // The rectangle of the input caret retrieved from a renderer process. 306 // The rectangle of the input caret retrieved from a renderer process.
307 gfx::Rect caret_rect_; 307 gfx::Rect caret_rect_;
308 308
309 DISALLOW_COPY_AND_ASSIGN(ImeInput); 309 DISALLOW_COPY_AND_ASSIGN(ImeInput);
310 }; 310 };
311 311
312 #endif // CHROME_BROWSER_IME_INPUT_H_ 312 #endif // CHROME_BROWSER_IME_INPUT_H_
OLDNEW
« no previous file with comments | « chrome/browser/child_process_security_policy.h ('k') | chrome/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698