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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/common/console_message_level.h" 13 #include "content/public/common/console_message_level.h"
14 #include "content/public/common/file_chooser_params.h" 14 #include "content/public/common/file_chooser_params.h"
15 #include "ipc/ipc_listener.h" 15 #include "ipc/ipc_listener.h"
16 #include "ipc/ipc_sender.h" 16 #include "ipc/ipc_sender.h"
17 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h" 17 #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
18 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 #include "url/origin.h" 21 #include "url/origin.h"
22 22
23 namespace base { 23 namespace base {
24 class Value; 24 class Value;
25 } 25 }
26 26
27 namespace shell { 27 namespace service_manager {
28 class InterfaceRegistry; 28 class InterfaceRegistry;
29 class InterfaceProvider; 29 class InterfaceProvider;
30 } 30 }
31 31
32 namespace content { 32 namespace content {
33 class AssociatedInterfaceProvider; 33 class AssociatedInterfaceProvider;
34 class AssociatedInterfaceRegistry; 34 class AssociatedInterfaceRegistry;
35 class RenderProcessHost; 35 class RenderProcessHost;
36 class RenderViewHost; 36 class RenderViewHost;
37 class RenderWidgetHostView; 37 class RenderWidgetHostView;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // frame coordinates). If there is an image at the location, the renderer 180 // frame coordinates). If there is an image at the location, the renderer
181 // will post back the appropriate download message to trigger the save UI. 181 // will post back the appropriate download message to trigger the save UI.
182 // If there is no image at that location, does nothing. 182 // If there is no image at that location, does nothing.
183 virtual void SaveImageAt(int x, int y) = 0; 183 virtual void SaveImageAt(int x, int y) = 0;
184 184
185 // RenderViewHost for this frame. 185 // RenderViewHost for this frame.
186 virtual RenderViewHost* GetRenderViewHost() = 0; 186 virtual RenderViewHost* GetRenderViewHost() = 0;
187 187
188 // Returns the InterfaceRegistry that this process uses to expose interfaces 188 // Returns the InterfaceRegistry that this process uses to expose interfaces
189 // to the application running in this frame. 189 // to the application running in this frame.
190 virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0; 190 virtual service_manager::InterfaceRegistry* GetInterfaceRegistry() = 0;
191 191
192 // Returns the InterfaceProvider that this process can use to bind 192 // Returns the InterfaceProvider that this process can use to bind
193 // interfaces exposed to it by the application running in this frame. 193 // interfaces exposed to it by the application running in this frame.
194 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; 194 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
195 195
196 // Returns the AssociatedInterfaceProvider that this process can use to access 196 // Returns the AssociatedInterfaceProvider that this process can use to access
197 // remote frame-specific Channel-associated interfaces for this frame. 197 // remote frame-specific Channel-associated interfaces for this frame.
198 virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0; 198 virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0;
199 199
200 // Returns the visibility state of the frame. The different visibility states 200 // Returns the visibility state of the frame. The different visibility states
201 // of a frame are defined in Blink. 201 // of a frame are defined in Blink.
202 virtual blink::WebPageVisibilityState GetVisibilityState() = 0; 202 virtual blink::WebPageVisibilityState GetVisibilityState() = 0;
203 203
204 // Returns whether the RenderFrame in the renderer process has been created 204 // Returns whether the RenderFrame in the renderer process has been created
(...skipping 21 matching lines...) Expand all
226 226
227 private: 227 private:
228 // This interface should only be implemented inside content. 228 // This interface should only be implemented inside content.
229 friend class RenderFrameHostImpl; 229 friend class RenderFrameHostImpl;
230 RenderFrameHost() {} 230 RenderFrameHost() {}
231 }; 231 };
232 232
233 } // namespace content 233 } // namespace content
234 234
235 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 235 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/gpu_service_registry.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698