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

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

Issue 1107333002: Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added visibility check to browsertest Created 5 years, 3 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/browser/frame_host/render_frame_host_delegate.h" 9 #include "content/browser/frame_host/render_frame_host_delegate.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 RenderFrameHost* render_frame_host, 59 RenderFrameHost* render_frame_host,
60 int browser_plugin_instance_id) { 60 int browser_plugin_instance_id) {
61 return NULL; 61 return NULL;
62 } 62 }
63 63
64 GeolocationServiceContext* 64 GeolocationServiceContext*
65 RenderFrameHostDelegate::GetGeolocationServiceContext() { 65 RenderFrameHostDelegate::GetGeolocationServiceContext() {
66 return NULL; 66 return NULL;
67 } 67 }
68 68
69 WakeLockServiceContext* RenderFrameHostDelegate::GetWakeLockServiceContext() {
70 return nullptr;
71 }
72
69 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( 73 bool RenderFrameHostDelegate::ShouldRouteMessageEvent(
70 RenderFrameHost* target_rfh, 74 RenderFrameHost* target_rfh,
71 SiteInstance* source_site_instance) const { 75 SiteInstance* source_site_instance) const {
72 return false; 76 return false;
73 } 77 }
74 78
75 #if defined(OS_WIN) 79 #if defined(OS_WIN)
76 gfx::NativeViewAccessible 80 gfx::NativeViewAccessible
77 RenderFrameHostDelegate::GetParentNativeViewAccessible() { 81 RenderFrameHostDelegate::GetParentNativeViewAccessible() {
78 return NULL; 82 return NULL;
79 } 83 }
80 #endif // defined(OS_WIN) 84 #endif // defined(OS_WIN)
81 85
82 } // namespace content 86 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698