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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h

Issue 2148643002: [Presentation API] Adds DOMString[] constructor to PresentationRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PresentationAvailabilityCallbacks Created 4 years, 5 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/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
index 49d68359d3a189c9280664f7c3eb239ee13a3bc1..3a6e4ab51ab4c7ccda01d361f8251b1acf56c951 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationAvailabilityObserver.h
@@ -10,16 +10,19 @@
namespace blink {
+class WebString;
+template <typename T> class WebVector;
+
// WebPresentationAvailabilityObserver is an interface that is implemented by
// objects that wish to be notified when there is a presentation display
-// availability change for a given URL.
+// availability change for given URLs.
class BLINK_PLATFORM_EXPORT WebPresentationAvailabilityObserver {
public:
virtual ~WebPresentationAvailabilityObserver() = default;
virtual void availabilityChanged(bool) = 0;
- virtual const WebURL url() const = 0;
+ virtual const WebVector<WebURL>& urls() const = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698