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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // the given URL and security info. 136 // the given URL and security info.
137 virtual void didRunContentWithCertificateErrors(const KURL&, const CString& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurity Info) = 0; 137 virtual void didRunContentWithCertificateErrors(const KURL&, const CString& securityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurity Info) = 0;
138 138
139 // Will be called when |PerformanceTiming| events are updated 139 // Will be called when |PerformanceTiming| events are updated
140 virtual void didChangePerformanceTiming() { } 140 virtual void didChangePerformanceTiming() { }
141 141
142 // Transmits the change in the set of watched CSS selectors property 142 // Transmits the change in the set of watched CSS selectors property
143 // that match any element on the frame. 143 // that match any element on the frame.
144 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0; 144 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0;
145 145
146 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra me*, const ResourceRequest&, const SubstituteData&) = 0; 146 virtual RawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, const Resou rceRequest&, const SubstituteData&) = 0;
147 147
148 virtual String userAgent() = 0; 148 virtual String userAgent() = 0;
149 149
150 virtual String doNotTrackValue() = 0; 150 virtual String doNotTrackValue() = 0;
151 151
152 virtual void transitionToCommittedForNewPage() = 0; 152 virtual void transitionToCommittedForNewPage() = 0;
153 153
154 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques t&, const AtomicString& name, HTMLFrameOwnerElement*) = 0; 154 virtual RawPtr<LocalFrame> createFrame(const FrameLoadRequest&, const Atomic String& name, HTMLFrameOwnerElement*) = 0;
155 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't in the DOM after plugin initialization. 155 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't in the DOM after plugin initialization.
156 enum DetachedPluginPolicy { 156 enum DetachedPluginPolicy {
157 FailOnDetachedPlugin, 157 FailOnDetachedPlugin,
158 AllowDetachedPlugin, 158 AllowDetachedPlugin,
159 }; 159 };
160 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0; 160 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0;
161 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM anually, DetachedPluginPolicy) = 0; 161 virtual RawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const V ector<String>&, const Vector<String>&, const String&, bool loadManually, Detache dPluginPolicy) = 0;
162 162
163 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0; 163 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, W ebMediaPlayer::LoadType, const WebURL&, WebMediaPlayerClient*) = 0;
164 164
165 virtual PassOwnPtr<WebMediaSession> createWebMediaSession() = 0; 165 virtual PassOwnPtr<WebMediaSession> createWebMediaSession() = 0;
166 166
167 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT ype, bool shouldPreferPlugInsForImages) = 0; 167 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT ype, bool shouldPreferPlugInsForImages) = 0;
168 168
169 virtual void didCreateNewDocument() = 0; 169 virtual void didCreateNewDocument() = 0;
170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; 170 virtual void dispatchDidClearWindowObjectInMainWorld() = 0;
171 virtual void documentElementAvailable() = 0; 171 virtual void documentElementAvailable() = 0;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 BeforeUnloadHandler, 249 BeforeUnloadHandler,
250 UnloadHandler, 250 UnloadHandler,
251 }; 251 };
252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 252 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
253 253
254 }; 254 };
255 255
256 } // namespace blink 256 } // namespace blink
257 257
258 #endif // FrameLoaderClient_h 258 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698