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

Side by Side Diff: content/public/renderer/render_frame.h

Issue 2844063003: Migrate RenderFrameImpl to use BinderRegistry. (Closed)
Patch Set: . Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_RENDER_FRAME_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 20 matching lines...) Expand all
31 class WebURLRequest; 31 class WebURLRequest;
32 struct WebPluginParams; 32 struct WebPluginParams;
33 } 33 }
34 34
35 namespace gfx { 35 namespace gfx {
36 class Range; 36 class Range;
37 class Size; 37 class Size;
38 } 38 }
39 39
40 namespace service_manager { 40 namespace service_manager {
41 class InterfaceRegistry; 41 class BinderRegistry;
42 class InterfaceProvider; 42 class InterfaceProvider;
43 } 43 }
44 44
45 namespace url { 45 namespace url {
46 class Origin; 46 class Origin;
47 } 47 }
48 48
49 namespace v8 { 49 namespace v8 {
50 template <typename T> class Local; 50 template <typename T> class Local;
51 class Context; 51 class Context;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // Execute a string of JavaScript in this frame's context. 150 // Execute a string of JavaScript in this frame's context.
151 virtual void ExecuteJavaScript(const base::string16& javascript) = 0; 151 virtual void ExecuteJavaScript(const base::string16& javascript) = 0;
152 152
153 // Returns true if this is the main (top-level) frame. 153 // Returns true if this is the main (top-level) frame.
154 virtual bool IsMainFrame() = 0; 154 virtual bool IsMainFrame() = 0;
155 155
156 // Return true if this frame is hidden. 156 // Return true if this frame is hidden.
157 virtual bool IsHidden() = 0; 157 virtual bool IsHidden() = 0;
158 158
159 // Returns the InterfaceRegistry that this process uses to expose interfaces 159 // Returns the BinderRegistry that this process uses to expose interfaces
160 // to the application running in this frame. 160 // to the application running in this frame.
161 virtual service_manager::InterfaceRegistry* GetInterfaceRegistry() = 0; 161 virtual service_manager::BinderRegistry* GetInterfaceRegistry() = 0;
162 162
163 // Returns the InterfaceProvider that this process can use to bind 163 // Returns the InterfaceProvider that this process can use to bind
164 // interfaces exposed to it by the application running in this frame. 164 // interfaces exposed to it by the application running in this frame.
165 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; 165 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
166 166
167 // Returns the AssociatedInterfaceRegistry this frame can use to expose 167 // Returns the AssociatedInterfaceRegistry this frame can use to expose
168 // frame-specific Channel-associated interfaces to the remote RenderFrameHost. 168 // frame-specific Channel-associated interfaces to the remote RenderFrameHost.
169 virtual AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() = 0; 169 virtual AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry() = 0;
170 170
171 // Returns the AssociatedInterfaceProvider this frame can use to access 171 // Returns the AssociatedInterfaceProvider this frame can use to access
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 private: 268 private:
269 // This interface should only be implemented inside content. 269 // This interface should only be implemented inside content.
270 friend class RenderFrameImpl; 270 friend class RenderFrameImpl;
271 RenderFrame() {} 271 RenderFrame() {}
272 }; 272 };
273 273
274 } // namespace content 274 } // namespace content
275 275
276 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_ 276 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698