| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/render_view_host_delegate.h" | 5 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 6 | 6 |
| 7 #include "base/singleton.h" | 7 #include "base/singleton.h" |
| 8 #include "chrome/common/render_messages.h" | 8 #include "chrome/common/render_messages.h" |
| 9 #include "chrome/common/render_messages_params.h" | 9 #include "chrome/common/render_messages_params.h" |
| 10 #include "chrome/common/renderer_preferences.h" | 10 #include "chrome/common/renderer_preferences.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 RenderViewHostDelegate::RendererManagement* | 23 RenderViewHostDelegate::RendererManagement* |
| 24 RenderViewHostDelegate::GetRendererManagementDelegate() { | 24 RenderViewHostDelegate::GetRendererManagementDelegate() { |
| 25 return NULL; | 25 return NULL; |
| 26 } | 26 } |
| 27 | 27 |
| 28 RenderViewHostDelegate::BrowserIntegration* | 28 RenderViewHostDelegate::BrowserIntegration* |
| 29 RenderViewHostDelegate::GetBrowserIntegrationDelegate() { | 29 RenderViewHostDelegate::GetBrowserIntegrationDelegate() { |
| 30 return NULL; | 30 return NULL; |
| 31 } | 31 } |
| 32 | 32 |
| 33 RenderViewHostDelegate::Resource* | |
| 34 RenderViewHostDelegate::GetResourceDelegate() { | |
| 35 return NULL; | |
| 36 } | |
| 37 | 33 |
| 38 RenderViewHostDelegate::ContentSettings* | 34 RenderViewHostDelegate::ContentSettings* |
| 39 RenderViewHostDelegate::GetContentSettingsDelegate() { | 35 RenderViewHostDelegate::GetContentSettingsDelegate() { |
| 40 return NULL; | 36 return NULL; |
| 41 } | 37 } |
| 42 | 38 |
| 43 RenderViewHostDelegate::Save* RenderViewHostDelegate::GetSaveDelegate() { | 39 RenderViewHostDelegate::Save* RenderViewHostDelegate::GetSaveDelegate() { |
| 44 return NULL; | 40 return NULL; |
| 45 } | 41 } |
| 46 | 42 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 77 RenderViewHostDelegate::FileSelect* | 73 RenderViewHostDelegate::FileSelect* |
| 78 RenderViewHostDelegate::GetFileSelectDelegate() { | 74 RenderViewHostDelegate::GetFileSelectDelegate() { |
| 79 return NULL; | 75 return NULL; |
| 80 } | 76 } |
| 81 | 77 |
| 82 AutomationResourceRoutingDelegate* | 78 AutomationResourceRoutingDelegate* |
| 83 RenderViewHostDelegate::GetAutomationResourceRoutingDelegate() { | 79 RenderViewHostDelegate::GetAutomationResourceRoutingDelegate() { |
| 84 return NULL; | 80 return NULL; |
| 85 } | 81 } |
| 86 | 82 |
| 83 bool RenderViewHostDelegate::OnMessageReceived(const IPC::Message& message) { |
| 84 return false; |
| 85 } |
| 86 |
| 87 const GURL& RenderViewHostDelegate::GetURL() const { | 87 const GURL& RenderViewHostDelegate::GetURL() const { |
| 88 return GURL::EmptyGURL(); | 88 return GURL::EmptyGURL(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 TabContents* RenderViewHostDelegate::GetAsTabContents() { | 91 TabContents* RenderViewHostDelegate::GetAsTabContents() { |
| 92 return NULL; | 92 return NULL; |
| 93 } | 93 } |
| 94 | 94 |
| 95 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { | 95 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { |
| 96 return NULL; | 96 return NULL; |
| 97 } | 97 } |
| 98 | 98 |
| 99 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { | 99 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { |
| 100 return GURL(); | 100 return GURL(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 103 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
| 104 return WebPreferences(); | 104 return WebPreferences(); |
| 105 } | 105 } |
| 106 | 106 |
| 107 bool RenderViewHostDelegate::IsExternalTabContainer() const { | 107 bool RenderViewHostDelegate::IsExternalTabContainer() const { |
| 108 return false; | 108 return false; |
| 109 } | 109 } |
| OLD | NEW |