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

Side by Side Diff: Source/core/css/FontStyleMatcher.h

Issue 1270723002: Improve CSS Style matching spec compliance (Closed) Base URL: git@github.com:drott/blink-crosswalk.git@reimplementMatching
Patch Set: Fix TestExpectations Created 5 years, 4 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FontStyleMatcher_h
6 #define FontStyleMatcher_h
7
8 #include "platform/fonts/FontTraits.h"
9
10 namespace blink {
11
12 class CSSSegmentedFontFace;
13
14 class FontStyleMatcher final {
15 public:
16 explicit FontStyleMatcher(const FontTraits& fontTraits) : m_fontTraits(fontT raits) {};
17 bool isCandidateBetter(CSSSegmentedFontFace* candidate, CSSSegmentedFontFace * current);
18
19 private:
20 FontStyleMatcher();
21 const FontTraits& m_fontTraits;
22 };
23
24 }
25
26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698