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

Unified Diff: chrome/browser/ui/views/content_setting_bubble_contents.cc

Issue 8870003: Merge BorderContentsView into BubbleFrameView; simplify. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 9 years 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/content_setting_bubble_contents.cc
diff --git a/chrome/browser/ui/views/content_setting_bubble_contents.cc b/chrome/browser/ui/views/content_setting_bubble_contents.cc
index 08feea3528724a085b699e5c66c8c68262e785a4..ce1fd64b496282158341f3cd8272656d5857e963 100644
--- a/chrome/browser/ui/views/content_setting_bubble_contents.cc
+++ b/chrome/browser/ui/views/content_setting_bubble_contents.cc
@@ -135,7 +135,7 @@ gfx::Size ContentSettingBubbleContents::GetPreferredSize() {
gfx::Rect ContentSettingBubbleContents::GetAnchorRect() {
gfx::Rect rect(BubbleDelegateView::GetAnchorRect());
- rect.Offset(0, -5);
+ rect.Inset(0, anchor_view() ? 5 : 0);
return rect;
}

Powered by Google App Engine
This is Rietveld 408576698