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

Unified Diff: third_party/WebKit/Source/core/css/FontFace.h

Issue 2640753002: CSS font-display: expose display property on FontFace (Closed)
Patch Set: Fix webexposed Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/FontFace.h
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h
index 761e870b3792fbe4d8ce3267d34bfcfa2ad28d2f..495dd3f1b8aa247d2b07a7e9ac22221833dfc60f 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -82,6 +82,7 @@ class FontFace : public GarbageCollectedFinalized<FontFace>,
String unicodeRange() const;
String variant() const;
String featureSettings() const;
+ String display() const;
// FIXME: Changing these attributes should affect font matching.
void setFamily(ExecutionContext*, const AtomicString& s, ExceptionState&) {
@@ -93,6 +94,7 @@ class FontFace : public GarbageCollectedFinalized<FontFace>,
void setUnicodeRange(ExecutionContext*, const String&, ExceptionState&);
void setVariant(ExecutionContext*, const String&, ExceptionState&);
void setFeatureSettings(ExecutionContext*, const String&, ExceptionState&);
+ void setDisplay(ExecutionContext*, const String&, ExceptionState&);
String status() const;
ScriptPromise loaded(ScriptState* scriptState) {

Powered by Google App Engine
This is Rietveld 408576698