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

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

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 PassRefPtrWillBeRawPtr<Widget> createPlugin( 125 PassRefPtrWillBeRawPtr<Widget> createPlugin(
126 HTMLPlugInElement*, const KURL&, 126 HTMLPlugInElement*, const KURL&,
127 const Vector<WTF::String>&, const Vector<WTF::String>&, 127 const Vector<WTF::String>&, const Vector<WTF::String>&,
128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override; 128 const WTF::String&, bool loadManually, DetachedPluginPolicy) override;
129 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
130 HTMLAppletElement*,
131 const KURL& /* base_url */,
132 const Vector<WTF::String>& paramNames,
133 const Vector<WTF::String>& paramValues) override;
134 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 129 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
135 ObjectContentType objectContentType( 130 ObjectContentType objectContentType(
136 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override; 131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override;
137 void didChangeScrollOffset() override; 132 void didChangeScrollOffset() override;
138 void didUpdateCurrentHistoryItem() override; 133 void didUpdateCurrentHistoryItem() override;
139 void didRemoveAllPendingStylesheet() override; 134 void didRemoveAllPendingStylesheet() override;
140 bool allowScript(bool enabledPerSettings) override; 135 bool allowScript(bool enabledPerSettings) override;
141 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride; 136 bool allowScriptFromSource(bool enabledPerSettings, const KURL& scriptURL) o verride;
142 bool allowPlugins(bool enabledPerSettings) override; 137 bool allowPlugins(bool enabledPerSettings) override;
143 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override; 138 bool allowImage(bool enabledPerSettings, const KURL& imageURL) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // The WebFrame that owns this object and manages its lifetime. Therefore, 185 // The WebFrame that owns this object and manages its lifetime. Therefore,
191 // the web frame object is guaranteed to exist. 186 // the web frame object is guaranteed to exist.
192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
193 }; 188 };
194 189
195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 190 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
196 191
197 } // namespace blink 192 } // namespace blink
198 193
199 #endif 194 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698