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

Side by Side Diff: third_party/WebKit/Source/modules/shapedetection/FaceDetectorImplMac.h

Issue 2507283002: Add warmup and sandbox file-read permission for testing
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 #ifndef FaceDetectorImplMac_h
5 #define FaceDetectorImplMac_h
6
7 #import <QuartzCore/QuartzCore.h>
8
9 #include "base/mac/scoped_nsobject.h"
10 #include "modules/shapedetection/FaceDetectorImpl.h"
11
12 namespace blink {
13
14 class FaceDetectorImplMac : public FaceDetectorImpl {
15 public:
16 FaceDetectorImplMac();
17
18 HeapVector<Member<DOMRect>> detectFace(void* frame_addr,
19 int width,
20 int height) override;
21
22 private:
23 base::scoped_nsobject<CIDetector> detector_;
24 base::scoped_nsobject<CIContext> context_;
25 };
26
27 } // namespace blink
28
29 #endif // FaceDetectorImplMac_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698