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

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

Issue 921473006: GuestView: Fix message routing across embedder navigations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove render_view_routing_id() from GuestViewContainer Created 5 years, 10 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 <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual bool CheckMediaAccessPermission(const GURL& security_origin, 141 virtual bool CheckMediaAccessPermission(const GURL& security_origin,
142 MediaStreamType type); 142 MediaStreamType type);
143 143
144 // Get the accessibility mode for the WebContents that owns this frame. 144 // Get the accessibility mode for the WebContents that owns this frame.
145 virtual AccessibilityMode GetAccessibilityMode() const; 145 virtual AccessibilityMode GetAccessibilityMode() const;
146 146
147 // Invoked when an accessibility event is received from the renderer. 147 // Invoked when an accessibility event is received from the renderer.
148 virtual void AccessibilityEventReceived( 148 virtual void AccessibilityEventReceived(
149 const std::vector<AXEventNotificationDetails>& details) {} 149 const std::vector<AXEventNotificationDetails>& details) {}
150 150
151 // Find a guest RenderFrameHost by its browser plugin instance id. 151 // Find a guest RenderFrameHost by its browser plugin instance id.
Charlie Reis 2015/02/13 21:21:56 nit: Update comment.
Fady Samuel 2015/02/13 22:31:25 Done.
152 virtual RenderFrameHost* GetGuestByInstanceID( 152 virtual RenderFrameHost* GetGuestByInstanceID(
153 RenderFrameHost* render_frame_host,
153 int browser_plugin_instance_id); 154 int browser_plugin_instance_id);
154 155
155 // Gets the GeolocationServiceContext associated with this delegate. 156 // Gets the GeolocationServiceContext associated with this delegate.
156 virtual GeolocationServiceContext* GetGeolocationServiceContext(); 157 virtual GeolocationServiceContext* GetGeolocationServiceContext();
157 158
158 // Notification that the frame wants to go into fullscreen mode. 159 // Notification that the frame wants to go into fullscreen mode.
159 // |origin| represents the origin of the frame that requests fullscreen. 160 // |origin| represents the origin of the frame that requests fullscreen.
160 virtual void EnterFullscreenMode(const GURL& origin) {} 161 virtual void EnterFullscreenMode(const GURL& origin) {}
161 162
162 // Notification that the frame wants to go out of fullscreen mode. 163 // Notification that the frame wants to go out of fullscreen mode.
163 virtual void ExitFullscreenMode() {} 164 virtual void ExitFullscreenMode() {}
164 165
165 #if defined(OS_WIN) 166 #if defined(OS_WIN)
166 // Returns the frame's parent's NativeViewAccessible. 167 // Returns the frame's parent's NativeViewAccessible.
167 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 168 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
168 #endif 169 #endif
169 170
170 protected: 171 protected:
171 virtual ~RenderFrameHostDelegate() {} 172 virtual ~RenderFrameHostDelegate() {}
172 }; 173 };
173 174
174 } // namespace content 175 } // namespace content
175 176
176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698