1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "content/browser/renderer_host/render_view_host_delegate.h" 6 7 #include "url/gurl.h" 8 #include "webkit/common/webpreferences.h" 9 10 namespace content { 11 GetDelegateView()12RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() { 13 return NULL; 14 } 15 16 RenderViewHostDelegate::RendererManagement* GetRendererManagementDelegate()17RenderViewHostDelegate::GetRendererManagementDelegate() { 18 return NULL; 19 } 20 OnMessageReceived(RenderViewHost * render_view_host,const IPC::Message & message)21bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host, 22 const IPC::Message& message) { 23 return false; 24 } 25 AddMessageToConsole(int32 level,const base::string16 & message,int32 line_no,const base::string16 & source_id)26bool RenderViewHostDelegate::AddMessageToConsole( 27 int32 level, const base::string16& message, int32 line_no, 28 const base::string16& source_id) { 29 return false; 30 } 31 GetURL() const32const GURL& RenderViewHostDelegate::GetURL() const { 33 return GURL::EmptyGURL(); 34 } 35 GetAsWebContents()36WebContents* RenderViewHostDelegate::GetAsWebContents() { 37 return NULL; 38 } 39 GetWebkitPrefs()40WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { 41 return WebPreferences(); 42 } 43 IsFullscreenForCurrentTab() const44bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { 45 return false; 46 } 47 GetSessionStorageNamespace(SiteInstance * instance)48SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace( 49 SiteInstance* instance) { 50 return NULL; 51 } 52 GetFrameTree()53FrameTree* RenderViewHostDelegate::GetFrameTree() { 54 return NULL; 55 } 56 57 } // namespace content 58