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

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

Issue 1194003004: Oilpan: enable appcache + move DocumentLoader to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual void didStopLoading() override; 106 virtual void didStopLoading() override;
107 virtual void progressEstimateChanged(double progressEstimate) override; 107 virtual void progressEstimateChanged(double progressEstimate) override;
108 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override; 108 virtual void loadURLExternally(const ResourceRequest&, NavigationPolicy, con st String& suggestedName = String()) override;
109 virtual bool navigateBackForward(int offset) const override; 109 virtual bool navigateBackForward(int offset) const override;
110 virtual void didAccessInitialDocument() override; 110 virtual void didAccessInitialDocument() override;
111 virtual void didDisplayInsecureContent() override; 111 virtual void didDisplayInsecureContent() override;
112 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override; 112 virtual void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override;
113 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 113 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
114 virtual void didDispatchPingLoader(const KURL&) override; 114 virtual void didDispatchPingLoader(const KURL&) override;
115 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override; 115 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) override;
116 virtual PassRefPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const R esourceRequest&, const SubstituteData&) override; 116 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra me*, const ResourceRequest&, const SubstituteData&) override;
117 virtual WTF::String userAgent(const KURL&) override; 117 virtual WTF::String userAgent(const KURL&) override;
118 virtual WTF::String doNotTrackValue() override; 118 virtual WTF::String doNotTrackValue() override;
119 virtual void transitionToCommittedForNewPage() override; 119 virtual void transitionToCommittedForNewPage() override;
120 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques t&, const WTF::AtomicString& name, HTMLFrameOwnerElement*) override; 120 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques t&, const WTF::AtomicString& name, HTMLFrameOwnerElement*) override;
121 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 121 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
122 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder( 122 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(
123 Document&, const KURL&, 123 Document&, const KURL&,
124 const Vector<String>& paramNames, const Vector<String>& paramValues, 124 const Vector<String>& paramNames, const Vector<String>& paramValues,
125 const String& mimeType, bool loadManually) override; 125 const String& mimeType, bool loadManually) override;
126 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin( 126 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
190 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
191 WebLocalFrameImpl* m_webFrame; 191 WebLocalFrameImpl* m_webFrame;
192 }; 192 };
193 193
194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif 198 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/appcache/ApplicationCacheHost.cpp ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698