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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc

Issue 1950863002: [Views] Center bubble title text vertically when title icon is tall. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
index 8ae8305526e276e094d61bef0219db008875b186..d74aa28e0c7b996a6b183bb21f9029fbaa1f20fa 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
@@ -218,7 +218,6 @@ bool ExtensionInstalledBubbleView::ShouldShowCloseButton() const {
}
void ExtensionInstalledBubbleView::Init() {
- gfx::Insets insets = margins();
UpdateAnchorView();
// The Extension Installed bubble takes on various forms, depending on the
@@ -238,9 +237,6 @@ void ExtensionInstalledBubbleView::Init() {
// or a link to configure the keybinding shortcut (if one exists).
// Extra info can include a promo for signing into sync.
- // Move explanatory text closer to the title.
Evan Stade 2016/05/04 01:35:29 this was previously necessary because the title te
- set_margins(gfx::Insets(0, insets.left(), insets.bottom(), insets.right()));
-
std::unique_ptr<views::BoxLayout> layout(
new views::BoxLayout(views::BoxLayout::kVertical, 0, 0,
views::kRelatedControlVerticalSpacing));
« no previous file with comments | « no previous file | ui/views/bubble/bubble_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698