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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResource.h

Issue 2581083003: Initial OpenType Font Variations Support (Closed)
Patch Set: Fix hash collision tests, adjust test expectations Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/resource/FontResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResource.h b/third_party/WebKit/Source/core/loader/resource/FontResource.h
index e1da23354a720366db86adebe1ff2cab91a7adf5..e7cfae30383c4ea97f74801f3cf720cd763d55fd 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/FontResource.h
@@ -42,6 +42,7 @@ class ResourceFetcher;
class FontPlatformData;
class FontCustomPlatformData;
class FontResourceClient;
+class FontVariationSettings;
class CORE_EXPORT FontResource final : public Resource {
public:
@@ -66,7 +67,8 @@ class CORE_EXPORT FontResource final : public Resource {
float size,
bool bold,
bool italic,
- FontOrientation = FontOrientation::Horizontal);
+ FontOrientation = FontOrientation::Horizontal,
+ FontVariationSettings* = nullptr);
// Returns true if the loading priority of the remote font resource can be
// lowered. The loading priority of the font can be lowered only if the

Powered by Google App Engine
This is Rietveld 408576698