| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "chrome/common/render_messages.h" | 8 #include "chrome/common/render_messages.h" |
| 9 #include "content/common/renderer_preferences.h" | 9 #include "content/common/renderer_preferences.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 } | 34 } |
| 35 | 35 |
| 36 TabContents* RenderViewHostDelegate::GetAsTabContents() { | 36 TabContents* RenderViewHostDelegate::GetAsTabContents() { |
| 37 return NULL; | 37 return NULL; |
| 38 } | 38 } |
| 39 | 39 |
| 40 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { | 40 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { |
| 41 return NULL; | 41 return NULL; |
| 42 } | 42 } |
| 43 | 43 |
| 44 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { | |
| 45 return GURL(); | |
| 46 } | |
| 47 | |
| 48 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 44 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
| 49 return WebPreferences(); | 45 return WebPreferences(); |
| 50 } | 46 } |
| 51 | 47 |
| 52 bool RenderViewHostDelegate::IsExternalTabContainer() const { | 48 bool RenderViewHostDelegate::IsExternalTabContainer() const { |
| 53 return false; | 49 return false; |
| 54 } | 50 } |
| 55 | 51 |
| 56 bool RenderViewHostDelegate::RequestDesktopNotificationPermission( | 52 bool RenderViewHostDelegate::RequestDesktopNotificationPermission( |
| 57 const GURL& source_origin, int callback_context) { | 53 const GURL& source_origin, int callback_context) { |
| 58 return false; | 54 return false; |
| 59 } | 55 } |
| OLD | NEW |