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

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

Issue 2968713003: Harmonize the find in page dialog. (Closed)
Patch Set: Added distance metrics for toast button/label/text. Using these in the find bar. Created 3 years, 5 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/chrome_layout_provider.h
diff --git a/chrome/browser/ui/views/harmony/chrome_layout_provider.h b/chrome/browser/ui/views/harmony/chrome_layout_provider.h
index f647d06b103fecca4c797d4b913f3cf21e691f17..85a2f93f522e54c05e540304795be9e921bab7f8 100644
--- a/chrome/browser/ui/views/harmony/chrome_layout_provider.h
+++ b/chrome/browser/ui/views/harmony/chrome_layout_provider.h
@@ -37,6 +37,12 @@ enum ChromeDistanceMetric {
DISTANCE_UNRELATED_CONTROL_HORIZONTAL_LARGE,
// Larger vertical spacing between unrelated controls.
DISTANCE_UNRELATED_CONTROL_VERTICAL_LARGE,
+ // Vertical margin for buttons in a toast.
+ DISTANCE_TOAST_BUTTON_VERTICAL,
Peter Kasting 2017/07/13 04:52:47 Combine BUTTON and TEXT (which I think really mean
ananta 2017/07/13 05:22:10 Done.
+ // Vertical spacing for text in a toast.
+ DISTANCE_TOAST_TEXT_VERTICAL,
+ // Vertical spacing for labels in a toast.
+ DISTANCE_TOAST_LABEL_VERTICAL,
};
class ChromeLayoutProvider : public views::LayoutProvider {

Powered by Google App Engine
This is Rietveld 408576698