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

Side by Side Diff: chrome/browser/themes/theme_service.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_THEMES_THEME_SERVICE_H_ 5 #ifndef CHROME_BROWSER_THEMES_THEME_SERVICE_H_
6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_ 6 #define CHROME_BROWSER_THEMES_THEME_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 virtual void NotifyPlatformThemeChanged(); 242 virtual void NotifyPlatformThemeChanged();
243 #endif // OS_MACOSX 243 #endif // OS_MACOSX
244 244
245 // Clears the platform-specific caches. Do not call directly; it's called 245 // Clears the platform-specific caches. Do not call directly; it's called
246 // from ClearCaches(). 246 // from ClearCaches().
247 virtual void FreePlatformCaches(); 247 virtual void FreePlatformCaches();
248 248
249 Profile* profile() { return profile_; } 249 Profile* profile() { return profile_; }
250 250
251 // NotificationObserver: 251 // NotificationObserver:
252 virtual void Observe(NotificationType type, 252 virtual void Observe(int type,
253 const NotificationSource& source, 253 const NotificationSource& source,
254 const NotificationDetails& details); 254 const NotificationDetails& details);
255 255
256 private: 256 private:
257 friend class ThemeServiceTest; 257 friend class ThemeServiceTest;
258 258
259 // Saves the filename of the cached theme pack. 259 // Saves the filename of the cached theme pack.
260 void SavePackName(const FilePath& pack_path); 260 void SavePackName(const FilePath& pack_path);
261 261
262 // Save the id of the last theme installed. 262 // Save the id of the last theme installed.
(...skipping 30 matching lines...) Expand all
293 293
294 // The number of infobars currently displayed. 294 // The number of infobars currently displayed.
295 int number_of_infobars_; 295 int number_of_infobars_;
296 296
297 NotificationRegistrar registrar_; 297 NotificationRegistrar registrar_;
298 298
299 DISALLOW_COPY_AND_ASSIGN(ThemeService); 299 DISALLOW_COPY_AND_ASSIGN(ThemeService);
300 }; 300 };
301 301
302 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ 302 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698