OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
19 #include "base/memory/scoped_ptr.h" | |
20 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
21 #include "third_party/npapi/bindings/npapi.h" | 20 #include "third_party/npapi/bindings/npapi.h" |
22 #include "third_party/npapi/bindings/nphostapi.h" | 21 #include "third_party/npapi/bindings/nphostapi.h" |
23 #include "ui/gfx/native_widget_types.h" | 22 #include "ui/gfx/native_widget_types.h" |
24 #include "ui/gfx/point.h" | 23 #include "ui/gfx/point.h" |
25 #include "ui/gfx/rect.h" | 24 #include "ui/gfx/rect.h" |
26 | 25 |
27 class MessageLoop; | 26 class MessageLoop; |
28 | 27 |
29 namespace webkit { | 28 namespace webkit { |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 private: | 362 private: |
364 scoped_refptr<PluginInstance> instance_; | 363 scoped_refptr<PluginInstance> instance_; |
365 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); | 364 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentPluginEvent); |
366 }; | 365 }; |
367 #endif | 366 #endif |
368 | 367 |
369 } // namespace npapi | 368 } // namespace npapi |
370 } // namespace webkit | 369 } // namespace webkit |
371 | 370 |
372 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ | 371 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_INSTANCE_H_ |
OLD | NEW |