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

Unified Diff: chrome/browser/ui/views/first_run_bubble.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/first_run_bubble.cc
diff --git a/chrome/browser/ui/views/first_run_bubble.cc b/chrome/browser/ui/views/first_run_bubble.cc
index bc838ab586400dd5ee21efeebb511934e854f45f..d95e0bb2e7d6619c749777b3753d9c604c79f1a6 100644
--- a/chrome/browser/ui/views/first_run_bubble.cc
+++ b/chrome/browser/ui/views/first_run_bubble.cc
@@ -30,7 +30,7 @@
using content::UserMetricsAction;
namespace {
-const int kAnchorVerticalOffset = -4;
+const int kAnchorVerticalInset = 5;
const int kLayoutTopInset = 1;
const int kLayoutLeftInset = 2;
const int kLayoutBottomInset = 7;
@@ -102,7 +102,7 @@ void FirstRunBubble::Init() {
gfx::Rect FirstRunBubble::GetAnchorRect() {
// Compensate for padding in anchor.
gfx::Rect rect(BubbleDelegateView::GetAnchorRect());
- rect.Offset(0, anchor_view() ? kAnchorVerticalOffset : 0);
+ rect.Inset(0, anchor_view() ? kAnchorVerticalInset : 0);
return rect;
}
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_installed_bubble.cc ('k') | chrome/browser/ui/views/global_error_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698