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

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

Issue 2750063002: views: implement dialog width snapping (Closed)
Patch Set: Created 3 years, 9 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 e37879f86ed5e5433edaf45c5a8b4f31ef58058a..5f7f10ae49dfca6f1af2fe6e5e32c54fefb89aad 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -28,6 +28,8 @@ class LayoutDelegate {
// Horizontal or vertical margin between the edge of a dialog and the close
// button in the upper trailing corner.
DIALOG_CLOSE_BUTTON_MARGIN,
+ // Dialog widths will be snapped upward to a multiple of this unit.
+ DIALOG_WIDTH_SNAPPING_UNIT,
// Horizontal or vertical margin between the edge of a panel and the
// contained content.
PANEL_CONTENT_MARGIN,

Powered by Google App Engine
This is Rietveld 408576698