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

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

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Handle shared-renderer case. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/platform/Widget.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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 virtual void didDisplayInsecureContent() OVERRIDE; 107 virtual void didDisplayInsecureContent() OVERRIDE;
108 virtual void didRunInsecureContent(WebCore::SecurityOrigin*, const WebCore:: KURL& insecureURL) OVERRIDE; 108 virtual void didRunInsecureContent(WebCore::SecurityOrigin*, const WebCore:: KURL& insecureURL) OVERRIDE;
109 virtual void didDetectXSS(const WebCore::KURL&, bool didBlockEntirePage) OVE RRIDE; 109 virtual void didDetectXSS(const WebCore::KURL&, bool didBlockEntirePage) OVE RRIDE;
110 virtual void didDispatchPingLoader(const WebCore::KURL&) OVERRIDE; 110 virtual void didDispatchPingLoader(const WebCore::KURL&) OVERRIDE;
111 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) OVERRIDE; 111 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) OVERRIDE;
112 virtual PassRefPtr<WebCore::DocumentLoader> createDocumentLoader(WebCore::Lo calFrame*, const WebCore::ResourceRequest&, const WebCore::SubstituteData&) OVER RIDE; 112 virtual PassRefPtr<WebCore::DocumentLoader> createDocumentLoader(WebCore::Lo calFrame*, const WebCore::ResourceRequest&, const WebCore::SubstituteData&) OVER RIDE;
113 virtual WTF::String userAgent(const WebCore::KURL&) OVERRIDE; 113 virtual WTF::String userAgent(const WebCore::KURL&) OVERRIDE;
114 virtual WTF::String doNotTrackValue() OVERRIDE; 114 virtual WTF::String doNotTrackValue() OVERRIDE;
115 virtual void transitionToCommittedForNewPage() OVERRIDE; 115 virtual void transitionToCommittedForNewPage() OVERRIDE;
116 virtual PassRefPtr<WebCore::LocalFrame> createFrame(const WebCore::KURL&, co nst WTF::AtomicString& name, const WebCore::Referrer&, WebCore::HTMLFrameOwnerEl ement*) OVERRIDE; 116 virtual PassRefPtr<WebCore::LocalFrame> createFrame(const WebCore::KURL&, co nst WTF::AtomicString& name, const WebCore::Referrer&, WebCore::HTMLFrameOwnerEl ement*) OVERRIDE;
117 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
117 virtual PassRefPtr<WebCore::Widget> createPlugin( 118 virtual PassRefPtr<WebCore::Widget> createPlugin(
118 WebCore::HTMLPlugInElement*, const WebCore::KURL&, 119 WebCore::HTMLPlugInElement*, const WebCore::KURL&,
119 const Vector<WTF::String>&, const Vector<WTF::String>&, 120 const Vector<WTF::String>&, const Vector<WTF::String>&,
120 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE; 121 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE;
121 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget( 122 virtual PassRefPtr<WebCore::Widget> createJavaAppletWidget(
122 WebCore::HTMLAppletElement*, 123 WebCore::HTMLAppletElement*,
123 const WebCore::KURL& /* base_url */, 124 const WebCore::KURL& /* base_url */,
124 const Vector<WTF::String>& paramNames, 125 const Vector<WTF::String>& paramNames,
125 const Vector<WTF::String>& paramValues) OVERRIDE; 126 const Vector<WTF::String>& paramValues) OVERRIDE;
126 virtual WebCore::ObjectContentType objectContentType( 127 virtual WebCore::ObjectContentType objectContentType(
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // The WebFrame that owns this object and manages its lifetime. Therefore, 167 // The WebFrame that owns this object and manages its lifetime. Therefore,
167 // the web frame object is guaranteed to exist. 168 // the web frame object is guaranteed to exist.
168 WebFrameImpl* m_webFrame; 169 WebFrameImpl* m_webFrame;
169 }; 170 };
170 171
171 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 172 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl());
172 173
173 } // namespace blink 174 } // namespace blink
174 175
175 #endif 176 #endif
OLDNEW
« no previous file with comments | « Source/platform/Widget.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698