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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
7 | 7 |
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" | 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPlugin.h" |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/process_util.h" | 12 #include "base/process_util.h" |
13 #include "base/task/sequenced_task_runner_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
15 #include "base/shared_memory.h" | 15 #include "base/shared_memory.h" |
16 #endif | 16 #endif |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "content/common/browser_plugin/browser_plugin_message_enums.h" | 18 #include "content/common/browser_plugin/browser_plugin_message_enums.h" |
19 #include "content/renderer/browser_plugin/browser_plugin_backing_store.h" | 19 #include "content/renderer/browser_plugin/browser_plugin_backing_store.h" |
20 #include "content/renderer/browser_plugin/browser_plugin_bindings.h" | 20 #include "content/renderer/browser_plugin/browser_plugin_bindings.h" |
21 #include "content/renderer/mouse_lock_dispatcher.h" | 21 #include "content/renderer/mouse_lock_dispatcher.h" |
22 #include "content/renderer/render_view_impl.h" | 22 #include "content/renderer/render_view_impl.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragStatus.h" |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might | 442 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might |
443 // get called after BrowserPlugin has been destroyed. | 443 // get called after BrowserPlugin has been destroyed. |
444 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; | 444 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; |
445 | 445 |
446 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); | 446 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); |
447 }; | 447 }; |
448 | 448 |
449 } // namespace content | 449 } // namespace content |
450 | 450 |
451 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ | 451 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ |
OLD | NEW |