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

Side by Side Diff: chrome/browser/views/autocomplete/autocomplete_popup_win.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h" 5 #include "chrome/browser/views/autocomplete/autocomplete_popup_win.h"
6 6
7 #include "app/gfx/insets.h" 7 #include "app/gfx/insets.h"
8 #include "app/win_util.h"
8 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h" 9 #include "chrome/browser/autocomplete/autocomplete_edit_view_win.h"
9 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 10 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
10 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h" 11 #include "chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h"
11 #include "chrome/common/win_util.h"
12 12
13 //////////////////////////////////////////////////////////////////////////////// 13 ////////////////////////////////////////////////////////////////////////////////
14 // AutocompletePopupWin, public: 14 // AutocompletePopupWin, public:
15 15
16 AutocompletePopupWin::AutocompletePopupWin( 16 AutocompletePopupWin::AutocompletePopupWin(
17 AutocompletePopupContentsView* contents) 17 AutocompletePopupContentsView* contents)
18 : contents_(contents) { 18 : contents_(contents) {
19 set_delete_on_destroy(false); 19 set_delete_on_destroy(false);
20 set_window_style(WS_POPUP | WS_CLIPCHILDREN); 20 set_window_style(WS_POPUP | WS_CLIPCHILDREN);
21 set_window_ex_style(WS_EX_TOOLWINDOW | WS_EX_LAYERED); 21 set_window_ex_style(WS_EX_TOOLWINDOW | WS_EX_LAYERED);
(...skipping 28 matching lines...) Expand all
50 contents_->GetPopupBounds(), 0, flags); 50 contents_->GetPopupBounds(), 0, flags);
51 } 51 }
52 52
53 //////////////////////////////////////////////////////////////////////////////// 53 ////////////////////////////////////////////////////////////////////////////////
54 // AutocompletePopupWin, WidgetWin overrides: 54 // AutocompletePopupWin, WidgetWin overrides:
55 55
56 LRESULT AutocompletePopupWin::OnMouseActivate(HWND window, UINT hit_test, 56 LRESULT AutocompletePopupWin::OnMouseActivate(HWND window, UINT hit_test,
57 UINT mouse_message) { 57 UINT mouse_message) {
58 return MA_NOACTIVATE; 58 return MA_NOACTIVATE;
59 } 59 }
OLDNEW
« no previous file with comments | « chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698