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

Unified Diff: chrome/browser/ui/views/harmony/layout_delegate.h

Issue 2660553005: Harmony - convert hung renderer dialog. (Closed)
Patch Set: comments 1 Created 3 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: chrome/browser/ui/views/harmony/layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/layout_delegate.h b/chrome/browser/ui/views/harmony/layout_delegate.h
index c20092fd3dded96ce7fe4d6273138d7409aaac23..b4d2eb363bb1f2b9e1ad9aa838aad540c9040f32 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -22,6 +22,8 @@ class LayoutDelegate {
RELATED_BUTTON_HORIZONTAL_SPACING,
// Vertical spacing between controls that are logically unrelated.
UNRELATED_CONTROL_VERTICAL_SPACING,
+ // Larger horizontal spacing between unrelated controls.
+ UNRELATED_CONTROL_LARGE_HORIZONTAL_SPACING,
Peter Kasting 2017/02/02 00:32:30 Once you resync with upstream, you'll want to rena
Bret 2017/02/03 01:47:17 Done.
// Larger vertical spacing between unrelated controls.
UNRELATED_CONTROL_LARGE_VERTICAL_SPACING,
// Vertical spacing between the edge of the window and the
@@ -75,6 +77,9 @@ class LayoutDelegate {
// there is no preferred width for |type|, returns 0.
virtual int GetDialogPreferredWidth(DialogWidthType type) const;
+ // Returns the minimum width for a dialog button.
+ virtual int GetDialogButtonMinimumWidth() const;
+
private:
DISALLOW_COPY_AND_ASSIGN(LayoutDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698