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

Unified Diff: chrome/browser/views/first_run_view.h

Issue 155168: Fix for the default browser info-bar showing after first run (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/first_run_win.cc ('k') | chrome/browser/views/first_run_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/first_run_view.h
===================================================================
--- chrome/browser/views/first_run_view.h (revision 20029)
+++ chrome/browser/views/first_run_view.h (working copy)
@@ -28,6 +28,8 @@
explicit FirstRunView(Profile* profile);
virtual ~FirstRunView();
+ bool accepted() const { return accepted_;}
+
// Overridden from views::View:
virtual gfx::Size GetPreferredSize();
virtual void Layout();
@@ -61,6 +63,10 @@
views::Link* customize_link_;
bool customize_selected_;
+ // Whether the user accepted (pressed the "Start" button as opposed to
+ // "Cancel").
+ bool accepted_;
+
DISALLOW_COPY_AND_ASSIGN(FirstRunView);
};
« no previous file with comments | « chrome/browser/first_run_win.cc ('k') | chrome/browser/views/first_run_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698