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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 9016036: Implement the new first run bubble, clean up old bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 8 years, 11 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/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index ad3ed600c6ad84d80ed01c33bafd8beb6e870d2d..79ecf8ca6483f7cb332c7b7798fd561eb2df3cab 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -117,16 +117,15 @@ LocationBarViewMac::~LocationBarViewMac() {
[[field_ cell] clearDecorations];
}
-void LocationBarViewMac::ShowFirstRunBubble(FirstRun::BubbleType bubble_type) {
+void LocationBarViewMac::ShowFirstRunBubble() {
// We need the browser window to be shown before we can show the bubble, but
// we get called before that's happened.
MessageLoop::current()->PostTask(FROM_HERE,
base::Bind(&LocationBarViewMac::ShowFirstRunBubbleInternal,
- weak_ptr_factory_.GetWeakPtr(), bubble_type));
+ weak_ptr_factory_.GetWeakPtr()));
}
-void LocationBarViewMac::ShowFirstRunBubbleInternal(
- FirstRun::BubbleType bubble_type) {
+void LocationBarViewMac::ShowFirstRunBubbleInternal() {
if (!field_ || ![field_ window])
return;
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h ('k') | chrome/browser/ui/gtk/first_run_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698