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

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

Issue 1259643002: NOT FOR LANDING Introduce and use WebMediaSession (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hack until something works Created 5 years, 4 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 | Annotate | Revision Log
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 PassRefPtrWillBeRawPtr<Widget> createPlugin( 126 PassRefPtrWillBeRawPtr<Widget> createPlugin(
127 HTMLPlugInElement*, const KURL&, 127 HTMLPlugInElement*, const KURL&,
128 const Vector<WTF::String>&, const Vector<WTF::String>&, 128 const Vector<WTF::String>&, const Vector<WTF::String>&,
129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
130 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( 130 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
131 HTMLAppletElement*, 131 HTMLAppletElement*,
132 const KURL& /* base_url */, 132 const KURL& /* base_url */,
133 const Vector<WTF::String>& paramNames, 133 const Vector<WTF::String>& paramNames,
134 const Vector<WTF::String>& paramValues) override; 134 const Vector<WTF::String>& paramValues) override;
135 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 135 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
136 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
136 ObjectContentType objectContentType( 137 ObjectContentType objectContentType(
137 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override; 138 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override;
138 void didChangeScrollOffset() override; 139 void didChangeScrollOffset() override;
139 void didUpdateCurrentHistoryItem() override; 140 void didUpdateCurrentHistoryItem() override;
140 void didRemoveAllPendingStylesheet() override; 141 void didRemoveAllPendingStylesheet() override;
141 bool allowScript(bool enabledPerSettings) override; 142 bool allowScript(bool enabledPerSettings) override;
142 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride; 143 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride;
143 bool allowPlugins(bool enabledPerSettings) override; 144 bool allowPlugins(bool enabledPerSettings) override;
144 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; 145 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override;
145 bool allowMedia(const KURL& mediaURL) override; 146 bool allowMedia(const KURL& mediaURL) override;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
189 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
190 WebLocalFrameImpl* m_webFrame; 191 WebLocalFrameImpl* m_webFrame;
191 }; 192 };
192 193
193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
194 195
195 } // namespace blink 196 } // namespace blink
196 197
197 #endif 198 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698