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: blink typemap (need to revert blink typemap, only need content/ reivew) 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 reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class ResourceResponse; 70 class ResourceResponse;
71 class SecurityOrigin; 71 class SecurityOrigin;
72 class SharedWorkerRepositoryClient; 72 class SharedWorkerRepositoryClient;
73 class SubstituteData; 73 class SubstituteData;
74 class WebApplicationCacheHost; 74 class WebApplicationCacheHost;
75 class WebApplicationCacheHostClient; 75 class WebApplicationCacheHostClient;
76 class WebCookieJar; 76 class WebCookieJar;
77 class WebMediaPlayer; 77 class WebMediaPlayer;
78 class WebMediaPlayerClient; 78 class WebMediaPlayerClient;
79 class WebMediaPlayerSource; 79 class WebMediaPlayerSource;
80 class WebMediaSession;
81 class WebMediaStream; 80 class WebMediaStream;
82 class WebRTCPeerConnectionHandler; 81 class WebRTCPeerConnectionHandler;
83 class WebServiceWorkerProvider; 82 class WebServiceWorkerProvider;
84 class WebSocketHandle; 83 class WebSocketHandle;
85 class Widget; 84 class Widget;
86 85
87 class CORE_EXPORT FrameLoaderClient : public FrameClient { 86 class CORE_EXPORT FrameLoaderClient : public FrameClient {
88 public: 87 public:
89 ~FrameLoaderClient() override {} 88 ~FrameLoaderClient() override {}
90 89
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 const Vector<String>&, 193 const Vector<String>&,
195 const String&, 194 const String&,
196 bool loadManually, 195 bool loadManually,
197 DetachedPluginPolicy) = 0; 196 DetachedPluginPolicy) = 0;
198 197
199 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( 198 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer(
200 HTMLMediaElement&, 199 HTMLMediaElement&,
201 const WebMediaPlayerSource&, 200 const WebMediaPlayerSource&,
202 WebMediaPlayerClient*) = 0; 201 WebMediaPlayerClient*) = 0;
203 202
204 virtual std::unique_ptr<WebMediaSession> createWebMediaSession() = 0;
205
206 virtual ObjectContentType getObjectContentType( 203 virtual ObjectContentType getObjectContentType(
207 const KURL&, 204 const KURL&,
208 const String& mimeType, 205 const String& mimeType,
209 bool shouldPreferPlugInsForImages) = 0; 206 bool shouldPreferPlugInsForImages) = 0;
210 207
211 virtual void didCreateNewDocument() = 0; 208 virtual void didCreateNewDocument() = 0;
212 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 209 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
213 virtual void documentElementAvailable() = 0; 210 virtual void documentElementAvailable() = 0;
214 virtual void runScriptsAtDocumentElementAvailable() = 0; 211 virtual void runScriptsAtDocumentElementAvailable() = 0;
215 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0; 212 virtual void runScriptsAtDocumentReady(bool documentIsEmpty) = 0;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 } 331 }
335 332
336 // Overwrites the given URL to use an HTML5 embed if possible. 333 // Overwrites the given URL to use an HTML5 embed if possible.
337 // An empty URL is returned if the URL is not overriden. 334 // An empty URL is returned if the URL is not overriden.
338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 335 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
339 }; 336 };
340 337
341 } // namespace blink 338 } // namespace blink
342 339
343 #endif // FrameLoaderClient_h 340 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698