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

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

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make try happy Created 5 years, 11 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
152 virtual RenderFrameHost* GetGuestByInstanceID( 152 virtual RenderFrameHost* GetGuestByInstanceID(
153 int browser_plugin_instance_id); 153 int browser_plugin_instance_id);
154 154
155 // Gets the GeolocationServiceContext associated with this delegate. 155 // Gets the GeolocationServiceContext associated with this delegate.
156 virtual GeolocationServiceContext* GetGeolocationServiceContext(); 156 virtual GeolocationServiceContext* GetGeolocationServiceContext();
157 157
158 // Notification that the frame wants to go into fullscreen mode.
159 // |origin| represents the origin of the frame that requests fullscreen.
160 virtual void EnterFullscreenMode(const GURL& origin) {}
161
162 // Notification that the frame wants to go out of fullscreen mode.
163 virtual void ExitFullscreenMode() {}
164
158 #if defined(OS_WIN) 165 #if defined(OS_WIN)
159 // Returns the frame's parent's NativeViewAccessible. 166 // Returns the frame's parent's NativeViewAccessible.
160 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 167 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
161 #endif 168 #endif
162 169
163 protected: 170 protected:
164 virtual ~RenderFrameHostDelegate() {} 171 virtual ~RenderFrameHostDelegate() {}
165 }; 172 };
166 173
167 } // namespace content 174 } // namespace content
168 175
169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698