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

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

Issue 123793002: Fix omnibox height when less than 64 pixels tall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/views/win/hwnd_message_handler.h
diff --git a/ui/views/win/hwnd_message_handler.h b/ui/views/win/hwnd_message_handler.h
index ab75a96ce73a4af4518337182cbaad42bed58297..3c877df064af66e64d85a31747756d36a1074b0c 100644
--- a/ui/views/win/hwnd_message_handler.h
+++ b/ui/views/win/hwnd_message_handler.h
@@ -123,6 +123,9 @@ class VIEWS_EXPORT HWNDMessageHandler :
gfx::Rect GetWindowBoundsInScreen() const;
gfx::Rect GetClientAreaBoundsInScreen() const;
gfx::Rect GetRestoredBounds() const;
+ // This accounts for the case where the widget size is the client size.
+ gfx::Rect GetClientAreaBounds() const;
+
void GetWindowPlacement(gfx::Rect* bounds,
ui::WindowShowState* show_state) const;

Powered by Google App Engine
This is Rietveld 408576698