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

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

Issue 9477018: retry r123804 - ntp theme fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 #endif // __OBJC__ 45 #endif // __OBJC__
46 46
47 class ThemeService : public base::NonThreadSafe, 47 class ThemeService : public base::NonThreadSafe,
48 public content::NotificationObserver, 48 public content::NotificationObserver,
49 public ProfileKeyedService, 49 public ProfileKeyedService,
50 public ui::ThemeProvider { 50 public ui::ThemeProvider {
51 public: 51 public:
52 // Public constants used in ThemeService and its subclasses: 52 // Public constants used in ThemeService and its subclasses:
53 53
54 // Strings used in alignment properties. 54 // Strings used in alignment properties.
55 static const char* kAlignmentCenter;
55 static const char* kAlignmentTop; 56 static const char* kAlignmentTop;
56 static const char* kAlignmentBottom; 57 static const char* kAlignmentBottom;
57 static const char* kAlignmentLeft; 58 static const char* kAlignmentLeft;
58 static const char* kAlignmentRight; 59 static const char* kAlignmentRight;
59 60
60 // Strings used in tiling properties. 61 // Strings used in tiling properties.
61 static const char* kTilingNoRepeat; 62 static const char* kTilingNoRepeat;
62 static const char* kTilingRepeatX; 63 static const char* kTilingRepeatX;
63 static const char* kTilingRepeatY; 64 static const char* kTilingRepeatY;
64 static const char* kTilingRepeat; 65 static const char* kTilingRepeat;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 313
313 // The number of infobars currently displayed. 314 // The number of infobars currently displayed.
314 int number_of_infobars_; 315 int number_of_infobars_;
315 316
316 content::NotificationRegistrar registrar_; 317 content::NotificationRegistrar registrar_;
317 318
318 DISALLOW_COPY_AND_ASSIGN(ThemeService); 319 DISALLOW_COPY_AND_ASSIGN(ThemeService);
319 }; 320 };
320 321
321 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_ 322 #endif // CHROME_BROWSER_THEMES_THEME_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698