blob: 5bc5cc920f7bd9cc6e3c4794dffa21998c0c3448 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
#define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
#include "services/shape_detection/public/mojom/textdetection.mojom.h"
@class CIDetector;
namespace shape_detection {
class TextDetectionImplMac : public mojom::TextDetection {
public:
TextDetectionImplMac();
TextDetectionImplMac(const TextDetectionImplMac&) = delete;
TextDetectionImplMac& operator=(const TextDetectionImplMac&) = delete;
~TextDetectionImplMac() override;
void Detect(const SkBitmap& bitmap,
mojom::TextDetection::DetectCallback callback) override;
private:
CIDetector* __strong detector_;
};
} // namespace shape_detection
#endif // SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_