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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 1840563002: Revert of media: Enable Unified Media Pipeline for MSE and EME on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override; 122 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override;
123 WTF::String userAgent() override; 123 WTF::String userAgent() override;
124 WTF::String doNotTrackValue() override; 124 WTF::String doNotTrackValue() override;
125 void transitionToCommittedForNewPage() override; 125 void transitionToCommittedForNewPage() override;
126 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; 126 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override;
127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
128 PassRefPtrWillBeRawPtr<Widget> createPlugin( 128 PassRefPtrWillBeRawPtr<Widget> createPlugin(
129 HTMLPlugInElement*, const KURL&, 129 HTMLPlugInElement*, const KURL&,
130 const Vector<WTF::String>&, const Vector<WTF::String>&, 130 const Vector<WTF::String>&, const Vector<WTF::String>&,
131 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 131 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
132 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 132 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, WebMediaP layer::LoadType, const WebURL&, WebMediaPlayerClient*) override;
133 PassOwnPtr<WebMediaSession> createWebMediaSession() override; 133 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
134 ObjectContentType getObjectContentType( 134 ObjectContentType getObjectContentType(
135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override; 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override;
136 void didChangeScrollOffset() override; 136 void didChangeScrollOffset() override;
137 void didUpdateCurrentHistoryItem() override; 137 void didUpdateCurrentHistoryItem() override;
138 void didRemoveAllPendingStylesheet() override; 138 void didRemoveAllPendingStylesheet() override;
139 bool allowScript(bool enabledPerSettings) override; 139 bool allowScript(bool enabledPerSettings) override;
140 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride; 140 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride;
141 bool allowPlugins(bool enabledPerSettings) override; 141 bool allowPlugins(bool enabledPerSettings) override;
142 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; 142 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // The WebFrame that owns this object and manages its lifetime. Therefore, 190 // The WebFrame that owns this object and manages its lifetime. Therefore,
191 // the web frame object is guaranteed to exist. 191 // the web frame object is guaranteed to exist.
192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
193 }; 193 };
194 194
195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
196 196
197 } // namespace blink 197 } // namespace blink
198 198
199 #endif 199 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoaderClient.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698