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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 13142003: Fix app list position in windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 7 years, 9 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 | « chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index d993e091e0c98418a98099747590ca9d1322f0f4..8cfe5e2c06e18bf1b689dc5b53976743cf2a8452 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -222,8 +222,8 @@ void PopupHeaderView::SetIdentityStatus(const string16& status,
InternalPageInfoPopupView::InternalPageInfoPopupView(views::View* anchor_view)
: BubbleDelegateView(anchor_view, views::BubbleBorder::TOP_LEFT) {
// Compensate for built-in vertical padding in the anchor view's image.
- set_anchor_insets(gfx::Insets(kLocationIconVerticalMargin, 0,
- kLocationIconVerticalMargin, 0));
+ set_anchor_view_insets(gfx::Insets(kLocationIconVerticalMargin, 0,
+ kLocationIconVerticalMargin, 0));
const int kSpacing = 4;
SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal, kSpacing,
@@ -291,8 +291,8 @@ WebsiteSettingsPopupView::WebsiteSettingsPopupView(
connection_info_content_(NULL),
page_info_content_(NULL) {
// Compensate for built-in vertical padding in the anchor view's image.
- set_anchor_insets(gfx::Insets(kLocationIconVerticalMargin, 0,
- kLocationIconVerticalMargin, 0));
+ set_anchor_view_insets(gfx::Insets(kLocationIconVerticalMargin, 0,
+ kLocationIconVerticalMargin, 0));
views::GridLayout* layout = new views::GridLayout(this);
SetLayoutManager(layout);
« no previous file with comments | « chrome/browser/ui/views/sync/one_click_signin_bubble_view.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698