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

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: Switch LocalFrame::m_pluginElements rep to HashSet<HTMLPlugInElement*> 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, HTMLFrameOwnerElement*) override; 119 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const KURL&, const WT F::AtomicString& name, HTMLFrameOwnerElement*) override;
120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 120 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( 121 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(
122 Document&, const KURL&, 122 Document&, const KURL&,
123 const Vector<String>& paramNames, const Vector<String>& paramValues, 123 const Vector<String>& paramNames, const Vector<String>& paramValues,
124 const String& mimeType, bool loadManually) override; 124 const String& mimeType, bool loadManually) override;
125 virtual PassRefPtr<Widget> createPlugin( 125 virtual 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 virtual PassRefPtr<Widget> createJavaAppletWidget( 129 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(
130 HTMLAppletElement*, 130 HTMLAppletElement*,
131 const KURL& /* base_url */, 131 const KURL& /* base_url */,
132 const Vector<WTF::String>& paramNames, 132 const Vector<WTF::String>& paramNames,
133 const Vector<WTF::String>& paramValues) override; 133 const Vector<WTF::String>& paramValues) override;
134 virtual ObjectContentType objectContentType( 134 virtual ObjectContentType objectContentType(
135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override; 135 const KURL&, const WTF::String& mimeType, bool shouldPreferPlugInsForIma ges) override;
136 virtual void didChangeScrollOffset() override; 136 virtual void didChangeScrollOffset() override;
137 virtual void didUpdateCurrentHistoryItem() override; 137 virtual void didUpdateCurrentHistoryItem() override;
138 virtual void didRemoveAllPendingStylesheet() override; 138 virtual void didRemoveAllPendingStylesheet() override;
139 virtual bool allowScript(bool enabledPerSettings) override; 139 virtual bool allowScript(bool enabledPerSettings) override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // The WebFrame that owns this object and manages its lifetime. Therefore, 180 // The WebFrame that owns this object and manages its lifetime. Therefore,
181 // the web frame object is guaranteed to exist. 181 // the web frame object is guaranteed to exist.
182 WebLocalFrameImpl* m_webFrame; 182 WebLocalFrameImpl* m_webFrame;
183 }; 183 };
184 184
185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 185 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
186 186
187 } // namespace blink 187 } // namespace blink
188 188
189 #endif 189 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698