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

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

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/bubble/bubble_dialog_delegate.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 01faf827be2b50b149051f8db97573ab99c766d3..d113747682e7f537c4f7e9732a858c1b532d552f 100644
--- a/ui/views/window/dialog_client_view.h
+++ b/ui/views/window/dialog_client_view.h
@@ -43,6 +43,7 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
// Update the dialog buttons to match the dialog's delegate.
void UpdateDialogButtons();
+ void SetButtonRowInsets(const gfx::Insets& insets);
// ClientView implementation:
bool CanClose() override;
@@ -63,10 +64,6 @@ class VIEWS_EXPORT DialogClientView : public ClientView,
// ButtonListener implementation:
void ButtonPressed(Button* sender, const ui::Event& event) override;
- void set_button_row_insets(const gfx::Insets& insets) {
- button_row_insets_ = insets;
- }
-
void set_minimum_size(const gfx::Size& size) { minimum_size_ = size; }
private:
« no previous file with comments | « ui/views/bubble/bubble_dialog_delegate.cc ('k') | ui/views/window/dialog_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698