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

Side by Side Diff: chrome/browser/ui/views/bubble/border_widget_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/bubble/border_widget_win.h" 5 #include "chrome/browser/ui/views/bubble/border_widget_win.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "chrome/browser/ui/views/bubble/border_contents.h" 9 #include "chrome/browser/ui/views/bubble/border_contents.h"
10 #include "views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 BorderWidgetWin::BorderWidgetWin() 12 BorderWidgetWin::BorderWidgetWin()
13 : views::NativeWidgetWin(new views::Widget), 13 : views::NativeWidgetWin(new views::Widget),
14 border_contents_(NULL) { 14 border_contents_(NULL) {
15 } 15 }
16 16
17 void BorderWidgetWin::InitBorderWidgetWin(BorderContents* border_contents, 17 void BorderWidgetWin::InitBorderWidgetWin(BorderContents* border_contents,
18 HWND owner) { 18 HWND owner) {
19 DCHECK(!border_contents_); 19 DCHECK(!border_contents_);
20 border_contents_ = border_contents; 20 border_contents_ = border_contents;
(...skipping 25 matching lines...) Expand all
46 contents_bounds.Offset(window_bounds.origin()); 46 contents_bounds.Offset(window_bounds.origin());
47 return contents_bounds; 47 return contents_bounds;
48 } 48 }
49 49
50 LRESULT BorderWidgetWin::OnMouseActivate(UINT message, 50 LRESULT BorderWidgetWin::OnMouseActivate(UINT message,
51 WPARAM w_param, 51 WPARAM w_param,
52 LPARAM l_param) { 52 LPARAM l_param) {
53 // Never activate. 53 // Never activate.
54 return MA_NOACTIVATE; 54 return MA_NOACTIVATE;
55 } 55 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bubble/border_widget_win.h ('k') | chrome/browser/ui/views/bubble/bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698