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

Unified Diff: chrome/browser/ui/layout_constants.cc

Issue 2380763002: Adjust positioning of website settings popup for Harmony. (Closed)
Patch Set: typo Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | ui/views/bubble/bubble_border.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/layout_constants.cc
diff --git a/chrome/browser/ui/layout_constants.cc b/chrome/browser/ui/layout_constants.cc
index 85e24db6bfcc5e08c637cd68897d45c02e4174b5..20ad07c4b2cc5e8371d2896487bb01d2c5e5a985 100644
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -46,6 +46,8 @@ int GetLayoutConstant(LayoutConstant constant) {
case LOCATION_BAR_BUBBLE_VERTICAL_PADDING:
return kLocationBarBubbleVerticalPadding[mode];
case LOCATION_BAR_BUBBLE_ANCHOR_VERTICAL_INSET:
+ if (ui::MaterialDesignController::IsSecondaryUiMaterial())
+ return 1;
return kLocationBarBubbleAnchorVerticalInset[mode];
case LOCATION_BAR_HEIGHT:
return kLocationBarHeight[mode];
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.cc » ('j') | ui/views/bubble/bubble_border.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698