OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_THEME_HELPER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_THEME_HELPER_MAC_H_ |
6 #define CONTENT_BROWSER_THEME_HELPER_MAC_H_ | 6 #define CONTENT_BROWSER_THEME_HELPER_MAC_H_ |
7 | 7 |
8 #include "base/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
9 #include "content/public/browser/notification_observer.h" | 9 #include "content/public/browser/notification_observer.h" |
10 #include "content/public/browser/notification_registrar.h" | 10 #include "content/public/browser/notification_registrar.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 private: | 32 private: |
33 friend struct DefaultSingletonTraits<ThemeHelperMac>; | 33 friend struct DefaultSingletonTraits<ThemeHelperMac>; |
34 | 34 |
35 ThemeHelperMac(); | 35 ThemeHelperMac(); |
36 virtual ~ThemeHelperMac(); | 36 virtual ~ThemeHelperMac(); |
37 | 37 |
38 // Overridden from NotificationObserver: | 38 // Overridden from NotificationObserver: |
39 virtual void Observe(int type, | 39 virtual void Observe(int type, |
40 const NotificationSource& source, | 40 const NotificationSource& source, |
41 const NotificationDetails& details) OVERRIDE; | 41 const NotificationDetails& details) override; |
42 | 42 |
43 NotificationRegistrar registrar_; | 43 NotificationRegistrar registrar_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac); | 45 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace content | 48 } // namespace content |
49 | 49 |
50 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_ | 50 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_ |
OLD | NEW |