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

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

Issue 13896011: Make javascript dialogs into top-level windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix non-aura build. Created 7 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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | ui/views/win/hwnd_util_aurawin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_util.h
diff --git a/ui/views/win/hwnd_util.h b/ui/views/win/hwnd_util.h
index ce33de11eb61cd0465ac8862bc4b3036f3efd9e0..48f8d043c7644f388952c85643789440e117296b 100644
--- a/ui/views/win/hwnd_util.h
+++ b/ui/views/win/hwnd_util.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_WIN_HWND_UTIL_H_
#include "ui/gfx/native_widget_types.h"
+#include "ui/gfx/rect.h"
#include "ui/views/views_export.h"
namespace views {
@@ -25,6 +26,8 @@ VIEWS_EXPORT HWND HWNDForNativeView(gfx::NativeView view);
// Returns the HWND for the specified NativeWindow.
VIEWS_EXPORT HWND HWNDForNativeWindow(gfx::NativeWindow window);
+VIEWS_EXPORT gfx::Rect GetWindowBoundsForClientBounds(
+ View* view, const gfx::Rect& client_bounds);
}
#endif // UI_VIEWS_WIN_HWND_UTIL_H_
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_native_widget_aura.cc ('k') | ui/views/win/hwnd_util_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698