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

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: merge origin/master Created 5 years, 3 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
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 115 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
116 void didDispatchPingLoader(const KURL&) override; 116 void didDispatchPingLoader(const KURL&) override;
117 void didChangePerformanceTiming() override; 117 void didChangePerformanceTiming() override;
118 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override; 118 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override;
119 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override; 119 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override;
120 WTF::String userAgent(const KURL&) override; 120 WTF::String userAgent(const KURL&) override;
121 WTF::String doNotTrackValue() override; 121 WTF::String doNotTrackValue() override;
122 void transitionToCommittedForNewPage() override; 122 void transitionToCommittedForNewPage() override;
123 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; 123 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override;
124 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 124 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
125 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(
126 Document&, const KURL&,
127 const Vector<String>& paramNames, const Vector<String>& paramValues,
128 const String& mimeType, bool loadManually) override;
129 PassRefPtrWillBeRawPtr<Widget> createPlugin( 125 PassRefPtrWillBeRawPtr<Widget> createPlugin(
130 HTMLPlugInElement*, const KURL&, 126 HTMLPlugInElement*, const KURL&,
131 const Vector<WTF::String>&, const Vector<WTF::String>&, 127 const Vector<WTF::String>&, const Vector<WTF::String>&,
132 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
133 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget( 129 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
134 HTMLAppletElement*, 130 HTMLAppletElement*,
135 const KURL& /* base_url */, 131 const KURL& /* base_url */,
136 const Vector<WTF::String>& paramNames, 132 const Vector<WTF::String>& paramNames,
137 const Vector<WTF::String>& paramValues) override; 133 const Vector<WTF::String>& paramValues) override;
138 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 134 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // The WebFrame that owns this object and manages its lifetime. Therefore, 190 // The WebFrame that owns this object and manages its lifetime. Therefore,
195 // the web frame object is guaranteed to exist. 191 // the web frame object is guaranteed to exist.
196 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
197 }; 193 };
198 194
199 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
200 196
201 } // namespace blink 197 } // namespace blink
202 198
203 #endif 199 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698