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

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

Issue 2921823002: Rationalize WakeLock naming conventions (Closed)
Patch Set: rebase Created 3 years, 6 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 <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "content/browser/webui/web_ui_impl.h" 15 #include "content/browser/webui/web_ui_impl.h"
16 #include "content/common/content_export.h" 16 #include "content/common/content_export.h"
17 #include "content/common/frame_message_enums.h" 17 #include "content/common/frame_message_enums.h"
18 #include "content/public/browser/site_instance.h" 18 #include "content/public/browser/site_instance.h"
19 #include "content/public/common/javascript_dialog_type.h" 19 #include "content/public/common/javascript_dialog_type.h"
20 #include "content/public/common/media_stream_request.h" 20 #include "content/public/common/media_stream_request.h"
21 #include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h" 21 #include "device/wake_lock/public/interfaces/wake_lock.mojom.h"
22 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h" 22 #include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
23 #include "net/http/http_response_headers.h" 23 #include "net/http/http_response_headers.h"
24 #include "ui/base/window_open_disposition.h" 24 #include "ui/base/window_open_disposition.h"
25 25
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 #include "ui/gfx/native_widget_types.h" 27 #include "ui/gfx/native_widget_types.h"
28 #endif 28 #endif
29 29
30 #if defined(OS_ANDROID) 30 #if defined(OS_ANDROID)
31 #include "base/android/scoped_java_ref.h" 31 #include "base/android/scoped_java_ref.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 // Find a guest RenderFrameHost by its parent |render_frame_host| and 186 // Find a guest RenderFrameHost by its parent |render_frame_host| and
187 // |browser_plugin_instance_id|. 187 // |browser_plugin_instance_id|.
188 virtual RenderFrameHost* GetGuestByInstanceID( 188 virtual RenderFrameHost* GetGuestByInstanceID(
189 RenderFrameHost* render_frame_host, 189 RenderFrameHost* render_frame_host,
190 int browser_plugin_instance_id); 190 int browser_plugin_instance_id);
191 191
192 // Gets the GeolocationServiceContext associated with this delegate. 192 // Gets the GeolocationServiceContext associated with this delegate.
193 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); 193 virtual device::GeolocationServiceContext* GetGeolocationServiceContext();
194 194
195 // Gets the WakeLockService that serves wake lock requests from the renderer. 195 // Gets the WakeLock that serves wake lock requests from the renderer.
196 virtual device::mojom::WakeLockService* GetRendererWakeLock(); 196 virtual device::mojom::WakeLock* GetRendererWakeLock();
197 197
198 #if defined(OS_ANDROID) 198 #if defined(OS_ANDROID)
199 // Gets an NFC implementation within the context of this delegate. 199 // Gets an NFC implementation within the context of this delegate.
200 virtual void GetNFC(device::mojom::NFCRequest request); 200 virtual void GetNFC(device::mojom::NFCRequest request);
201 #endif 201 #endif
202 202
203 // Notification that the frame wants to go into fullscreen mode. 203 // Notification that the frame wants to go into fullscreen mode.
204 // |origin| represents the origin of the frame that requests fullscreen. 204 // |origin| represents the origin of the frame that requests fullscreen.
205 virtual void EnterFullscreenMode(const GURL& origin) {} 205 virtual void EnterFullscreenMode(const GURL& origin) {}
206 206
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 // should not be asked to create a RenderFrame. 311 // should not be asked to create a RenderFrame.
312 virtual bool IsBeingDestroyed() const; 312 virtual bool IsBeingDestroyed() const;
313 313
314 protected: 314 protected:
315 virtual ~RenderFrameHostDelegate() {} 315 virtual ~RenderFrameHostDelegate() {}
316 }; 316 };
317 317
318 } // namespace content 318 } // namespace content
319 319
320 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 320 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_request_core.h ('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