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

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

Issue 680323002: Revert of Partially convert geolocation IPC to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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/common/javascript_message_type.h" 14 #include "content/public/common/javascript_message_type.h"
15 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
16 #include "net/http/http_response_headers.h" 16 #include "net/http/http_response_headers.h"
17 17
18 #if defined(OS_WIN) 18 #if defined(OS_WIN)
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 #endif 20 #endif
21 21
22 class GURL; 22 class GURL;
23 23
24 namespace IPC { 24 namespace IPC {
25 class Message; 25 class Message;
26 } 26 }
27 27
28 namespace content { 28 namespace content {
29 class GeolocationServiceContext;
30 class RenderFrameHost; 29 class RenderFrameHost;
31 class WebContents; 30 class WebContents;
32 struct AXEventNotificationDetails; 31 struct AXEventNotificationDetails;
33 struct ContextMenuParams; 32 struct ContextMenuParams;
34 struct TransitionLayerData; 33 struct TransitionLayerData;
35 34
36 // An interface implemented by an object interested in knowing about the state 35 // An interface implemented by an object interested in knowing about the state
37 // of the RenderFrameHost. 36 // of the RenderFrameHost.
38 class CONTENT_EXPORT RenderFrameHostDelegate { 37 class CONTENT_EXPORT RenderFrameHostDelegate {
39 public: 38 public:
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual AccessibilityMode GetAccessibilityMode() const; 140 virtual AccessibilityMode GetAccessibilityMode() const;
142 141
143 // Invoked when an accessibility event is received from the renderer. 142 // Invoked when an accessibility event is received from the renderer.
144 virtual void AccessibilityEventReceived( 143 virtual void AccessibilityEventReceived(
145 const std::vector<AXEventNotificationDetails>& details) {} 144 const std::vector<AXEventNotificationDetails>& details) {}
146 145
147 // Find a guest RenderFrameHost by its browser plugin instance id. 146 // Find a guest RenderFrameHost by its browser plugin instance id.
148 virtual RenderFrameHost* GetGuestByInstanceID( 147 virtual RenderFrameHost* GetGuestByInstanceID(
149 int browser_plugin_instance_id); 148 int browser_plugin_instance_id);
150 149
151 // Gets the GeolocationServiceContext associated with this delegate.
152 virtual GeolocationServiceContext* GetGeolocationServiceContext();
153
154 #if defined(OS_WIN) 150 #if defined(OS_WIN)
155 // Returns the frame's parent's NativeViewAccessible. 151 // Returns the frame's parent's NativeViewAccessible.
156 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 152 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
157 #endif 153 #endif
158 154
159 protected: 155 protected:
160 virtual ~RenderFrameHostDelegate() {} 156 virtual ~RenderFrameHostDelegate() {}
161 }; 157 };
162 158
163 } // namespace content 159 } // namespace content
164 160
165 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/page_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