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

Unified Diff: chrome/browser/ui/views/first_run_bubble.h

Issue 10830254: views: Pass only Browser pointer to FirstRunBubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 8 years, 4 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 | « no previous file | chrome/browser/ui/views/first_run_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/first_run_bubble.h
diff --git a/chrome/browser/ui/views/first_run_bubble.h b/chrome/browser/ui/views/first_run_bubble.h
index b10579b696a2c85956762732bd13c53353c1a11f..8d9bee9cb575373cdae2e4c67e8bd99d5c4b2acf 100644
--- a/chrome/browser/ui/views/first_run_bubble.h
+++ b/chrome/browser/ui/views/first_run_bubble.h
@@ -6,19 +6,15 @@
#define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_
#include "ui/views/bubble/bubble_delegate.h"
-#include "ui/views/controls/button/button.h"
#include "ui/views/controls/link_listener.h"
class Browser;
-class Profile;
class FirstRunBubble : public views::BubbleDelegateView,
public views::LinkListener {
public:
// |browser| is the opening browser and is NULL in unittests.
- static FirstRunBubble* ShowBubble(Browser* browser,
- Profile* profile,
- views::View* anchor_view);
+ static FirstRunBubble* ShowBubble(Browser* browser, views::View* anchor_view);
// views::BubbleDelegateView overrides:
virtual gfx::Rect GetAnchorRect() OVERRIDE;
@@ -28,14 +24,13 @@ class FirstRunBubble : public views::BubbleDelegateView,
virtual void Init() OVERRIDE;
private:
- FirstRunBubble(Browser* browser, Profile* profile, views::View* anchor_view);
+ FirstRunBubble(Browser* browser, views::View* anchor_view);
virtual ~FirstRunBubble();
// views::LinkListener overrides:
virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
Browser* browser_;
- Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(FirstRunBubble);
};
« no previous file with comments | « no previous file | chrome/browser/ui/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698