| 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 "ui/views/test/test_views_delegate.h" | 5 #include "ui/views/test/test_views_delegate.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "content/test/web_contents_tester.h" | 8 #include "content/test/web_contents_tester.h" |
| 9 #include "ui/base/clipboard/clipboard.h" | 9 #include "ui/base/clipboard/clipboard.h" |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 #if defined(USE_AURA) | 61 #if defined(USE_AURA) |
| 62 views::NativeWidgetHelperAura* TestViewsDelegate::CreateNativeWidgetHelper( | 62 views::NativeWidgetHelperAura* TestViewsDelegate::CreateNativeWidgetHelper( |
| 63 views::NativeWidgetAura* native_widget) { | 63 views::NativeWidgetAura* native_widget) { |
| 64 return NULL; | 64 return NULL; |
| 65 } | 65 } |
| 66 #endif | 66 #endif |
| 67 | 67 |
| 68 content::WebContents* TestViewsDelegate::CreateWebContents( | 68 content::WebContents* TestViewsDelegate::CreateWebContents( |
| 69 content::BrowserContext* browser_context, | 69 content::BrowserContext* browser_context, |
| 70 content::SiteInstance* site_instance) { | 70 content::SiteInstance* site_instance) { |
| 71 return content::WebContentsTester::CreateTestWebContents(browser_context, | 71 return NULL; |
| 72 site_instance); | |
| 73 } | 72 } |
| 74 | 73 |
| 75 } // namespace views | 74 } // namespace views |
| OLD | NEW |