OLD | NEW |
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 // TODO: Need to deal with NPAPI's NPSavedData. | 5 // TODO: Need to deal with NPAPI's NPSavedData. |
6 // I haven't seen plugins use it yet. | 6 // I haven't seen plugins use it yet. |
7 | 7 |
8 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ | 8 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ |
9 #define WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ | 9 #define WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 #include <stack> | 13 #include <stack> |
14 | 14 |
| 15 #include "app/gfx/native_widget_types.h" |
15 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
16 #include "base/file_path.h" | 17 #include "base/file_path.h" |
17 #include "base/gfx/native_widget_types.h" | |
18 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
19 #include "base/scoped_ptr.h" | 19 #include "base/scoped_ptr.h" |
20 #include "webkit/glue/plugins/nphostapi.h" | 20 #include "webkit/glue/plugins/nphostapi.h" |
21 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
22 #include "third_party/npapi/bindings/npapi.h" | 22 #include "third_party/npapi/bindings/npapi.h" |
23 | 23 |
24 class MessageLoop; | 24 class MessageLoop; |
25 | 25 |
26 namespace webkit_glue { | 26 namespace webkit_glue { |
27 class WebPlugin; | 27 class WebPlugin; |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // List of files created for the current plugin instance. File names are | 246 // List of files created for the current plugin instance. File names are |
247 // added to the list every time the NPP_StreamAsFile function is called. | 247 // added to the list every time the NPP_StreamAsFile function is called. |
248 std::vector<FilePath> files_created_; | 248 std::vector<FilePath> files_created_; |
249 | 249 |
250 DISALLOW_EVIL_CONSTRUCTORS(PluginInstance); | 250 DISALLOW_EVIL_CONSTRUCTORS(PluginInstance); |
251 }; | 251 }; |
252 | 252 |
253 } // namespace NPAPI | 253 } // namespace NPAPI |
254 | 254 |
255 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ | 255 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_INSTANCE_H__ |
OLD | NEW |