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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)
Patch Set: Fixed failing tests 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/FrameLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
index 534d22b4f37461d9abcf2a3787d7914682d5688b..77b1dc565b105fd12f5e773ec0336f6f5621b25a 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -69,6 +69,7 @@ class LocalFrame;
class ResourceError;
class ResourceRequest;
class ResourceResponse;
+class ScriptState;
class SecurityOrigin;
class SharedWorkerRepositoryClient;
class SubstituteData;
@@ -78,6 +79,7 @@ class WebCookieJar;
class WebMediaPlayer;
class WebMediaPlayerClient;
class WebMediaPlayerSource;
+class WebRemotePlaybackClient;
class WebRTCPeerConnectionHandler;
class WebServiceWorkerProvider;
class Widget;
@@ -199,6 +201,9 @@ class CORE_EXPORT FrameLoaderClient : public FrameClient {
HTMLMediaElement&,
const WebMediaPlayerSource&,
WebMediaPlayerClient*) = 0;
+ virtual WebRemotePlaybackClient* createWebRemotePlaybackClient(
+ HTMLMediaElement&,
+ ScriptState*) = 0;
haraken 2016/11/08 05:13:11 Nit: Put ScriptState* as the first parameter.
virtual ObjectContentType getObjectContentType(
const KURL&,

Powered by Google App Engine
This is Rietveld 408576698