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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 33 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
34 return WebPreferences(); | 34 return WebPreferences(); |
35 } | 35 } |
36 | 36 |
37 bool RenderViewHostDelegate::PreHandleKeyboardEvent( | 37 bool RenderViewHostDelegate::PreHandleKeyboardEvent( |
38 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { | 38 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { |
39 return false; | 39 return false; |
40 } | 40 } |
41 | 41 |
| 42 bool RenderViewHostDelegate::ShouldIgnoreNavigation( |
| 43 RenderViewHost* rvh, |
| 44 const GURL& url, |
| 45 const content::Referrer& referrer, |
| 46 bool is_content_initiated) { |
| 47 return false; |
| 48 } |
| 49 |
42 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { | 50 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { |
43 return false; | 51 return false; |
44 } | 52 } |
45 | 53 |
46 } // namespace content | 54 } // namespace content |
OLD | NEW |