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

Side by Side Diff: webkit/plugins/npapi/webplugin_ime_win.h

Issue 8468026: Cleanup: Remove unneeded forward declarations in webkit/plugins/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
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 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/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 {
17 class WebInputEvent;
18 class WebCompositionEvent;
19 }
20
21 namespace webkit { 16 namespace webkit {
22 namespace npapi { 17 namespace npapi {
23 18
24 class PluginInstance; 19 class PluginInstance;
25 20
26 // 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
27 // 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
28 // plug-in. To allow such windowless plug-ins to use IMEs without any changes to 23 // plug-in. To allow such windowless plug-ins to use IMEs without any changes to
29 // them, this class receives the IME data from a browser and patches IMM32 24 // them, this class receives the IME data from a browser and patches IMM32
30 // functions to return the IME data when a windowless plug-in calls IMM32 25 // functions to return the IME data when a windowless plug-in calls IMM32
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 gfx::Rect caret_rect_; 176 gfx::Rect caret_rect_;
182 177
183 // The pointer to the WebPluginIMEWin instance used by patch functions. 178 // The pointer to the WebPluginIMEWin instance used by patch functions.
184 static WebPluginIMEWin* instance_; 179 static WebPluginIMEWin* instance_;
185 }; 180 };
186 181
187 } // namespace npapi 182 } // namespace npapi
188 } // namespace webkit 183 } // namespace webkit
189 184
190 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_ 185 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IME_WIN_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_delegate_impl.h ('k') | webkit/plugins/npapi/webplugin_ime_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698