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 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/timer.h" | 15 #include "base/timer.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
18 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
| 20 #include "webkit/glue/webcursor.h" |
20 #include "webkit/plugins/npapi/webplugin_delegate.h" | 21 #include "webkit/plugins/npapi/webplugin_delegate.h" |
21 #include "webkit/glue/webcursor.h" | |
22 #include "webkit/plugins/webkit_plugins_export.h" | 22 #include "webkit/plugins/webkit_plugins_export.h" |
23 | 23 |
24 #if defined(OS_WIN) && !defined(USE_AURA) | 24 #if defined(OS_WIN) && !defined(USE_AURA) |
25 #include "base/memory/weak_ptr.h" | 25 #include "base/memory/weak_ptr.h" |
26 #endif | 26 #endif |
27 | 27 |
28 #if defined(USE_X11) | 28 #if defined(USE_X11) |
29 #include "ui/base/x/x11_util.h" | 29 #include "ui/base/x/x11_util.h" |
30 | 30 |
31 typedef struct _GdkDrawable GdkPixmap; | 31 typedef struct _GdkDrawable GdkPixmap; |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 // True if NPP_New did not return an error. | 565 // True if NPP_New did not return an error. |
566 bool creation_succeeded_; | 566 bool creation_succeeded_; |
567 | 567 |
568 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 568 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
569 }; | 569 }; |
570 | 570 |
571 } // namespace npapi | 571 } // namespace npapi |
572 } // namespace webkit | 572 } // namespace webkit |
573 | 573 |
574 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 574 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |