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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2367393002: Migrating MediaSession messages to mojo (Closed)
Patch Set: fixed layout tests Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 class ResourceResponse; 71 class ResourceResponse;
72 class SecurityOrigin; 72 class SecurityOrigin;
73 class SharedWorkerRepositoryClient; 73 class SharedWorkerRepositoryClient;
74 class SubstituteData; 74 class SubstituteData;
75 class WebApplicationCacheHost; 75 class WebApplicationCacheHost;
76 class WebApplicationCacheHostClient; 76 class WebApplicationCacheHostClient;
77 class WebCookieJar; 77 class WebCookieJar;
78 class WebMediaPlayer; 78 class WebMediaPlayer;
79 class WebMediaPlayerClient; 79 class WebMediaPlayerClient;
80 class WebMediaPlayerSource; 80 class WebMediaPlayerSource;
81 class WebMediaSession;
82 class WebMediaStream; 81 class WebMediaStream;
83 class WebRTCPeerConnectionHandler; 82 class WebRTCPeerConnectionHandler;
84 class WebServiceWorkerProvider; 83 class WebServiceWorkerProvider;
85 class WebSocketHandle; 84 class WebSocketHandle;
86 class Widget; 85 class Widget;
87 86
88 class CORE_EXPORT FrameLoaderClient : public FrameClient { 87 class CORE_EXPORT FrameLoaderClient : public FrameClient {
89 public: 88 public:
90 ~FrameLoaderClient() override {} 89 ~FrameLoaderClient() override {}
91 90
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 const Vector<String>&, 194 const Vector<String>&,
196 const String&, 195 const String&,
197 bool loadManually, 196 bool loadManually,
198 DetachedPluginPolicy) = 0; 197 DetachedPluginPolicy) = 0;
199 198
200 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 199 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
201 HTMLMediaElement&, 200 HTMLMediaElement&,
202 const WebMediaPlayerSource&, 201 const WebMediaPlayerSource&,
203 WebMediaPlayerClient*) = 0; 202 WebMediaPlayerClient*) = 0;
204 203
205 virtual std::unique_ptr<WebMediaSession> createWebMediaSession() = 0;
206
207 virtual ObjectContentType getObjectContentType( 204 virtual ObjectContentType getObjectContentType(
208 const KURL&, 205 const KURL&,
209 const String& mimeType, 206 const String& mimeType,
210 bool shouldPreferPlugInsForImages) = 0; 207 bool shouldPreferPlugInsForImages) = 0;
211 208
212 virtual void didCreateNewDocument() = 0; 209 virtual void didCreateNewDocument() = 0;
213 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 210 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
214 virtual void documentElementAvailable() = 0; 211 virtual void documentElementAvailable() = 0;
215 virtual void runScriptsAtDocumentElementAvailable() = 0; 212 virtual void runScriptsAtDocumentElementAvailable() = 0;
216 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; 213 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 } 332 }
336 333
337 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is 334 // Overwrites the given URL to use an HTML5 embed if possible. An empty URL is
338 // returned if the URL is not overriden. 335 // returned if the URL is not overriden.
339 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 336 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
340 }; 337 };
341 338
342 } // namespace blink 339 } // namespace blink
343 340
344 #endif // FrameLoaderClient_h 341 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.cpp ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698