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

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

Issue 2874493002: Make ARC's intent picker use the buttons insets. (Closed)
Patch Set: Protecting against scenarios with no widget Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index 775f54d9815b039505f80e17a8266c9091a481d9..094d098e299b5c7a4d9569c5fbad0d282d2ef40b 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -108,6 +108,12 @@ void DialogClientView::UpdateDialogButtons() {
InvalidateLayout();
}
+void DialogClientView::SetButtonRowInsets(const gfx::Insets& insets) {
+ button_row_insets_ = insets;
+ if (GetWidget())
+ UpdateDialogButtons();
+}
+
///////////////////////////////////////////////////////////////////////////////
// DialogClientView, ClientView overrides:
« no previous file with comments | « ui/views/window/dialog_client_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698