OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/shapedetection/BarcodeDetector.h" | 5 #include "modules/shapedetection/BarcodeDetector.h" |
6 | 6 |
7 #include "core/dom/DOMException.h" | 7 #include "core/dom/DOMException.h" |
8 #include "core/dom/DOMRect.h" | 8 #include "core/geometry/DOMRect.h" |
9 #include "core/html/canvas/CanvasImageSource.h" | 9 #include "core/html/canvas/CanvasImageSource.h" |
10 #include "modules/imagecapture/Point2D.h" | 10 #include "modules/imagecapture/Point2D.h" |
11 #include "modules/shapedetection/DetectedBarcode.h" | 11 #include "modules/shapedetection/DetectedBarcode.h" |
12 #include "public/platform/InterfaceProvider.h" | 12 #include "public/platform/InterfaceProvider.h" |
13 #include "public/platform/Platform.h" | 13 #include "public/platform/Platform.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 BarcodeDetector* BarcodeDetector::create() { | 17 BarcodeDetector* BarcodeDetector::create() { |
18 return new BarcodeDetector(); | 18 return new BarcodeDetector(); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 m_barcodeServiceRequests.clear(); | 77 m_barcodeServiceRequests.clear(); |
78 m_barcodeService.reset(); | 78 m_barcodeService.reset(); |
79 } | 79 } |
80 | 80 |
81 DEFINE_TRACE(BarcodeDetector) { | 81 DEFINE_TRACE(BarcodeDetector) { |
82 ShapeDetector::trace(visitor); | 82 ShapeDetector::trace(visitor); |
83 visitor->trace(m_barcodeServiceRequests); | 83 visitor->trace(m_barcodeServiceRequests); |
84 } | 84 } |
85 | 85 |
86 } // namespace blink | 86 } // namespace blink |
OLD | NEW |