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

Unified Diff: chrome/browser/ui/views/harmony/harmony_layout_provider.cc

Issue 2819633002: Restored Pre-Harmony Bubble title margin metrics (Closed)
Patch Set: Added browser dialog interactive test for password bubbles Created 3 years, 8 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/harmony_layout_provider.cc
diff --git a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
index 3a9a0d58fa59b158a4137a251e55ab7a832696e3..35a53b1c86967bc30fd21af665b5609f97201745 100644
--- a/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
+++ b/chrome/browser/ui/views/harmony/harmony_layout_provider.cc
@@ -11,6 +11,7 @@ gfx::Insets HarmonyLayoutProvider::GetInsetsMetric(int metric) const {
case views::INSETS_PANEL:
case views::INSETS_BUBBLE_CONTENTS:
return gfx::Insets(kHarmonyLayoutUnit);
+ case views::INSETS_BUBBLE_TITLE:
case views::INSETS_DIALOG_TITLE: {
constexpr int top = kHarmonyLayoutUnit;
constexpr int side = kHarmonyLayoutUnit;

Powered by Google App Engine
This is Rietveld 408576698