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

Side by Side Diff: content/renderer/pepper/plugin_module.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_PEPPER_PLUGIN_MODULE_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_MODULE_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_MODULE_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_MODULE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 23 matching lines...) Expand all
34 34
35 namespace ppapi { 35 namespace ppapi {
36 class CallbackTracker; 36 class CallbackTracker;
37 class WebKitForwarding; 37 class WebKitForwarding;
38 } // namespace ppapi 38 } // namespace ppapi
39 39
40 namespace IPC { 40 namespace IPC {
41 struct ChannelHandle; 41 struct ChannelHandle;
42 } 42 }
43 43
44 namespace WebKit { 44 namespace blink {
45 class WebPluginContainer; 45 class WebPluginContainer;
46 } // namespace WebKit 46 } // namespace blink
47 47
48 namespace content { 48 namespace content {
49 class HostDispatcherWrapper; 49 class HostDispatcherWrapper;
50 class PepperPluginInstanceImpl; 50 class PepperPluginInstanceImpl;
51 class PepperBroker; 51 class PepperBroker;
52 class RendererPpapiHostImpl; 52 class RendererPpapiHostImpl;
53 class RenderViewImpl; 53 class RenderViewImpl;
54 struct WebPluginInfo; 54 struct WebPluginInfo;
55 55
56 // Represents one plugin library loaded into one renderer. This library may 56 // Represents one plugin library loaded into one renderer. This library may
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Returns the module handle. This may be used before Init() is called (the 133 // Returns the module handle. This may be used before Init() is called (the
134 // proxy needs this information to set itself up properly). 134 // proxy needs this information to set itself up properly).
135 PP_Module pp_module() const { return pp_module_; } 135 PP_Module pp_module() const { return pp_module_; }
136 136
137 const std::string& name() const { return name_; } 137 const std::string& name() const { return name_; }
138 const base::FilePath& path() const { return path_; } 138 const base::FilePath& path() const { return path_; }
139 const ppapi::PpapiPermissions& permissions() const { return permissions_; } 139 const ppapi::PpapiPermissions& permissions() const { return permissions_; }
140 140
141 PepperPluginInstanceImpl* CreateInstance( 141 PepperPluginInstanceImpl* CreateInstance(
142 RenderViewImpl* render_view, 142 RenderViewImpl* render_view,
143 WebKit::WebPluginContainer* container, 143 blink::WebPluginContainer* container,
144 const GURL& plugin_url); 144 const GURL& plugin_url);
145 145
146 // Returns "some" plugin instance associated with this module. This is not 146 // Returns "some" plugin instance associated with this module. This is not
147 // guaranteed to be any one in particular. This is normally used to execute 147 // guaranteed to be any one in particular. This is normally used to execute
148 // callbacks up to the browser layer that are not inherently per-instance, 148 // callbacks up to the browser layer that are not inherently per-instance,
149 // but the helper lives only on the plugin instance so we need one of them. 149 // but the helper lives only on the plugin instance so we need one of them.
150 PepperPluginInstanceImpl* GetSomeInstance() const; 150 PepperPluginInstanceImpl* GetSomeInstance() const;
151 151
152 const PluginInstanceSet& GetAllInstances() const { return instances_; } 152 const PluginInstanceSet& GetAllInstances() const { return instances_; }
153 153
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 PluginInstanceSet instances_; 270 PluginInstanceSet instances_;
271 271
272 PP_Bool (*reserve_instance_id_)(PP_Module, PP_Instance); 272 PP_Bool (*reserve_instance_id_)(PP_Module, PP_Instance);
273 273
274 DISALLOW_COPY_AND_ASSIGN(PluginModule); 274 DISALLOW_COPY_AND_ASSIGN(PluginModule);
275 }; 275 };
276 276
277 } // namespace content 277 } // namespace content
278 278
279 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_MODULE_H_ 279 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_MODULE_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_websocket_host.cc ('k') | content/renderer/pepper/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698