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

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

Issue 1352813006: Move WebUI ownership from the RenderFrameHostManager to the RenderFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor changes to adress latest CR comments. Created 5 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 #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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 WakeLockServiceContext* RenderFrameHostDelegate::GetWakeLockServiceContext() { 69 WakeLockServiceContext* RenderFrameHostDelegate::GetWakeLockServiceContext() {
70 return nullptr; 70 return nullptr;
71 } 71 }
72 72
73 bool RenderFrameHostDelegate::ShouldRouteMessageEvent( 73 bool RenderFrameHostDelegate::ShouldRouteMessageEvent(
74 RenderFrameHost* target_rfh, 74 RenderFrameHost* target_rfh,
75 SiteInstance* source_site_instance) const { 75 SiteInstance* source_site_instance) const {
76 return false; 76 return false;
77 } 77 }
78 78
79 scoped_ptr<WebUIImpl> RenderFrameHostDelegate::CreateWebUIForRenderFrameHost(
80 const GURL& url) {
81 return nullptr;
82 }
83
79 #if defined(OS_WIN) 84 #if defined(OS_WIN)
80 gfx::NativeViewAccessible 85 gfx::NativeViewAccessible
81 RenderFrameHostDelegate::GetParentNativeViewAccessible() { 86 RenderFrameHostDelegate::GetParentNativeViewAccessible() {
82 return NULL; 87 return NULL;
83 } 88 }
84 #endif // defined(OS_WIN) 89 #endif // defined(OS_WIN)
85 90
86 } // namespace content 91 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698