Chromium Code Reviews| Index: third_party/WebKit/Source/modules/shapedetection/DetectedText.idl |
| diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedText.idl b/third_party/WebKit/Source/modules/shapedetection/DetectedText.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5707562716ecf98fbcf5952bf87f3baf3f175a37 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/modules/shapedetection/DetectedText.idl |
| @@ -0,0 +1,13 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// https://wicg.github.io/shape-detection-api/#text-detection-api |
| + |
| +[ |
| + Constructor, |
| + RuntimeEnabled=ShapeDetection, |
| +] interface DetectedText { |
| + [SameObject] readonly attribute DOMString rawValue; |
|
jochen (gone - plz use gerrit)
2017/01/05 12:11:55
nit. can you switch the order of rawValue and boun
xianglu
2017/01/05 20:04:20
Done.
|
| + [SameObject] readonly attribute DOMRect boundingBox; |
| +}; |