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

Unified Diff: services/shape_detection/text_detection_impl_mac.h

Issue 2728253003: Revert of ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: Created 3 years, 10 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: services/shape_detection/text_detection_impl_mac.h
diff --git a/services/shape_detection/text_detection_impl_mac.h b/services/shape_detection/text_detection_impl_mac.h
deleted file mode 100644
index d86be92799e240acd55c0df85e0fb8dcb060ac83..0000000000000000000000000000000000000000
--- a/services/shape_detection/text_detection_impl_mac.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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.
-
-#ifndef SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
-#define SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
-
-#include "base/mac/scoped_nsobject.h"
-#include "services/shape_detection/public/interfaces/textdetection.mojom.h"
-
-@class CIDetector;
-
-namespace shape_detection {
-
-class TextDetectionImplMac : public mojom::TextDetection {
- public:
- TextDetectionImplMac();
- ~TextDetectionImplMac() override;
-
- void Detect(mojo::ScopedSharedBufferHandle frame_data,
- uint32_t width,
- uint32_t height,
- const mojom::TextDetection::DetectCallback& callback) override;
-
- private:
- base::scoped_nsobject<CIDetector> detector_;
-
- DISALLOW_COPY_AND_ASSIGN(TextDetectionImplMac);
-};
-
-} // namespace shape_detection
-
-#endif // SERVICES_SHAPE_DETECTION_TEXT_DETECTION_IMPL_MAC_H_
« no previous file with comments | « services/shape_detection/text_detection_impl.cc ('k') | services/shape_detection/text_detection_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698