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

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

Issue 2505973003: harmony: use Harmony sizing for ViewsDelegate sizing functions (Closed)
Patch Set: move constant Created 4 years, 1 month 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/harmony_layout_delegate.h
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
index fd36b15d297a11f88bb08f5165375602c12f46d8..7e31e61208bc52925ed42a41fe431ea5fe9369a5 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
+++ b/chrome/browser/ui/views/harmony/harmony_layout_delegate.h
@@ -9,6 +9,9 @@
class HarmonyLayoutDelegate : public LayoutDelegate {
public:
+ // The Harmony layout unit. All distances are in terms of this unit.
+ static const int kHarmonyLayoutUnit = 16;
+
HarmonyLayoutDelegate() {}
~HarmonyLayoutDelegate() override {}
« no previous file with comments | « chrome/browser/ui/views/chrome_views_delegate.cc ('k') | chrome/browser/ui/views/harmony/harmony_layout_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698