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

Side by Side 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, 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/base/win/hwnd_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include <windows.h> 9 #include <windows.h>
10 10
(...skipping 29 matching lines...) Expand all
40 const gfx::Size& pref); 40 const gfx::Size& pref);
41 41
42 // If |hwnd| is NULL logs various thing and CHECKs. Invoke right after calling 42 // If |hwnd| is NULL logs various thing and CHECKs. Invoke right after calling
43 // CreateWindow. 43 // CreateWindow.
44 UI_EXPORT void CheckWindowCreated(HWND hwnd); 44 UI_EXPORT void CheckWindowCreated(HWND hwnd);
45 45
46 // Shows the system menu for |window| and sends the selected command (if the 46 // Shows the system menu for |window| and sends the selected command (if the
47 // user selected something. 47 // user selected something.
48 UI_EXPORT void ShowSystemMenu(HWND window, int screen_x, int screen_y); 48 UI_EXPORT void ShowSystemMenu(HWND window, int screen_x, int screen_y);
49 49
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
52 // container so in those cases you should pass true in |get_real_hwnd|.
53 UI_EXPORT HWND GetWindowToParentTo(bool get_real_hwnd);
54
50 } // namespace ui 55 } // namespace ui
51 56
52 #endif // UI_BASE_WIN_HWND_UTIL_H_ 57 #endif // UI_BASE_WIN_HWND_UTIL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | ui/base/win/hwnd_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698