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

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

Issue 1815033003: Add srcObject attribute of type MediaStream to HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj's comments 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 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co nst SubstituteData&) override; 122 DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequest&, co nst 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 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na me, HTMLFrameOwnerElement*) override; 126 LocalFrame* createFrame(const FrameLoadRequest&, const WTF::AtomicString& na me, HTMLFrameOwnerElement*) override;
127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 127 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
128 Widget* createPlugin( 128 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&, const Web MediaPlayerSource&, 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Member<WebLocalFrameImpl> m_webFrame; 196 Member<WebLocalFrameImpl> m_webFrame;
197 197
198 String m_userAgent; 198 String m_userAgent;
199 }; 199 };
200 200
201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
202 202
203 } // namespace blink 203 } // namespace blink
204 204
205 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698