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

Unified Diff: chrome/browser/ui/views/chrome_views_delegate.h

Issue 10913237: Allow the Views Delegate to provide the native widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/chrome_views_delegate.h
===================================================================
--- chrome/browser/ui/views/chrome_views_delegate.h (revision 156649)
+++ chrome/browser/ui/views/chrome_views_delegate.h (working copy)
@@ -41,17 +41,17 @@
virtual bool UseTransparentWindows() const OVERRIDE;
virtual void AddRef() OVERRIDE;
virtual void ReleaseRef() OVERRIDE;
-
virtual int GetDispositionForEvent(int event_flags) OVERRIDE;
-
#if defined(USE_AURA)
virtual views::NativeWidgetHelperAura* CreateNativeWidgetHelper(
views::NativeWidgetAura* native_widget) OVERRIDE;
#endif
-
virtual content::WebContents* CreateWebContents(
content::BrowserContext* browser_context,
content::SiteInstance* site_instance) OVERRIDE;
+ virtual views::NativeWidget* CreateNativeWidget(
+ views::internal::NativeWidgetDelegate* delegate,
+ gfx::NativeView parent) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ('k') | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698