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

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

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/constrained_window_views.h" 5 #include "chrome/browser/ui/views/constrained_window_views.h"
6 6
7 #include "views/widget/native_widget_win.h" 7 #include "ui/views/widget/native_widget_win.h"
8 8
9 namespace { 9 namespace {
10 bool IsNonClientHitTestCode(UINT hittest) { 10 bool IsNonClientHitTestCode(UINT hittest) {
11 return hittest != HTCLIENT && hittest != HTNOWHERE && hittest != HTCLOSE; 11 return hittest != HTCLIENT && hittest != HTNOWHERE && hittest != HTCLOSE;
12 } 12 }
13 } 13 }
14 14
15 class NativeConstrainedWindowWin : public NativeConstrainedWindow, 15 class NativeConstrainedWindowWin : public NativeConstrainedWindow,
16 public views::NativeWidgetWin { 16 public views::NativeWidgetWin {
17 public: 17 public:
(...skipping 30 matching lines...) Expand all
48 }; 48 };
49 49
50 //////////////////////////////////////////////////////////////////////////////// 50 ////////////////////////////////////////////////////////////////////////////////
51 // NativeConstrainedWindow, public: 51 // NativeConstrainedWindow, public:
52 52
53 // static 53 // static
54 NativeConstrainedWindow* NativeConstrainedWindow::CreateNativeConstrainedWindow( 54 NativeConstrainedWindow* NativeConstrainedWindow::CreateNativeConstrainedWindow(
55 NativeConstrainedWindowDelegate* delegate) { 55 NativeConstrainedWindowDelegate* delegate) {
56 return new NativeConstrainedWindowWin(delegate); 56 return new NativeConstrainedWindowWin(delegate);
57 } 57 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/native_constrained_window_aura.cc ('k') | chrome/browser/ui/views/notifications/balloon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698