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 CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_CHILD_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/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/sequenced_task_runner_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "content/child/npapi/webplugin_delegate.h" | 17 #include "content/child/npapi/webplugin_delegate.h" |
| 18 #include "content/common/cursors/webcursor.h" |
18 #include "third_party/npapi/bindings/npapi.h" | 19 #include "third_party/npapi/bindings/npapi.h" |
19 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
20 #include "ui/gfx/rect.h" | 21 #include "ui/gfx/rect.h" |
21 #include "webkit/common/cursors/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 namespace base { | 29 namespace base { |
30 class FilePath; | 30 class FilePath; |
31 } | 31 } |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 | 500 |
501 // True if NPP_New did not return an error. | 501 // True if NPP_New did not return an error. |
502 bool creation_succeeded_; | 502 bool creation_succeeded_; |
503 | 503 |
504 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 504 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
505 }; | 505 }; |
506 | 506 |
507 } // namespace content | 507 } // namespace content |
508 | 508 |
509 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 509 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |