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

Unified Diff: third_party/WebKit/Source/modules/fontaccess/FontAccessDescription.idl

Issue 1615133002: Implement API for accessing fonts installed locally on the system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/modules/fontaccess/FontAccessDescription.idl
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionAlternative.idl b/third_party/WebKit/Source/modules/fontaccess/FontAccessDescription.idl
similarity index 86%
copy from third_party/WebKit/Source/modules/speech/SpeechRecognitionAlternative.idl
copy to third_party/WebKit/Source/modules/fontaccess/FontAccessDescription.idl
index 38acdc09dc111059966b16e45d0b9ad74d89182f..a1e2a869ae33d86cd910a94870e7398788246f94 100644
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionAlternative.idl
+++ b/third_party/WebKit/Source/modules/fontaccess/FontAccessDescription.idl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Google 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
@@ -25,8 +25,8 @@
[
GarbageCollected,
- NoInterfaceObject
-] interface SpeechRecognitionAlternative {
- readonly attribute DOMString transcript;
- readonly attribute float confidence;
+ RuntimeEnabled=FontAccess,
+] interface FontAccessDescription {
+ readonly attribute DOMString family;
+ readonly attribute DOMString style;
};

Powered by Google App Engine
This is Rietveld 408576698