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

Side by Side Diff: content/browser/theme_helper_mac.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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
« no previous file with comments | « content/browser/tcmalloc_internals_request_job.cc ('k') | content/browser/theme_helper_mac.mm » ('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 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 14 matching lines...) Expand all
25 static void SendThemeChangeToAllRenderers( 25 static void SendThemeChangeToAllRenderers(
26 float initial_button_delay, 26 float initial_button_delay,
27 float autoscroll_button_delay, 27 float autoscroll_button_delay,
28 bool jump_on_track_click, 28 bool jump_on_track_click,
29 blink::ScrollerStyle preferred_scroller_style, 29 blink::ScrollerStyle preferred_scroller_style,
30 bool redraw, 30 bool redraw,
31 bool scroll_animation_enabled, 31 bool scroll_animation_enabled,
32 blink::ScrollbarButtonsPlacement button_placement); 32 blink::ScrollbarButtonsPlacement button_placement);
33 33
34 private: 34 private:
35 friend struct DefaultSingletonTraits<ThemeHelperMac>; 35 friend struct base::DefaultSingletonTraits<ThemeHelperMac>;
36 36
37 ThemeHelperMac(); 37 ThemeHelperMac();
38 ~ThemeHelperMac() override; 38 ~ThemeHelperMac() override;
39 39
40 // Overridden from NotificationObserver: 40 // Overridden from NotificationObserver:
41 void Observe(int type, 41 void Observe(int type,
42 const NotificationSource& source, 42 const NotificationSource& source,
43 const NotificationDetails& details) override; 43 const NotificationDetails& details) override;
44 44
45 NotificationRegistrar registrar_; 45 NotificationRegistrar registrar_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac); 47 DISALLOW_COPY_AND_ASSIGN(ThemeHelperMac);
48 }; 48 };
49 49
50 } // namespace content 50 } // namespace content
51 51
52 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_ 52 #endif // CONTENT_BROWSER_THEME_HELPER_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/tcmalloc_internals_request_job.cc ('k') | content/browser/theme_helper_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698