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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.h

Issue 2795693004: Image Capture: add |points_of_interest| to mojo and wire it to IDL layer (Closed)
Patch Set: reillyg@ comment Created 3 years, 9 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/imagecapture/ImageCapture.h
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
index 1e307a21b30ec55afcd4bae803b836174beccf4b..3630f00ee2663cbc56470e78a13de982a85a9c8b 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.h
@@ -77,6 +77,9 @@ class MODULES_EXPORT ImageCapture final
void onSetOptions(ScriptPromiseResolver*, bool);
void onTakePhoto(ScriptPromiseResolver*, media::mojom::blink::BlobPtr);
void onCapabilitiesUpdate(media::mojom::blink::PhotoCapabilitiesPtr);
+
+ void onCapabilitiesUpdateInternal(
+ const media::mojom::blink::PhotoCapabilities&);
void onServiceConnectionError();
Member<MediaStreamTrack> m_streamTrack;
@@ -86,6 +89,8 @@ class MODULES_EXPORT ImageCapture final
MediaTrackCapabilities m_capabilities;
MediaTrackConstraintSet m_currentConstraints;
+ HeapVector<Point2D> m_currentPointsOfInterest;
+
HeapHashSet<Member<ScriptPromiseResolver>> m_serviceRequests;
};

Powered by Google App Engine
This is Rietveld 408576698