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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h

Issue 2629433003: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: ShapeDetection: use mojom::Bitmap for mojo interface. Created 3 years, 11 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: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
index 9f0d7b127bc7c15a8f125555814b1cb4d468d7d0..3a28c0826dbee2dc634011de87c7c871d45e9c2b 100644
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
@@ -10,6 +10,7 @@
#include "core/imagebitmap/ImageBitmapFactories.h"
#include "modules/ModulesExport.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
+#include "services/shape_detection/public/interfaces/facedetection.mojom-blink.h"
xianglu 2017/01/18 21:08:38 nit: I might use "#include "skia/public/interfaces
namespace blink {
@@ -32,9 +33,7 @@ class MODULES_EXPORT ShapeDetector
const HTMLImageElement*);
virtual ScriptPromise doDetect(ScriptPromiseResolver*,
- mojo::ScopedSharedBufferHandle,
- int imageWidth,
- int imageHeight) = 0;
+ skia::mojom::blink::BitmapPtr) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698