OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 8 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 9 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <stack> | 12 #include <stack> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
17 #include "base/file_path.h" | 17 #include "base/file_path.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 "gfx/native_widget_types.h" | |
21 #include "gfx/point.h" | |
22 #include "gfx/rect.h" | |
23 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
24 #include "third_party/npapi/bindings/npapi.h" | 21 #include "third_party/npapi/bindings/npapi.h" |
25 #include "third_party/npapi/bindings/nphostapi.h" | 22 #include "third_party/npapi/bindings/nphostapi.h" |
| 23 #include "ui/gfx/native_widget_types.h" |
| 24 #include "ui/gfx/point.h" |
| 25 #include "ui/gfx/rect.h" |
26 | 26 |
27 class MessageLoop; | 27 class MessageLoop; |
28 | 28 |
29 namespace webkit { | 29 namespace webkit { |
30 namespace npapi { | 30 namespace npapi { |
31 | 31 |
32 class PluginLib; | 32 class PluginLib; |
33 class PluginHost; | 33 class PluginHost; |
34 class PluginStream; | 34 class PluginStream; |
35 class PluginStreamUrl; | 35 class PluginStreamUrl; |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 private: | 365 private: |
366 scoped_refptr<PluginInstance> instance_; | 366 scoped_refptr<PluginInstance> instance_; |
367 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); | 367 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); |
368 }; | 368 }; |
369 #endif | 369 #endif |
370 | 370 |
371 } // namespace npapi | 371 } // namespace npapi |
372 } // namespace webkit | 372 } // namespace webkit |
373 | 373 |
374 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 374 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
OLD | NEW |