OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | |
6 | |
7 #include "base/singleton.h" | |
8 #include "chrome/common/render_messages.h" | |
9 #include "chrome/common/render_messages_params.h" | |
10 #include "chrome/common/renderer_preferences.h" | |
11 #include "googleurl/src/gurl.h" | |
12 #include "ui/gfx/rect.h" | |
13 #include "webkit/glue/webpreferences.h" | |
14 | |
15 #if defined(TOOLKIT_USES_GTK) | |
16 #include "chrome/browser/ui/gtk/gtk_util.h" | |
17 #endif | |
18 | |
19 RenderViewHostDelegate::View* RenderViewHostDelegate::GetViewDelegate() { | |
20 return NULL; | |
21 } | |
22 | |
23 RenderViewHostDelegate::RendererManagement* | |
24 RenderViewHostDelegate::GetRendererManagementDelegate() { | |
25 return NULL; | |
26 } | |
27 | |
28 RenderViewHostDelegate::ContentSettings* | |
29 RenderViewHostDelegate::GetContentSettingsDelegate() { | |
30 return NULL; | |
31 } | |
32 | |
33 RenderViewHostDelegate::BookmarkDrag* | |
34 RenderViewHostDelegate::GetBookmarkDragDelegate() { | |
35 return NULL; | |
36 } | |
37 | |
38 RenderViewHostDelegate::SSL* | |
39 RenderViewHostDelegate::GetSSLDelegate() { | |
40 return NULL; | |
41 } | |
42 | |
43 AutomationResourceRoutingDelegate* | |
44 RenderViewHostDelegate::GetAutomationResourceRoutingDelegate() { | |
45 return NULL; | |
46 } | |
47 | |
48 bool RenderViewHostDelegate::OnMessageReceived(const IPC::Message& message) { | |
49 return false; | |
50 } | |
51 | |
52 const GURL& RenderViewHostDelegate::GetURL() const { | |
53 return GURL::EmptyGURL(); | |
54 } | |
55 | |
56 TabContents* RenderViewHostDelegate::GetAsTabContents() { | |
57 return NULL; | |
58 } | |
59 | |
60 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { | |
61 return NULL; | |
62 } | |
63 | |
64 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { | |
65 return GURL(); | |
66 } | |
67 | |
68 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | |
69 return WebPreferences(); | |
70 } | |
71 | |
72 bool RenderViewHostDelegate::IsExternalTabContainer() const { | |
73 return false; | |
74 } | |
OLD | NEW |