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

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

Issue 590523003: Remove some dead BrowserPlugin and OOPIF compositing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 6 years, 3 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 "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 // Populates BrowserPluginHostMsg_ResizeGuest_Params with resize state. 183 // Populates BrowserPluginHostMsg_ResizeGuest_Params with resize state.
184 void PopulateResizeGuestParameters( 184 void PopulateResizeGuestParameters(
185 const gfx::Size& view_size, 185 const gfx::Size& view_size,
186 BrowserPluginHostMsg_ResizeGuest_Params* params); 186 BrowserPluginHostMsg_ResizeGuest_Params* params);
187 187
188 // IPC message handlers. 188 // IPC message handlers.
189 // Please keep in alphabetical order. 189 // Please keep in alphabetical order.
190 void OnAdvanceFocus(int instance_id, bool reverse); 190 void OnAdvanceFocus(int instance_id, bool reverse);
191 void OnAttachACK(int browser_plugin_instance_id); 191 void OnAttachACK(int browser_plugin_instance_id);
192 void OnBuffersSwapped(int instance_id,
193 const FrameMsg_BuffersSwapped_Params& params);
194 void OnCompositorFrameSwapped(const IPC::Message& message); 192 void OnCompositorFrameSwapped(const IPC::Message& message);
195 void OnCopyFromCompositingSurface(int instance_id, 193 void OnCopyFromCompositingSurface(int instance_id,
196 int request_id, 194 int request_id,
197 gfx::Rect source_rect, 195 gfx::Rect source_rect,
198 gfx::Size dest_size); 196 gfx::Size dest_size);
199 void OnGuestGone(int instance_id); 197 void OnGuestGone(int instance_id);
200 void OnSetCursor(int instance_id, const WebCursor& cursor); 198 void OnSetCursor(int instance_id, const WebCursor& cursor);
201 void OnSetMouseLock(int instance_id, bool enable); 199 void OnSetMouseLock(int instance_id, bool enable);
202 void OnShouldAcceptTouchEvents(int instance_id, bool accept); 200 void OnShouldAcceptTouchEvents(int instance_id, bool accept);
203 201
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 247 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
250 // get called after BrowserPlugin has been destroyed. 248 // get called after BrowserPlugin has been destroyed.
251 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 249 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
252 250
253 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 251 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
254 }; 252 };
255 253
256 } // namespace content 254 } // namespace content
257 255
258 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 256 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698