OLD | NEW |
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 WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ | 6 #define WEBKIT_PLUGINS_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/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/rect.h" |
15 | 15 |
16 namespace webkit { | 16 namespace webkit { |
17 namespace npapi { | 17 namespace npapi { |
18 | 18 |
19 class PluginInstance; | 19 class PluginInstance; |
20 | 20 |
21 // A class that emulates an IME for windowless plug-ins. A windowless plug-in | 21 // A class that emulates an IME for windowless plug-ins. A windowless plug-in |
22 // does not have a window. Therefore, we cannot attach an IME to a windowless | 22 // does not have a window. Therefore, we cannot attach an IME to a windowless |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 gfx::Rect caret_rect_; | 176 gfx::Rect caret_rect_; |
177 | 177 |
178 // The pointer to the WebPluginIMEWin instance used by patch functions. | 178 // The pointer to the WebPluginIMEWin instance used by patch functions. |
179 static WebPluginIMEWin* instance_; | 179 static WebPluginIMEWin* instance_; |
180 }; | 180 }; |
181 | 181 |
182 } // namespace npapi | 182 } // namespace npapi |
183 } // namespace webkit | 183 } // namespace webkit |
184 | 184 |
185 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ | 185 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ |
OLD | NEW |