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

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

Issue 603193005: Move the Widget hierarchy to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase upto and resolve r182737 conflict. Created 6 years, 2 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) OVERRIDE; 111 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) OVERRIDE;
112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) OVERRIDE; 112 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) OVERRIDE;
113 virtual void didDispatchPingLoader(const KURL&) OVERRIDE; 113 virtual void didDispatchPingLoader(const KURL&) OVERRIDE;
114 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) OVERRIDE; 114 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) OVERRIDE;
115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R esourceRequest&, const SubstituteData&) OVERRIDE; 115 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R esourceRequest&, const SubstituteData&) OVERRIDE;
116 virtual WTF::String userAgent(const KURL&) OVERRIDE; 116 virtual WTF::String userAgent(const KURL&) OVERRIDE;
117 virtual WTF::String doNotTrackValue() OVERRIDE; 117 virtual WTF::String doNotTrackValue() OVERRIDE;
118 virtual void transitionToCommittedForNewPage() OVERRIDE; 118 virtual void transitionToCommittedForNewPage() OVERRIDE;
119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT F::AtomicString& name, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE; 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT F::AtomicString& name, const Referrer&, HTMLFrameOwnerElement*) OVERRIDE;
120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
121 virtual PassRefPtr<Widget> createPlugin( 121 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(
122 HTMLPlugInElement*, const KURL&, 122 HTMLPlugInElement*, const KURL&,
123 const Vector<WTF::String>&, const Vector<WTF::String>&, 123 const Vector<WTF::String>&, const Vector<WTF::String>&,
124 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE; 124 const WTF::String&, bool loadManually, DetachedPluginPolicy) OVERRIDE;
125 virtual PassRefPtr<Widget> createJavaAppletWidget( 125 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
126 HTMLAppletElement*, 126 HTMLAppletElement*,
127 const KURL& /* base_url */, 127 const KURL& /* base_url */,
128 const Vector<WTF::String>& paramNames, 128 const Vector<WTF::String>& paramNames,
129 const Vector<WTF::String>& paramValues) OVERRIDE; 129 const Vector<WTF::String>& paramValues) OVERRIDE;
130 virtual ObjectContentType objectContentType( 130 virtual ObjectContentType objectContentType(
131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) OVERRIDE; 131 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) OVERRIDE;
132 virtual void didChangeScrollOffset() OVERRIDE; 132 virtual void didChangeScrollOffset() OVERRIDE;
133 virtual void didUpdateCurrentHistoryItem() OVERRIDE; 133 virtual void didUpdateCurrentHistoryItem() OVERRIDE;
134 virtual void didRemoveAllPendingStylesheet() OVERRIDE; 134 virtual void didRemoveAllPendingStylesheet() OVERRIDE;
135 virtual bool allowScript(bool enabledPerSettings) OVERRIDE; 135 virtual bool allowScript(bool enabledPerSettings) OVERRIDE;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // The WebFrame that owns this object and manages its lifetime. Therefore, 176 // The WebFrame that owns this object and manages its lifetime. Therefore,
177 // the web frame object is guaranteed to exist. 177 // the web frame object is guaranteed to exist.
178 WebLocalFrameImpl* m_webFrame; 178 WebLocalFrameImpl* m_webFrame;
179 }; 179 };
180 180
181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 181 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
182 182
183 } // namespace blink 183 } // namespace blink
184 184
185 #endif 185 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698