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/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "content/public/test/web_contents_tester.h" | 9 #include "content/public/test/web_contents_tester.h" |
10 | 10 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { | 54 int TestViewsDelegate::GetDispositionForEvent(int event_flags) { |
55 return 0; | 55 return 0; |
56 } | 56 } |
57 | 57 |
58 content::WebContents* TestViewsDelegate::CreateWebContents( | 58 content::WebContents* TestViewsDelegate::CreateWebContents( |
59 content::BrowserContext* browser_context, | 59 content::BrowserContext* browser_context, |
60 content::SiteInstance* site_instance) { | 60 content::SiteInstance* site_instance) { |
61 return NULL; | 61 return NULL; |
62 } | 62 } |
63 | 63 |
64 NativeWidget* TestViewsDelegate::CreateNativeWidget( | 64 void TestViewsDelegate::OnBeforeWidgetInit( |
65 Widget::InitParams::Type type, | 65 Widget::InitParams* params, |
66 internal::NativeWidgetDelegate* delegate, | 66 internal::NativeWidgetDelegate* delegate) { |
67 gfx::NativeView parent, | |
68 gfx::NativeView context) { | |
69 return NULL; | |
70 } | 67 } |
71 | 68 |
72 } // namespace views | 69 } // namespace views |
OLD | NEW |