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

Side by Side Diff: chrome/browser/ui/views/bubble/border_widget_win.h

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 #ifndef CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/views/bubble/bubble_border.h" 9 #include "ui/views/bubble/bubble_border.h"
10 #include "views/widget/native_widget_win.h" 10 #include "ui/views/widget/native_widget_win.h"
11 11
12 class BorderContents; 12 class BorderContents;
13 13
14 // This is a window that surrounds the info bubble and paints the margin and 14 // This is a window that surrounds the info bubble and paints the margin and
15 // border. It is a separate window so that it can be a layered window, so that 15 // border. It is a separate window so that it can be a layered window, so that
16 // we can use >1-bit alpha shadow images on the borders, which look nicer than 16 // we can use >1-bit alpha shadow images on the borders, which look nicer than
17 // the Windows CS_DROPSHADOW shadows. The info bubble window itself cannot be a 17 // the Windows CS_DROPSHADOW shadows. The info bubble window itself cannot be a
18 // layered window because that prevents it from hosting native child controls. 18 // layered window because that prevents it from hosting native child controls.
19 class BorderWidgetWin : public views::NativeWidgetWin { 19 class BorderWidgetWin : public views::NativeWidgetWin {
20 public: 20 public:
(...skipping 23 matching lines...) Expand all
44 private: 44 private:
45 // Overridden from NativeWidgetWin: 45 // Overridden from NativeWidgetWin:
46 virtual LRESULT OnMouseActivate(UINT message, 46 virtual LRESULT OnMouseActivate(UINT message,
47 WPARAM w_param, 47 WPARAM w_param,
48 LPARAM l_param) OVERRIDE; 48 LPARAM l_param) OVERRIDE;
49 49
50 DISALLOW_COPY_AND_ASSIGN(BorderWidgetWin); 50 DISALLOW_COPY_AND_ASSIGN(BorderWidgetWin);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_ 53 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BORDER_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_bubble_win.cc ('k') | chrome/browser/ui/views/bubble/border_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698