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

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

Issue 2571613002: Convert Register Protocol Handler dialog for Harmony/Material Design (Closed)
Patch Set: More fixed nits 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 beff9d28854a2af1cb80aa967727e33b6962696c..c20092fd3dded96ce7fe4d6273138d7409aaac23 100644
--- a/chrome/browser/ui/views/harmony/layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/layout_delegate.h
@@ -10,14 +10,28 @@
class LayoutDelegate {
public:
enum class LayoutDistanceType {
+ // Left or right margin.
+ PANEL_HORIZ_MARGIN,
+ // Top or bottom margin.
PANEL_VERT_MARGIN,
+ // Horizontal spacing between controls that are logically related.
RELATED_CONTROL_HORIZONTAL_SPACING,
+ // Vertical spacing between controls that are logically related.
RELATED_CONTROL_VERTICAL_SPACING,
+ // Horizontal spacing between buttons that are logically related.
RELATED_BUTTON_HORIZONTAL_SPACING,
+ // Vertical spacing between controls that are logically unrelated.
UNRELATED_CONTROL_VERTICAL_SPACING,
+ // Larger vertical spacing between unrelated controls.
UNRELATED_CONTROL_LARGE_VERTICAL_SPACING,
+ // Vertical spacing between the edge of the window and the
+ // top or bottom of a button.
BUTTON_HEDGE_MARGIN_NEW,
+ // Horizontal spacing between the edge of the window and the
+ // left or right of a button.
BUTTON_VEDGE_MARGIN_NEW,
+ // Indent of checkboxes relative to related text.
+ CHECKBOX_INDENT,
};
enum class DialogWidthType {
« no previous file with comments | « chrome/browser/ui/views/harmony/harmony_layout_delegate.cc ('k') | chrome/browser/ui/views/harmony/layout_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698