Index: third_party/WebKit/Source/core/css/LocalFontFace.idl |
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl b/third_party/WebKit/Source/core/css/LocalFontFace.idl |
similarity index 81% |
copy from third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl |
copy to third_party/WebKit/Source/core/css/LocalFontFace.idl |
index 80f50321c43a5b43172978b5ad58ec7bfcf60339..d0c666779fbf54bc66d46b3fe2903f5f2d68f84c 100644 |
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystem.idl |
+++ b/third_party/WebKit/Source/core/css/LocalFontFace.idl |
@@ -1,6 +1,5 @@ |
/* |
- * Copyright (C) 2010 Google Inc. All rights reserved. |
- * Copyright (C) 2011 Apple Inc. All rights reserved. |
+ * Copyright (C) 2016 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -30,10 +29,12 @@ |
*/ |
[ |
- NoInterfaceObject, |
ActiveDOMObject, |
- GarbageCollected, |
-] interface DOMFileSystem { |
- readonly attribute DOMString name; |
- readonly attribute DirectoryEntry root; |
+ WillBeGarbageCollected, |
+ RuntimeEnabled=FontAccess, |
+ APIExperimentEnabled=FontAccess |
+] interface LocalFontFace : FontFace { |
+ readonly attribute DOMString styleName; |
+ readonly attribute DOMString fullName; |
+ [CallWith=ScriptState] readonly attribute Promise binaryData; |
}; |