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

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

Issue 1406153003: CSS Font Loading: drop readonly to use Setlike functionalities (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@font_face_set
Patch Set: insert <br> Created 5 years, 2 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/FontFaceSet.h
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.h b/third_party/WebKit/Source/core/css/FontFaceSet.h
index 279e9a0162a6726445ced7e5a6acb14705178288..434c6750e73d4e657e54125ac63940d3477c652f 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.h
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.h
@@ -81,9 +81,9 @@ public:
ScriptPromise load(ScriptState*, const String& font, const String& text);
ScriptPromise ready(ScriptState*);
- void add(FontFace*, ExceptionState&);
- void clear();
- bool remove(FontFace*, ExceptionState&);
+ PassRefPtrWillBeRawPtr<FontFaceSet> addForBinding(ScriptState*, FontFace*, ExceptionState&);
+ void clearForBinding(ScriptState*, ExceptionState&);
+ bool deleteForBinding(ScriptState*, FontFace*, ExceptionState&);
bool hasForBinding(ScriptState*, FontFace*, ExceptionState&) const;
size_t size() const;

Powered by Google App Engine
This is Rietveld 408576698