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

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

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 112 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
113 void didDispatchPingLoader(const KURL&) override; 113 void didDispatchPingLoader(const KURL&) override;
114 void didChangePerformanceTiming() override; 114 void didChangePerformanceTiming() override;
115 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override; 115 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override;
116 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override; 116 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override;
117 WTF::String userAgent(const KURL&) override; 117 WTF::String userAgent(const KURL&) override;
118 WTF::String doNotTrackValue() override; 118 WTF::String doNotTrackValue() override;
119 void transitionToCommittedForNewPage() override; 119 void transitionToCommittedForNewPage() override;
120 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; 120 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override;
121 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 121 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
122 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(
123 Document&, const KURL&,
124 const Vector<String>& paramNames, const Vector<String>& paramValues,
125 const String& mimeType, bool loadManually) override;
126 PassRefPtrWillBeRawPtr<Widget> createPlugin( 122 PassRefPtrWillBeRawPtr<Widget> createPlugin(
127 HTMLPlugInElement*, const KURL&, 123 HTMLPlugInElement*, const KURL&,
128 const Vector<WTF::String>&, const Vector<WTF::String>&, 124 const Vector<WTF::String>&, const Vector<WTF::String>&,
129 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 125 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
130 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( 126 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
131 HTMLAppletElement*, 127 HTMLAppletElement*,
132 const KURL& /* base_url */, 128 const KURL& /* base_url */,
133 const Vector<WTF::String>& paramNames, 129 const Vector<WTF::String>& paramNames,
134 const Vector<WTF::String>& paramValues) override; 130 const Vector<WTF::String>& paramValues) override;
135 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 131 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // The WebFrame that owns this object and manages its lifetime. Therefore, 184 // The WebFrame that owns this object and manages its lifetime. Therefore,
189 // the web frame object is guaranteed to exist. 185 // the web frame object is guaranteed to exist.
190 WebLocalFrameImpl* m_webFrame; 186 WebLocalFrameImpl* m_webFrame;
191 }; 187 };
192 188
193 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 189 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
194 190
195 } // namespace blink 191 } // namespace blink
196 192
197 #endif 193 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698