Index: ui/base/win/hwnd_util.h |
=================================================================== |
--- ui/base/win/hwnd_util.h (revision 134777) |
+++ ui/base/win/hwnd_util.h (working copy) |
@@ -47,6 +47,11 @@ |
// user selected something. |
UI_EXPORT void ShowSystemMenu(HWND window, int screen_x, int screen_y); |
+// Returns the window you can use to parent a top level window. |
+// Note that in some cases we create child windows not parented to its final |
+// container so in those cases you should pass true in |get_real_hwnd|. |
+UI_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd); |
+ |
} // namespace ui |
#endif // UI_BASE_WIN_HWND_UTIL_H_ |