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

Unified Diff: ui/base/win/hwnd_util.h

Issue 10270029: Fullscreen can't use the desktop as a parent in metro mode (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/win/hwnd_util.h
===================================================================
--- ui/base/win/hwnd_util.h (revision 134578)
+++ 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 root window you can use to parent a window. Note that in some
+// cases we create child windows not parented to its final container so in
+// those very few cases you should pass true in |is_child_window|.
+UI_EXPORT HWND GetRootWindow(bool is_child_window);
sky 2012/05/01 15:40:39 Is there another name we could use for this? RootW
cpu_(ooo_6.6-7.5) 2012/05/01 20:53:12 Yeah, I noticed. Does not seem to conflict because
+
} // namespace ui
#endif // UI_BASE_WIN_HWND_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698