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

Unified Diff: ui/views/widget/desktop_native_widget_helper_aura.h

Issue 10270002: Get the custom frame limping with win-aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/views.gyp ('k') | ui/views/widget/desktop_native_widget_helper_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_native_widget_helper_aura.h
===================================================================
--- ui/views/widget/desktop_native_widget_helper_aura.h (revision 134532)
+++ ui/views/widget/desktop_native_widget_helper_aura.h (working copy)
@@ -16,8 +16,15 @@
class RootWindow;
}
+namespace ui {
+#if defined(OS_WIN)
+class HWNDSubclass;
+#endif
+}
+
namespace views {
class NativeWidgetAura;
+class WidgetMessageFilter;
// Implementation of non-Ash desktop integration code, allowing
// NativeWidgetAuras to work in a traditional desktop environment.
@@ -30,6 +37,7 @@
// Overridden from aura::NativeWidgetHelperAura:
virtual void PreInitialize(const Widget::InitParams& params) OVERRIDE;
+ virtual void PostInitialize() OVERRIDE;
virtual void ShowRootWindow() OVERRIDE;
virtual aura::RootWindow* GetRootWindow() OVERRIDE;
virtual gfx::Rect ModifyAndSetBounds(const gfx::Rect& bounds) OVERRIDE;
@@ -48,6 +56,10 @@
// Optionally, a RootWindow that we attach ourselves to.
scoped_ptr<aura::RootWindow> root_window_;
+#if defined(OS_WIN)
+ scoped_ptr<ui::HWNDSubclass> subclass_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetHelperAura);
};
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/desktop_native_widget_helper_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698