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

Unified Diff: chrome/browser/ui/views/native_constrained_window_win.cc

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/native_constrained_window_win.cc
===================================================================
--- chrome/browser/ui/views/native_constrained_window_win.cc (revision 85284)
+++ chrome/browser/ui/views/native_constrained_window_win.cc (working copy)
@@ -16,7 +16,8 @@
public views::WindowWin {
public:
explicit NativeConstrainedWindowWin(NativeConstrainedWindowDelegate* delegate)
- : delegate_(delegate) {
+ : views::WindowWin(delegate->AsNativeWindowDelegate()),
+ delegate_(delegate) {
}
virtual ~NativeConstrainedWindowWin() {
@@ -41,11 +42,6 @@
return WindowWin::OnMouseActivate(message, w_param, l_param);
}
- // Overridden from views::Window:
- virtual views::NonClientFrameView* CreateFrameViewForWindow() OVERRIDE {
- return delegate_->CreateFrameViewForWindow();
- }
-
NativeConstrainedWindowDelegate* delegate_;
DISALLOW_COPY_AND_ASSIGN(NativeConstrainedWindowWin);
« no previous file with comments | « chrome/browser/ui/views/js_modal_dialog_views.cc ('k') | chrome/browser/ui/views/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698