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/renderer_preferences.h" | 9 #include "chrome/common/renderer_preferences.h" |
10 #include "gfx/rect.h" | 10 #include "gfx/rect.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 } | 88 } |
89 | 89 |
90 TabContents* RenderViewHostDelegate::GetAsTabContents() { | 90 TabContents* RenderViewHostDelegate::GetAsTabContents() { |
91 return NULL; | 91 return NULL; |
92 } | 92 } |
93 | 93 |
94 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { | 94 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { |
95 return GURL(); | 95 return GURL(); |
96 } | 96 } |
97 | 97 |
98 ViewHostMsg_GetSearchProviderInstallState_Params | |
99 RenderViewHostDelegate::GetSearchProviderInstallState(const GURL& url) { | |
100 return ViewHostMsg_GetSearchProviderInstallState_Params::Denied(); | |
101 } | |
102 | |
103 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 98 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
104 return WebPreferences(); | 99 return WebPreferences(); |
105 } | 100 } |
106 | 101 |
107 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const { | 102 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const { |
108 return gfx::Rect(); | 103 return gfx::Rect(); |
109 } | 104 } |
110 | 105 |
111 bool RenderViewHostDelegate::IsExternalTabContainer() const { | 106 bool RenderViewHostDelegate::IsExternalTabContainer() const { |
112 return false; | 107 return false; |
113 } | 108 } |
OLD | NEW |