| 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 6c204f972bd87a68f87300c2de48ccfe7732a641..a8156119599e53d344afd8635f28ce33c9bcfdda 100644
|
| --- a/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| +++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h
|
| @@ -9,6 +9,7 @@
|
| #include <string>
|
|
|
| #include "base/gtest_prod_util.h"
|
| +#include "base/time.h"
|
| #include "base/timer.h"
|
| #include "chrome/browser/sessions/tab_restore_service.h"
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| @@ -17,7 +18,6 @@
|
| #include "content/common/notification_registrar.h"
|
|
|
| class GURL;
|
| -class MessageLoop;
|
| class PrefService;
|
| class Profile;
|
|
|
| @@ -92,6 +92,11 @@ class NewTabUI : public ChromeWebUI,
|
| // Returns true if the version was updated.
|
| static bool UpdateUserPrefsVersion(PrefService* prefs);
|
|
|
| + // Overridden from ChromeWebUI. Determines if the bookmarks bar should be
|
| + // displayed inline in the webui, taking into account the version of the NTP
|
| + // and the related preferences.
|
| + virtual bool IsBookmarkBarVisible() const OVERRIDE;
|
| +
|
| NotificationRegistrar registrar_;
|
|
|
| // The time when we started benchmarking.
|
|
|