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

Unified Diff: ui/views/window/dialog_client_view.h

Issue 2200193004: Support multiple lines for status text on Chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment Created 4 years, 4 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 | « chrome/browser/ui/views/chooser_content_view.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.h
diff --git a/ui/views/window/dialog_client_view.h b/ui/views/window/dialog_client_view.h
index 60080b00c8ce0ce32b3c6b26d8fe8b9d01f9c248..3fb88c08b25e2c1b91650c7e47fbe7ea9f34ccce 100644
--- a/ui/views/window/dialog_client_view.h
+++ b/ui/views/window/dialog_client_view.h
@@ -87,6 +87,12 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
// Update |button|'s text and enabled state according to the delegate's state.
void UpdateButton(LabelButton* button, ui::DialogButton type);
+ // Returns the height of the buttons.
+ int GetButtonHeight() const;
+
+ // Returns the height of the extra view.
+ int GetExtraViewHeight() const;
+
// Returns the height of the row containing the buttons and the extra view.
int GetButtonsAndExtraViewRowHeight() const;
« no previous file with comments | « chrome/browser/ui/views/chooser_content_view.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698