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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 1411063007: Add mojo::StrongBindingSet and use it in GeolocationServiceContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/common/frame_message_enums.h" 13 #include "content/common/frame_message_enums.h"
14 #include "content/public/browser/site_instance.h" 14 #include "content/public/browser/site_instance.h"
15 #include "content/public/common/javascript_message_type.h" 15 #include "content/public/common/javascript_message_type.h"
16 #include "content/public/common/media_stream_request.h" 16 #include "content/public/common/media_stream_request.h"
17 #include "net/http/http_response_headers.h" 17 #include "net/http/http_response_headers.h"
18 18
19 #if defined(OS_WIN) 19 #if defined(OS_WIN)
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 #endif 21 #endif
22 22
23 class GURL; 23 class GURL;
24 24
25 namespace IPC { 25 namespace IPC {
26 class Message; 26 class Message;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 class GeolocationServiceContext;
31 class PageState; 30 class PageState;
32 class RenderFrameHost; 31 class RenderFrameHost;
33 class WakeLockServiceContext; 32 class WakeLockServiceContext;
34 class WebContents; 33 class WebContents;
35 struct AXEventNotificationDetails; 34 struct AXEventNotificationDetails;
36 struct ContextMenuParams; 35 struct ContextMenuParams;
37 struct TransitionLayerData; 36 struct TransitionLayerData;
38 37
39 // An interface implemented by an object interested in knowing about the state 38 // An interface implemented by an object interested in knowing about the state
40 // of the RenderFrameHost. 39 // of the RenderFrameHost.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Invoked when an accessibility event is received from the renderer. 131 // Invoked when an accessibility event is received from the renderer.
133 virtual void AccessibilityEventReceived( 132 virtual void AccessibilityEventReceived(
134 const std::vector<AXEventNotificationDetails>& details) {} 133 const std::vector<AXEventNotificationDetails>& details) {}
135 134
136 // Find a guest RenderFrameHost by its parent |render_frame_host| and 135 // Find a guest RenderFrameHost by its parent |render_frame_host| and
137 // |browser_plugin_instance_id|. 136 // |browser_plugin_instance_id|.
138 virtual RenderFrameHost* GetGuestByInstanceID( 137 virtual RenderFrameHost* GetGuestByInstanceID(
139 RenderFrameHost* render_frame_host, 138 RenderFrameHost* render_frame_host,
140 int browser_plugin_instance_id); 139 int browser_plugin_instance_id);
141 140
142 // Gets the GeolocationServiceContext associated with this delegate.
143 virtual GeolocationServiceContext* GetGeolocationServiceContext();
144
145 // Gets the WakeLockServiceContext associated with this delegate. 141 // Gets the WakeLockServiceContext associated with this delegate.
146 virtual WakeLockServiceContext* GetWakeLockServiceContext(); 142 virtual WakeLockServiceContext* GetWakeLockServiceContext();
147 143
148 // Notification that the frame wants to go into fullscreen mode. 144 // Notification that the frame wants to go into fullscreen mode.
149 // |origin| represents the origin of the frame that requests fullscreen. 145 // |origin| represents the origin of the frame that requests fullscreen.
150 virtual void EnterFullscreenMode(const GURL& origin) {} 146 virtual void EnterFullscreenMode(const GURL& origin) {}
151 147
152 // Notification that the frame wants to go out of fullscreen mode. 148 // Notification that the frame wants to go out of fullscreen mode.
153 virtual void ExitFullscreenMode() {} 149 virtual void ExitFullscreenMode() {}
154 150
(...skipping 22 matching lines...) Expand all
177 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 173 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
178 #endif 174 #endif
179 175
180 protected: 176 protected:
181 virtual ~RenderFrameHostDelegate() {} 177 virtual ~RenderFrameHostDelegate() {}
182 }; 178 };
183 179
184 } // namespace content 180 } // namespace content
185 181
186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 182 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/emulation_handler.cc ('k') | content/browser/frame_host/render_frame_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698