Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: chrome/browser/ui/views/chrome_views_delegate.cc

Issue 10191010: Re-implement the screensaver to use WebView instead of ExtensionDialogHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ut fix. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.h ('k') | chrome/browser/ui/views/menu_model_adapter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698