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

Unified Diff: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc

Issue 2819633002: Restored Pre-Harmony Bubble title margin metrics (Closed)
Patch Set: Fixed a typo 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/passwords/manage_passwords_bubble_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
index cb65bf63633e5c179ec583f4b7dadb493d1a41ed..5f5471b9e5bdf2b29eb025d8f6ba821a6088324d 100644
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc
@@ -15,7 +15,6 @@
#include "chrome/browser/ui/passwords/password_dialog_prompts.h"
#include "chrome/browser/ui/passwords/passwords_model_delegate.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
-#include "chrome/browser/ui/views/harmony/chrome_layout_provider.h"
#include "chrome/browser/ui/views/passwords/credentials_item_view.h"
#include "chrome/browser/ui/views/passwords/credentials_selection_view.h"
#include "chrome/browser/ui/views/passwords/manage_password_items_view.h"
@@ -768,11 +767,6 @@ ManagePasswordsBubbleView::ManagePasswordsBubbleView(
: ManagePasswordsBubbleModel::USER_ACTION),
initially_focused_view_(nullptr) {
mouse_handler_.reset(new WebContentMouseHandler(this, this->web_contents()));
- // Set title margins to make the title and the content left aligned.
- const int side_margin = margins().left();
- set_title_margins(gfx::Insets(ChromeLayoutProvider::Get()->GetDistanceMetric(
- DISTANCE_PANEL_CONTENT_MARGIN),
- side_margin, 0, side_margin));
}
ManagePasswordsBubbleView::~ManagePasswordsBubbleView() {

Powered by Google App Engine
This is Rietveld 408576698