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 "content/common/cursors/webcursor.h" |
19 #include "third_party/npapi/bindings/npapi.h" | 19 #include "third_party/npapi/bindings/npapi.h" |
| 20 #include "ui/gfx/geometry/rect.h" |
20 #include "ui/gfx/native_widget_types.h" | 21 #include "ui/gfx/native_widget_types.h" |
21 #include "ui/gfx/rect.h" | |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class FilePath; | 24 class FilePath; |
25 } | 25 } |
26 | 26 |
27 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
28 #ifdef __OBJC__ | 28 #ifdef __OBJC__ |
29 @class CALayer; | 29 @class CALayer; |
30 @class CARenderer; | 30 @class CARenderer; |
31 #else | 31 #else |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 | 469 |
470 // True if NPP_New did not return an error. | 470 // True if NPP_New did not return an error. |
471 bool creation_succeeded_; | 471 bool creation_succeeded_; |
472 | 472 |
473 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); | 473 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); |
474 }; | 474 }; |
475 | 475 |
476 } // namespace content | 476 } // namespace content |
477 | 477 |
478 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ | 478 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |