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 "chrome/browser/ui/views/chrome_views_delegate.h" | 5 #include "chrome/browser/ui/views/chrome_views_delegate.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 #if defined(USE_AURA) | 163 #if defined(USE_AURA) |
164 views::NativeWidgetHelperAura* ChromeViewsDelegate::CreateNativeWidgetHelper( | 164 views::NativeWidgetHelperAura* ChromeViewsDelegate::CreateNativeWidgetHelper( |
165 views::NativeWidgetAura* native_widget) { | 165 views::NativeWidgetAura* native_widget) { |
166 #if !defined(USE_ASH) | 166 #if !defined(USE_ASH) |
167 return new views::DesktopNativeWidgetHelperAura(native_widget); | 167 return new views::DesktopNativeWidgetHelperAura(native_widget); |
168 #else | 168 #else |
169 return NULL; | 169 return NULL; |
170 #endif | 170 #endif |
171 } | 171 } |
172 #endif | 172 #endif |
| 173 |
| 174 content::WebContents* ChromeViewsDelegate::CreateWebContents( |
| 175 content::BrowserContext* browser_context, |
| 176 content::SiteInstance* site_instance) { |
| 177 return NULL; |
| 178 } |
OLD | NEW |