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/public/browser/render_view_host_delegate.h" | 5 #include "content/public/browser/render_view_host_delegate.h" |
6 | 6 |
7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
8 #include "webkit/glue/webpreferences.h" | 8 #include "webkit/glue/webpreferences.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 | 28 |
29 WebContents* RenderViewHostDelegate::GetAsWebContents() { | 29 WebContents* RenderViewHostDelegate::GetAsWebContents() { |
30 return NULL; | 30 return NULL; |
31 } | 31 } |
32 | 32 |
33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 33 webkit_glue::WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
34 return webkit_glue::WebPreferences(); | 34 return webkit_glue::WebPreferences(); |
35 } | 35 } |
36 | 36 |
| 37 bool RenderViewHostDelegate::ShouldIgnoreNavigation( |
| 38 RenderViewHost* rvh, |
| 39 const GURL& url, |
| 40 const content::Referrer& referrer, |
| 41 bool is_content_initiated) { |
| 42 return false; |
| 43 } |
| 44 |
37 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { | 45 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { |
38 return false; | 46 return false; |
39 } | 47 } |
40 | 48 |
41 } // namespace content | 49 } // namespace content |
OLD | NEW |