OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_ | |
6 #define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_ | |
7 | |
8 #include "base/mac/scoped_nsobject.h" | |
9 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" | |
10 | |
11 @class CIDetector; | |
12 | |
13 namespace shape_detection { | |
14 | |
15 class TextDetectionImplMac : public shape_detection::mojom::TextDetection { | |
16 public: | |
17 TextDetectionImplMac(); | |
18 ~TextDetectionImplMac() override; | |
19 | |
20 void Detect(mojo::ScopedSharedBufferHandle frame_data, | |
21 uint32_t width, | |
22 uint32_t height, | |
23 const shape_detection::mojom::TextDetection::DetectCallback& | |
Reilly Grant (use Gerrit)
2017/03/02 22:10:26
Since you are inside the scope of shape_detection:
mcasas
2017/03/02 23:27:50
Done here and elsewhere around these files.
| |
24 callback) override; | |
25 | |
26 private: | |
27 base::scoped_nsobject<CIDetector> detector_; | |
28 | |
29 DISALLOW_COPY_AND_ASSIGN(TextDetectionImplMac); | |
30 }; | |
31 | |
32 } // namespace shape_detection | |
33 | |
34 #endif // SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_ | |
OLD | NEW |