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

Side by Side Diff: content/child/npapi/webplugin_ime_win.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 | « content/child/npapi/webplugin_delegate_impl.h ('k') | content/child/plugin_messages.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "third_party/npapi/bindings/npapi.h" 13 #include "third_party/npapi/bindings/npapi.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class PluginInstance; 18 class PluginInstance;
19 19
20 // A class that emulates an IME for windowless plug-ins. A windowless plug-in 20 // A class that emulates an IME for windowless plug-ins. A windowless plug-in
21 // does not have a window. Therefore, we cannot attach an IME to a windowless 21 // does not have a window. Therefore, we cannot attach an IME to a windowless
22 // plug-in. To allow such windowless plug-ins to use IMEs without any changes to 22 // plug-in. To allow such windowless plug-ins to use IMEs without any changes to
23 // them, this class receives the IME data from a browser and patches IMM32 23 // them, this class receives the IME data from a browser and patches IMM32
24 // functions to return the IME data when a windowless plug-in calls IMM32 24 // functions to return the IME data when a windowless plug-in calls IMM32
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 int input_type_; 174 int input_type_;
175 gfx::Rect caret_rect_; 175 gfx::Rect caret_rect_;
176 176
177 // The pointer to the WebPluginIMEWin instance used by patch functions. 177 // The pointer to the WebPluginIMEWin instance used by patch functions.
178 static WebPluginIMEWin* instance_; 178 static WebPluginIMEWin* instance_;
179 }; 179 };
180 180
181 } // namespace content 181 } // namespace content
182 182
183 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_ 183 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_IME_WIN_H_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl.h ('k') | content/child/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698