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 #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 <list> | 9 #include <list> |
10 | 10 |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/task.h" | 13 #include "base/task.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 "gfx/native_widget_types.h" | |
18 #include "gfx/rect.h" | |
19 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
| 18 #include "ui/gfx/native_widget_types.h" |
| 19 #include "ui/gfx/rect.h" |
20 #include "webkit/plugins/npapi/webplugin_delegate.h" | 20 #include "webkit/plugins/npapi/webplugin_delegate.h" |
21 #include "webkit/glue/webcursor.h" | 21 #include "webkit/glue/webcursor.h" |
22 | 22 |
23 #if defined(USE_X11) | 23 #if defined(USE_X11) |
24 #include "ui/base/x/x11_util.h" | 24 #include "ui/base/x/x11_util.h" |
25 | 25 |
26 typedef struct _GdkDrawable GdkPixmap; | 26 typedef struct _GdkDrawable GdkPixmap; |
27 #endif | 27 #endif |
28 | 28 |
29 class FilePath; | 29 class FilePath; |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 // True if NPP_New did not return an error. | 511 // True if NPP_New did not return an error. |
512 bool creation_succeeded_; | 512 bool creation_succeeded_; |
513 | 513 |
514 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 514 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
515 }; | 515 }; |
516 | 516 |
517 } // namespace npapi | 517 } // namespace npapi |
518 } // namespace webkit | 518 } // namespace webkit |
519 | 519 |
520 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 520 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |