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

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

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comment Created 4 years, 7 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
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 <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.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 "content/renderer/mouse_lock_dispatcher.h" 15 #include "content/renderer/mouse_lock_dispatcher.h"
16 #include "content/renderer/render_view_impl.h" 16 #include "content/renderer/render_view_impl.h"
17 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" 17 #include "third_party/WebKit/public/web/WebCompositionUnderline.h"
18 #include "third_party/WebKit/public/web/WebDragStatus.h" 18 #include "third_party/WebKit/public/web/WebDragStatus.h"
19 #include "third_party/WebKit/public/web/WebNode.h" 19 #include "third_party/WebKit/public/web/WebNode.h"
20 #include "third_party/WebKit/public/web/WebWidget.h" 20 #include "third_party/WebKit/public/web/WebWidget.h"
21 21
22 struct BrowserPluginHostMsg_ResizeGuest_Params; 22 struct BrowserPluginHostMsg_ResizeGuest_Params;
23 struct FrameMsg_BuffersSwapped_Params; 23 struct FrameMsg_BuffersSwapped_Params;
24 24
25 namespace cc { 25 namespace cc {
26 struct SurfaceId; 26 class SurfaceId;
27 struct SurfaceSequence; 27 struct SurfaceSequence;
28 } 28 }
29 29
30 namespace content { 30 namespace content {
31 31
32 class BrowserPluginDelegate; 32 class BrowserPluginDelegate;
33 class BrowserPluginManager; 33 class BrowserPluginManager;
34 class ChildFrameCompositingHelper; 34 class ChildFrameCompositingHelper;
35 35
36 class CONTENT_EXPORT BrowserPlugin : 36 class CONTENT_EXPORT BrowserPlugin :
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 202 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
203 // get called after BrowserPlugin has been destroyed. 203 // get called after BrowserPlugin has been destroyed.
204 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 204 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
205 205
206 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 206 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
207 }; 207 };
208 208
209 } // namespace content 209 } // namespace content
210 210
211 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 211 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/renderer/render_frame_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698