| 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/gfx/rect.h" | 7 #include "base/gfx/rect.h" |
| 8 #include "base/singleton.h" | 8 #include "base/singleton.h" |
| 9 #include "chrome/common/renderer_preferences.h" | 9 #include "chrome/common/renderer_preferences.h" |
| 10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 RenderViewHostDelegate::FormFieldHistory* | 50 RenderViewHostDelegate::FormFieldHistory* |
| 51 RenderViewHostDelegate::GetFormFieldHistoryDelegate() { | 51 RenderViewHostDelegate::GetFormFieldHistoryDelegate() { |
| 52 return NULL; | 52 return NULL; |
| 53 } | 53 } |
| 54 | 54 |
| 55 RenderViewHostDelegate::AutoFill* | 55 RenderViewHostDelegate::AutoFill* |
| 56 RenderViewHostDelegate::GetAutoFillDelegate() { | 56 RenderViewHostDelegate::GetAutoFillDelegate() { |
| 57 return NULL; | 57 return NULL; |
| 58 } | 58 } |
| 59 | 59 |
| 60 RenderViewHostDelegate::BookmarkDrag* |
| 61 RenderViewHostDelegate::GetBookmarkDragDelegate() { |
| 62 return NULL; |
| 63 } |
| 64 |
| 60 const GURL& RenderViewHostDelegate::GetURL() const { | 65 const GURL& RenderViewHostDelegate::GetURL() const { |
| 61 return GURL::EmptyGURL(); | 66 return GURL::EmptyGURL(); |
| 62 } | 67 } |
| 63 | 68 |
| 64 TabContents* RenderViewHostDelegate::GetAsTabContents() { | 69 TabContents* RenderViewHostDelegate::GetAsTabContents() { |
| 65 return NULL; | 70 return NULL; |
| 66 } | 71 } |
| 67 | 72 |
| 68 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { | 73 GURL RenderViewHostDelegate::GetAlternateErrorPageURL() const { |
| 69 return GURL(); | 74 return GURL(); |
| 70 } | 75 } |
| 71 | 76 |
| 72 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { | 77 WebPreferences RenderViewHostDelegate::GetWebkitPrefs() { |
| 73 return WebPreferences(); | 78 return WebPreferences(); |
| 74 } | 79 } |
| 75 | 80 |
| 76 bool RenderViewHostDelegate::CanBlur() const { | 81 bool RenderViewHostDelegate::CanBlur() const { |
| 77 return true; | 82 return true; |
| 78 } | 83 } |
| 79 | 84 |
| 80 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const { | 85 gfx::Rect RenderViewHostDelegate::GetRootWindowResizerRect() const { |
| 81 return gfx::Rect(); | 86 return gfx::Rect(); |
| 82 } | 87 } |
| 83 | 88 |
| 84 bool RenderViewHostDelegate::IsExternalTabContainer() const { | 89 bool RenderViewHostDelegate::IsExternalTabContainer() const { |
| 85 return false; | 90 return false; |
| 86 } | 91 } |
| OLD | NEW |