| 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/macros.h" |
| 8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 9 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 10 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 11 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 12 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| 15 class ThemeHelperMac : public NotificationObserver { | 16 class ThemeHelperMac : public NotificationObserver { |
| 16 public: | 17 public: |
| 17 // Return pointer to the singleton instance for the current process, or NULL | 18 // Return pointer to the singleton instance for the current process, or NULL |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 const NotificationDetails& details) override; | 35 const NotificationDetails& details) override; |
| 35 | 36 |
| 36 NotificationRegistrar registrar_; | 37 NotificationRegistrar registrar_; |
| 37 | 38 |
| 38 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac); | 39 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace content | 42 } // namespace content |
| 42 | 43 |
| 43 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_ | 44 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_ |
| OLD | NEW |