Chromium Code Reviews

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/gfx/Rect.h" 13 #include "base/gfx/rect.h"
14 14
15 // This header file defines a struct and a class used for encapsulating IMM32 15 // This header file defines a struct and a class used for encapsulating IMM32
16 // APIs, controls IMEs attached to a window, and enables the 'on-the-spot' 16 // APIs, controls IMEs attached to a window, and enables the 'on-the-spot'
17 // input without deep knowledge about the APIs, i.e. knowledge about the 17 // input without deep knowledge about the APIs, i.e. knowledge about the
18 // language-specific and IME-specific behaviors. 18 // language-specific and IME-specific behaviors.
19 // The following items enumerates the simplest steps for an (window) 19 // The following items enumerates the simplest steps for an (window)
20 // application to control its IMEs with the struct and the class defined 20 // application to control its IMEs with the struct and the class defined
21 // this file. 21 // this file.
22 // 1. Add an instance of the ImeInput class to its window class. 22 // 1. Add an instance of the ImeInput class to its window class.
23 // (The ImeInput class needs a window handle.) 23 // (The ImeInput class needs a window handle.)
(...skipping 272 matching lines...)
296 // * true: it creates a system caret. 296 // * true: it creates a system caret.
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_
307
OLDNEW

Powered by Google App Engine