OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_BASE_WIN_HWND_UTIL_H_ | 5 #ifndef UI_BASE_WIN_HWND_UTIL_H_ |
6 #define UI_BASE_WIN_HWND_UTIL_H_ | 6 #define UI_BASE_WIN_HWND_UTIL_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "ui/base/ui_export.h" | 11 #include "ui/base/ui_export.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 class Point; | 14 class Point; |
15 class Size; | 15 class Size; |
16 } | 16 } |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 | 19 |
20 // A version of the GetClassNameW API that returns the class name in an | 20 // A version of the GetClassNameW API that returns the class name in an |
(...skipping 27 matching lines...) Expand all Loading... |
48 UI_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point); | 48 UI_EXPORT void ShowSystemMenuAtPoint(HWND window, const gfx::Point& point); |
49 | 49 |
50 // Returns the window you can use to parent a top level window. | 50 // Returns the window you can use to parent a top level window. |
51 // Note that in some cases we create child windows not parented to its final | 51 // Note that in some cases we create child windows not parented to its final |
52 // container so in those cases you should pass true in |get_real_hwnd|. | 52 // container so in those cases you should pass true in |get_real_hwnd|. |
53 UI_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd); | 53 UI_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd); |
54 | 54 |
55 } // namespace ui | 55 } // namespace ui |
56 | 56 |
57 #endif // UI_BASE_WIN_HWND_UTIL_H_ | 57 #endif // UI_BASE_WIN_HWND_UTIL_H_ |
OLD | NEW |