| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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/browser/renderer_host/render_view_host_delegate.h" | 5 #include "content/browser/renderer_host/render_view_host_delegate.h" |
| 6 | 6 |
| 7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "content/public/common/renderer_preferences.h" | 8 #include "content/public/common/renderer_preferences.h" |
| 9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
| 10 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 } | 24 } |
| 25 | 25 |
| 26 const GURL& RenderViewHostDelegate::GetURL() const { | 26 const GURL& RenderViewHostDelegate::GetURL() const { |
| 27 return GURL::EmptyGURL(); | 27 return GURL::EmptyGURL(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 TabContents* RenderViewHostDelegate::GetAsTabContents() { | 30 TabContents* RenderViewHostDelegate::GetAsTabContents() { |
| 31 return NULL; | 31 return NULL; |
| 32 } | 32 } |
| 33 | 33 |
| 34 BackgroundContents* RenderViewHostDelegate::GetAsBackgroundContents() { | |
| 35 return NULL; | |
| 36 } | |
| 37 | |
| 38 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 34 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
| 39 return WebPreferences(); | 35 return WebPreferences(); |
| 40 } | 36 } |
| 41 | 37 |
| 42 bool RenderViewHostDelegate::PreHandleKeyboardEvent( | 38 bool RenderViewHostDelegate::PreHandleKeyboardEvent( |
| 43 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { | 39 const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) { |
| 44 return false; | 40 return false; |
| 45 } | 41 } |
| 46 | 42 |
| 47 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { | 43 bool RenderViewHostDelegate::IsFullscreenForCurrentTab() const { |
| 48 return false; | 44 return false; |
| 49 } | 45 } |
| OLD | NEW |