Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 1496103002: Reusing base::IdType<...> to implement SurfaceId. Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-id-base
Patch Set: Rebasing + dusting off... Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/public/web/WebPlugin.h" 8 #include "third_party/WebKit/public/web/WebPlugin.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/sequenced_task_runner_helpers.h" 13 #include "base/sequenced_task_runner_helpers.h"
14 #include "cc/surfaces/surface_id.h"
14 #include "content/renderer/mouse_lock_dispatcher.h" 15 #include "content/renderer/mouse_lock_dispatcher.h"
15 #include "content/renderer/render_view_impl.h" 16 #include "content/renderer/render_view_impl.h"
16 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" 17 #include "third_party/WebKit/public/web/WebCompositionUnderline.h"
17 #include "third_party/WebKit/public/web/WebDragStatus.h" 18 #include "third_party/WebKit/public/web/WebDragStatus.h"
18 #include "third_party/WebKit/public/web/WebNode.h" 19 #include "third_party/WebKit/public/web/WebNode.h"
19 #include "third_party/WebKit/public/web/WebWidget.h" 20 #include "third_party/WebKit/public/web/WebWidget.h"
20 21
21 struct BrowserPluginHostMsg_ResizeGuest_Params; 22 struct BrowserPluginHostMsg_ResizeGuest_Params;
22 struct FrameMsg_BuffersSwapped_Params; 23 struct FrameMsg_BuffersSwapped_Params;
23 24
24 namespace cc { 25 namespace cc {
25 struct SurfaceId;
26 struct SurfaceSequence; 26 struct SurfaceSequence;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 30
31 class BrowserPluginDelegate; 31 class BrowserPluginDelegate;
32 class BrowserPluginManager; 32 class BrowserPluginManager;
33 class ChildFrameCompositingHelper; 33 class ChildFrameCompositingHelper;
34 34
35 class CONTENT_EXPORT BrowserPlugin : 35 class CONTENT_EXPORT BrowserPlugin :
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 208 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
209 // get called after BrowserPlugin has been destroyed. 209 // get called after BrowserPlugin has been destroyed.
210 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 210 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 212 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
213 }; 213 };
214 214
215 } // namespace content 215 } // namespace content
216 216
217 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 217 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698