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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_ui.h

Issue 7562019: ntp: remove dead first run code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fix Created 9 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/new_tab_ui.h
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h
index af1cc4791a54c71c9bb6ab2811e146b6fe397765..02c7db53bc0ef31a9e4fc674fd26bd304099cf93 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
@@ -37,10 +37,6 @@ class NewTabUI : public ChromeWebUI,
static void MigrateUserPrefs(PrefService* prefs, int old_pref_version,
int new_pref_version);
- // Whether we should disable the first run notification based on the command
- // line switch.
- static bool FirstRunDisabled();
-
// Adds "url", "title", and "direction" keys on incoming dictionary, setting
// title as the url as a fallback on empty title.
static void SetURLTitleAndDirection(base::DictionaryValue* dictionary,
@@ -64,16 +60,9 @@ class NewTabUI : public ChromeWebUI,
virtual bool ShouldReplaceExistingSource() const;
- // Setters and getters for first_run.
- static void set_first_run(bool first_run) { first_run_ = first_run; }
- static bool first_run() { return first_run_; }
-
private:
virtual ~NewTabHTMLSource() {}
- // Whether this is the first run.
- static bool first_run_;
-
// Pointer back to the original profile.
Profile* profile_;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/webui/ntp/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698