| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 "content/browser/renderer_host/render_view_host_delegate.h" | 5 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 6 | 6 |
| 7 #include "url/gurl.h" | 7 #include "url/gurl.h" |
| 8 #include "webkit/common/webpreferences.h" | 8 #include "webkit/common/webpreferences.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() { | 12 RenderViewHostDelegateView* RenderViewHostDelegate::GetDelegateView() { |
| 13 return NULL; | 13 return NULL; |
| 14 } | 14 } |
| 15 | 15 |
| 16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host, | 16 bool RenderViewHostDelegate::OnMessageReceived(RenderViewHost* render_view_host, |
| 17 const IPC::Message& message) { | 17 const IPC::Message& message) { |
| 18 return false; | 18 return false; |
| 19 } | 19 } |
| 20 | 20 |
| 21 bool RenderViewHostDelegate::AddMessageToConsole( | |
| 22 int32 level, const base::string16& message, int32 line_no, | |
| 23 const base::string16& source_id) { | |
| 24 return false; | |
| 25 } | |
| 26 | |
| 27 const GURL& RenderViewHostDelegate::GetURL() const { | |
| 28 return GURL::EmptyGURL(); | |
| 29 } | |
| 30 | |
| 31 WebContents* RenderViewHostDelegate::GetAsWebContents() { | 21 WebContents* RenderViewHostDelegate::GetAsWebContents() { |
| 32 return NULL; | 22 return NULL; |
| 33 } | 23 } |
| 34 | 24 |
| 35 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 25 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
| 36 return WebPreferences(); | 26 return WebPreferences(); |
| 37 } | 27 } |
| 38 | 28 |
| 39 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { | 29 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { |
| 40 return false; | 30 return false; |
| 41 } | 31 } |
| 42 | 32 |
| 43 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace( | 33 SessionStorageNamespace* RenderViewHostDelegate::GetSessionStorageNamespace( |
| 44 SiteInstance* instance) { | 34 SiteInstance* instance) { |
| 45 return NULL; | 35 return NULL; |
| 46 } | 36 } |
| 47 | 37 |
| 48 FrameTree* RenderViewHostDelegate::GetFrameTree() { | 38 FrameTree* RenderViewHostDelegate::GetFrameTree() { |
| 49 return NULL; | 39 return NULL; |
| 50 } | 40 } |
| 51 | 41 |
| 52 } // namespace content | 42 } // namespace content |
| OLD | NEW |