Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/FontFaceSet.idl |
| diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.idl b/third_party/WebKit/Source/core/css/FontFaceSet.idl |
| index 50525e52f7b144de4d347bc4a3ab92f7f084668c..9e5fc9ccd048afb08ac246256b9d410eb16a9b05 100644 |
| --- a/third_party/WebKit/Source/core/css/FontFaceSet.idl |
| +++ b/third_party/WebKit/Source/core/css/FontFaceSet.idl |
| @@ -39,10 +39,8 @@ enum FontFaceSetLoadStatus { "loading", "loaded" }; |
| SetWrapperReferenceFrom=document, |
| NoInterfaceObject, |
| ] interface FontFaceSet : EventTarget { |
| - // TODO(ksakamoto): Make FontFaceSet Set-like. crbug.com/392075 |
| - // setlike<FontFace>; |
| - void forEach(FontFaceSetForEachCallback callback, optional any thisArg); |
|
tkent
2015/10/19 07:30:47
forEach was already shipped, right? We need UseCo
Takashi Toyoshima
2015/10/19 07:51:44
It was shipped, but this change doesn't remove it.
tkent
2015/10/19 07:59:53
I see. So, the web-exposed changes is trivial. L
|
| - [RaisesException] boolean has(FontFace fontFace); |
|
tkent
2015/10/19 07:30:47
Why do you remove |has| and rename C++ has to hasF
Takashi Toyoshima
2015/10/19 07:51:44
Same. *forBinding is special method that is called
|
| + // TODO(toyoshim): Drop 'readonly' to use setlike's add, delete, and clear. |
| + readonly setlike<FontFace>; |
| readonly attribute unsigned long size; |
| // TODO(philipj): add() should return the FontFaceSet. |
| [RaisesException] void add(FontFace fontFace); |