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

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

Issue 7648017: Make WebPluginInfo more generic (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/renderer_glue.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEBPLUGIN_DELEGATE_PROXY_H_ 5 #ifndef CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "ipc/ipc_channel.h" 16 #include "ipc/ipc_channel.h"
17 #include "ipc/ipc_message.h" 17 #include "ipc/ipc_message.h"
18 #include "ui/gfx/native_widget_types.h" 18 #include "ui/gfx/native_widget_types.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 #include "ui/gfx/surface/transport_dib.h" 20 #include "ui/gfx/surface/transport_dib.h"
21 #include "webkit/plugins/npapi/webplugininfo.h"
22 #include "webkit/plugins/npapi/webplugin_delegate.h" 21 #include "webkit/plugins/npapi/webplugin_delegate.h"
22 #include "webkit/plugins/webplugininfo.h"
23 23
24 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
25 #include "base/hash_tables.h" 25 #include "base/hash_tables.h"
26 #include "base/memory/linked_ptr.h" 26 #include "base/memory/linked_ptr.h"
27 #endif 27 #endif
28 28
29 struct NPObject; 29 struct NPObject;
30 class NPObjectStub; 30 class NPObjectStub;
31 struct NPVariant_Param; 31 struct NPVariant_Param;
32 class PluginChannelHost; 32 class PluginChannelHost;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 bool UseSynchronousGeometryUpdates(); 257 bool UseSynchronousGeometryUpdates();
258 #endif 258 #endif
259 259
260 base::WeakPtr<RenderView> render_view_; 260 base::WeakPtr<RenderView> render_view_;
261 webkit::npapi::WebPlugin* plugin_; 261 webkit::npapi::WebPlugin* plugin_;
262 bool uses_shared_bitmaps_; 262 bool uses_shared_bitmaps_;
263 gfx::PluginWindowHandle window_; 263 gfx::PluginWindowHandle window_;
264 scoped_refptr<PluginChannelHost> channel_host_; 264 scoped_refptr<PluginChannelHost> channel_host_;
265 std::string mime_type_; 265 std::string mime_type_;
266 int instance_id_; 266 int instance_id_;
267 webkit::npapi::WebPluginInfo info_; 267 webkit::WebPluginInfo info_;
268 268
269 gfx::Rect plugin_rect_; 269 gfx::Rect plugin_rect_;
270 gfx::Rect clip_rect_; 270 gfx::Rect clip_rect_;
271 271
272 NPObject* npobject_; 272 NPObject* npobject_;
273 base::WeakPtr<NPObjectStub> window_script_object_; 273 base::WeakPtr<NPObjectStub> window_script_object_;
274 274
275 // Event passed in by the plugin process and is used to decide if 275 // Event passed in by the plugin process and is used to decide if
276 // messages need to be pumped in the NPP_HandleEvent sync call. 276 // messages need to be pumped in the NPP_HandleEvent sync call.
277 scoped_ptr<base::WaitableEvent> modal_loop_pump_messages_event_; 277 scoped_ptr<base::WaitableEvent> modal_loop_pump_messages_event_;
(...skipping 23 matching lines...) Expand all
301 // back-buffer. 301 // back-buffer.
302 gfx::Rect front_buffer_diff_; 302 gfx::Rect front_buffer_diff_;
303 303
304 // The url of the main frame hosting the plugin. 304 // The url of the main frame hosting the plugin.
305 GURL page_url_; 305 GURL page_url_;
306 306
307 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 307 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
308 }; 308 };
309 309
310 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 310 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_glue.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698