| OLD | NEW |
| 1 // Copyright (c) 2012 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/files/file_path.h" | 17 #include "base/files/file_path.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "googleurl/src/gurl.h" | |
| 20 #include "third_party/npapi/bindings/npapi.h" | 19 #include "third_party/npapi/bindings/npapi.h" |
| 21 #include "third_party/npapi/bindings/nphostapi.h" | 20 #include "third_party/npapi/bindings/nphostapi.h" |
| 22 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
| 23 #include "ui/gfx/point.h" | 22 #include "ui/gfx/point.h" |
| 24 #include "ui/gfx/rect.h" | 23 #include "ui/gfx/rect.h" |
| 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 namespace base { | 26 namespace base { |
| 27 class MessageLoop; | 27 class MessageLoop; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace webkit { | 30 namespace webkit { |
| 31 namespace npapi { | 31 namespace npapi { |
| 32 | 32 |
| 33 class PluginLib; | 33 class PluginLib; |
| 34 class PluginHost; | 34 class PluginHost; |
| (...skipping 330 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 |