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

Side by Side Diff: chrome/browser/dom_ui/new_tab_ui.h

Issue 243067: Fix NTP so that it updates on theme change.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
7 7
8 #include "chrome/browser/dom_ui/dom_ui.h" 8 #include "chrome/browser/dom_ui/dom_ui.h"
9 #include "chrome/common/notification_registrar.h" 9 #include "chrome/common/notification_registrar.h"
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 // Whether we should disable the first run notification based on the command 34 // Whether we should disable the first run notification based on the command
35 // line switch. 35 // line switch.
36 static bool FirstRunDisabled(); 36 static bool FirstRunDisabled();
37 37
38 private: 38 private:
39 void Observe(NotificationType type, 39 void Observe(NotificationType type,
40 const NotificationSource& source, 40 const NotificationSource& source,
41 const NotificationDetails& details); 41 const NotificationDetails& details);
42 42
43 // Reset the CSS caches.
44 void InitializeCSSCaches();
45
43 NotificationRegistrar registrar_; 46 NotificationRegistrar registrar_;
44 47
45 // The message id that should be displayed in this NewTabUIContents 48 // The message id that should be displayed in this NewTabUIContents
46 // instance's motd area. 49 // instance's motd area.
47 int motd_message_id_; 50 int motd_message_id_;
48 51
49 // Whether the user is in incognito mode or not, used to determine 52 // Whether the user is in incognito mode or not, used to determine
50 // what HTML to load. 53 // what HTML to load.
51 bool incognito_; 54 bool incognito_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(NewTabUI); 56 DISALLOW_COPY_AND_ASSIGN(NewTabUI);
54 }; 57 };
55 58
56 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_ 59 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/new_tab_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698