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

Side by Side Diff: content/public/renderer/renderer_ppapi_host.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_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 16 matching lines...) Expand all
27 namespace IPC { 27 namespace IPC {
28 class Message; 28 class Message;
29 } 29 }
30 30
31 namespace ppapi { 31 namespace ppapi {
32 namespace host { 32 namespace host {
33 class PpapiHost; 33 class PpapiHost;
34 } 34 }
35 } 35 }
36 36
37 namespace WebKit { 37 namespace blink {
38 class WebPluginContainer; 38 class WebPluginContainer;
39 } 39 }
40 40
41 namespace content { 41 namespace content {
42 class PepperPluginInstance; 42 class PepperPluginInstance;
43 class RenderView; 43 class RenderView;
44 44
45 // Interface that allows components in the embedder app to talk to the 45 // Interface that allows components in the embedder app to talk to the
46 // PpapiHost in the renderer process. 46 // PpapiHost in the renderer process.
47 // 47 //
(...skipping 22 matching lines...) Expand all
70 // plugin teardown when resource hosts are being force-freed). 70 // plugin teardown when resource hosts are being force-freed).
71 virtual PepperPluginInstance* GetPluginInstance( 71 virtual PepperPluginInstance* GetPluginInstance(
72 PP_Instance instance) const = 0; 72 PP_Instance instance) const = 0;
73 73
74 // Returns the RenderView for the given plugin instance, or NULL if the 74 // Returns the RenderView for the given plugin instance, or NULL if the
75 // instance is invalid. 75 // instance is invalid.
76 virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0; 76 virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const = 0;
77 77
78 // Returns the WebPluginContainer for the given plugin instance, or NULL if 78 // Returns the WebPluginContainer for the given plugin instance, or NULL if
79 // the instance is invalid. 79 // the instance is invalid.
80 virtual WebKit::WebPluginContainer* GetContainerForInstance( 80 virtual blink::WebPluginContainer* GetContainerForInstance(
81 PP_Instance instance) const = 0; 81 PP_Instance instance) const = 0;
82 82
83 // Returns the PID of the child process containing the plugin. If running 83 // Returns the PID of the child process containing the plugin. If running
84 // in-process, this returns base::kNullProcessId. 84 // in-process, this returns base::kNullProcessId.
85 virtual base::ProcessId GetPluginPID() const = 0; 85 virtual base::ProcessId GetPluginPID() const = 0;
86 86
87 // Returns true if the given instance is considered to be currently 87 // Returns true if the given instance is considered to be currently
88 // processing a user gesture or the plugin module has the "override user 88 // processing a user gesture or the plugin module has the "override user
89 // gesture" flag set (in which case it can always do things normally 89 // gesture" flag set (in which case it can always do things normally
90 // restricted by user gestures). Returns false if the instance is invalid or 90 // restricted by user gestures). Returns false if the instance is invalid or
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // interface. Consider changing them to static helpers. 136 // interface. Consider changing them to static helpers.
137 virtual GURL GetDocumentURL(PP_Instance instance) const = 0; 137 virtual GURL GetDocumentURL(PP_Instance instance) const = 0;
138 138
139 protected: 139 protected:
140 virtual ~RendererPpapiHost() {} 140 virtual ~RendererPpapiHost() {}
141 }; 141 };
142 142
143 } // namespace content 143 } // namespace content
144 144
145 #endif // CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_ 145 #endif // CONTENT_PUBLIC_RENDERER_RENDERER_PPAPI_HOST_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_view_observer.cc ('k') | content/public/renderer/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698