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

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

Issue 19894003: Move webplugininfo.h to content/public. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
OLDNEW
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_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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.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/child/npapi/webplugin_delegate.h" 15 #include "content/child/npapi/webplugin_delegate.h"
16 #include "content/public/common/webplugininfo.h"
16 #include "ipc/ipc_listener.h" 17 #include "ipc/ipc_listener.h"
17 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
18 #include "ipc/ipc_sender.h" 19 #include "ipc/ipc_sender.h"
19 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
20 #include "ui/gfx/rect.h" 21 #include "ui/gfx/rect.h"
21 #include "ui/surface/transport_dib.h" 22 #include "ui/surface/transport_dib.h"
22 #include "url/gurl.h" 23 #include "url/gurl.h"
23 #include "webkit/plugins/webplugininfo.h"
24 24
25 #if defined(OS_MACOSX) 25 #if defined(OS_MACOSX)
26 #include "base/containers/hash_tables.h" 26 #include "base/containers/hash_tables.h"
27 #include "base/memory/linked_ptr.h" 27 #include "base/memory/linked_ptr.h"
28 #endif 28 #endif
29 29
30 struct NPObject; 30 struct NPObject;
31 struct PluginHostMsg_URLRequest_Params; 31 struct PluginHostMsg_URLRequest_Params;
32 class SkBitmap; 32 class SkBitmap;
33 33
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 #if defined(OS_MACOSX) 252 #if defined(OS_MACOSX)
253 bool uses_compositor_; 253 bool uses_compositor_;
254 #elif defined(OS_WIN) 254 #elif defined(OS_WIN)
255 // Used for windowless plugins so that keyboard activation works. 255 // Used for windowless plugins so that keyboard activation works.
256 gfx::NativeViewId dummy_activation_window_; 256 gfx::NativeViewId dummy_activation_window_;
257 #endif 257 #endif
258 gfx::PluginWindowHandle window_; 258 gfx::PluginWindowHandle window_;
259 scoped_refptr<PluginChannelHost> channel_host_; 259 scoped_refptr<PluginChannelHost> channel_host_;
260 std::string mime_type_; 260 std::string mime_type_;
261 int instance_id_; 261 int instance_id_;
262 webkit::WebPluginInfo info_; 262 WebPluginInfo info_;
263 263
264 gfx::Rect plugin_rect_; 264 gfx::Rect plugin_rect_;
265 gfx::Rect clip_rect_; 265 gfx::Rect clip_rect_;
266 266
267 NPObject* npobject_; 267 NPObject* npobject_;
268 268
269 // Dummy NPP used to uniquely identify this plugin. 269 // Dummy NPP used to uniquely identify this plugin.
270 scoped_ptr<NPP_t> npp_; 270 scoped_ptr<NPP_t> npp_;
271 271
272 // Event passed in by the plugin process and is used to decide if messages 272 // Event passed in by the plugin process and is used to decide if messages
(...skipping 23 matching lines...) Expand all
296 296
297 // The url of the main frame hosting the plugin. 297 // The url of the main frame hosting the plugin.
298 GURL page_url_; 298 GURL page_url_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); 300 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy);
301 }; 301 };
302 302
303 } // namespace content 303 } // namespace content
304 304
305 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ 305 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698