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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 4 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_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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #if defined(OS_WIN) 22 #if defined(OS_WIN)
23 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
24 #endif 24 #endif
25 25
26 class GURL; 26 class GURL;
27 27
28 namespace IPC { 28 namespace IPC {
29 class Message; 29 class Message;
30 } 30 }
31 31
32 namespace device { 32 namespace content {
33 class GeolocationServiceContext; 33 class GeolocationServiceContext;
34 }
35
36 namespace content {
37 class InterstitialPage; 34 class InterstitialPage;
38 class PageState; 35 class PageState;
39 class RenderFrameHost; 36 class RenderFrameHost;
40 class WakeLockServiceContext; 37 class WakeLockServiceContext;
41 class WebContents; 38 class WebContents;
42 struct AXEventNotificationDetails; 39 struct AXEventNotificationDetails;
43 struct ContextMenuParams; 40 struct ContextMenuParams;
44 struct FileChooserParams; 41 struct FileChooserParams;
45 struct TransitionLayerData; 42 struct TransitionLayerData;
46 43
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual void AccessibilityEventReceived( 142 virtual void AccessibilityEventReceived(
146 const std::vector<AXEventNotificationDetails>& details) {} 143 const std::vector<AXEventNotificationDetails>& details) {}
147 144
148 // Find a guest RenderFrameHost by its parent |render_frame_host| and 145 // Find a guest RenderFrameHost by its parent |render_frame_host| and
149 // |browser_plugin_instance_id|. 146 // |browser_plugin_instance_id|.
150 virtual RenderFrameHost* GetGuestByInstanceID( 147 virtual RenderFrameHost* GetGuestByInstanceID(
151 RenderFrameHost* render_frame_host, 148 RenderFrameHost* render_frame_host,
152 int browser_plugin_instance_id); 149 int browser_plugin_instance_id);
153 150
154 // Gets the GeolocationServiceContext associated with this delegate. 151 // Gets the GeolocationServiceContext associated with this delegate.
155 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); 152 virtual GeolocationServiceContext* GetGeolocationServiceContext();
156 153
157 // Gets the WakeLockServiceContext associated with this delegate. 154 // Gets the WakeLockServiceContext associated with this delegate.
158 virtual WakeLockServiceContext* GetWakeLockServiceContext(); 155 virtual WakeLockServiceContext* GetWakeLockServiceContext();
159 156
160 // Notification that the frame wants to go into fullscreen mode. 157 // Notification that the frame wants to go into fullscreen mode.
161 // |origin| represents the origin of the frame that requests fullscreen. 158 // |origin| represents the origin of the frame that requests fullscreen.
162 virtual void EnterFullscreenMode(const GURL& origin) {} 159 virtual void EnterFullscreenMode(const GURL& origin) {}
163 160
164 // Notification that the frame wants to go out of fullscreen mode. 161 // Notification that the frame wants to go out of fullscreen mode.
165 // |will_cause_resize| indicates whether the fullscreen change causes a 162 // |will_cause_resize| indicates whether the fullscreen change causes a
(...skipping 26 matching lines...) Expand all
192 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 189 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
193 const GURL& url); 190 const GURL& url);
194 191
195 protected: 192 protected:
196 virtual ~RenderFrameHostDelegate() {} 193 virtual ~RenderFrameHostDelegate() {}
197 }; 194 };
198 195
199 } // namespace content 196 } // namespace content
200 197
201 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 198 #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