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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutThemeFontProvider.h

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef LayoutThemeFontProvider_h 26 #ifndef LayoutThemeFontProvider_h
27 #define LayoutThemeFontProvider_h 27 #define LayoutThemeFontProvider_h
28 28
29 #include "core/CSSValueKeywords.h" 29 #include "core/CSSValueKeywords.h"
30 #include "core/CoreExport.h" 30 #include "core/CoreExport.h"
31 #include "platform/fonts/FontTraits.h" 31 #include "platform/fonts/FontTraits.h"
32 #include "wtf/Allocator.h" 32 #include "platform/wtf/Allocator.h"
33 #include "wtf/text/AtomicString.h" 33 #include "platform/wtf/text/AtomicString.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class CORE_EXPORT LayoutThemeFontProvider { 37 class CORE_EXPORT LayoutThemeFontProvider {
38 STATIC_ONLY(LayoutThemeFontProvider); 38 STATIC_ONLY(LayoutThemeFontProvider);
39 39
40 public: 40 public:
41 static void SystemFont(CSSValueID system_font_id, 41 static void SystemFont(CSSValueID system_font_id,
42 FontStyle&, 42 FontStyle&,
43 FontWeight&, 43 FontWeight&,
44 float& font_size, 44 float& font_size,
45 AtomicString& font_family); 45 AtomicString& font_family);
46 static void SetDefaultFontSize(int); 46 static void SetDefaultFontSize(int);
47 47
48 protected: 48 protected:
49 static const WTF::AtomicString& DefaultGUIFont(); 49 static const WTF::AtomicString& DefaultGUIFont();
50 50
51 static float default_font_size_; 51 static float default_font_size_;
52 }; 52 };
53 53
54 } // namespace blink 54 } // namespace blink
55 55
56 #endif // LayoutThemeFontProvider_h 56 #endif // LayoutThemeFontProvider_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698