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

Side by Side Diff: third_party/WebKit/Source/core/css/LocalFontFaceSource.h

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 LocalFontFaceSource_h 5 #ifndef LocalFontFaceSource_h
6 #define LocalFontFaceSource_h 6 #define LocalFontFaceSource_h
7 7
8 #include "core/css/CSSFontFaceSource.h" 8 #include "core/css/CSSFontFaceSource.h"
9 #include "wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 #include "wtf/text/AtomicString.h" 10 #include "platform/wtf/text/AtomicString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class LocalFontFaceSource final : public CSSFontFaceSource { 14 class LocalFontFaceSource final : public CSSFontFaceSource {
15 public: 15 public:
16 LocalFontFaceSource(const String& font_name) : font_name_(font_name) {} 16 LocalFontFaceSource(const String& font_name) : font_name_(font_name) {}
17 bool IsLocal() const override { return true; } 17 bool IsLocal() const override { return true; }
18 bool IsLocalFontAvailable(const FontDescription&) override; 18 bool IsLocalFontAvailable(const FontDescription&) override;
19 19
20 private: 20 private:
(...skipping 10 matching lines...) Expand all
31 bool reported_; 31 bool reported_;
32 }; 32 };
33 33
34 AtomicString font_name_; 34 AtomicString font_name_;
35 LocalFontHistograms histograms_; 35 LocalFontHistograms histograms_;
36 }; 36 };
37 37
38 } // namespace blink 38 } // namespace blink
39 39
40 #endif 40 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/HashTools.h ('k') | third_party/WebKit/Source/core/css/MediaList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698