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

Unified Diff: ui/views/test/test_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
« no previous file with comments | « ui/views/examples/examples_window_with_content.cc ('k') | ui/views/test/test_views_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views_delegate.h
===================================================================
--- ui/views/test/test_views_delegate.h (revision 156649)
+++ ui/views/test/test_views_delegate.h (working copy)
@@ -55,17 +55,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 NativeWidget* CreateNativeWidget(
+ internal::NativeWidgetDelegate* delegate,
+ gfx::NativeView parent) OVERRIDE;
private:
bool use_transparent_windows_;
« no previous file with comments | « ui/views/examples/examples_window_with_content.cc ('k') | ui/views/test/test_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698