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

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

Issue 1983913002: Test to see if we can bring in document data from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebLocalFrameImpl::loadData Created 4 years, 7 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Will be called when a particular loading code path has been used. This 147 // Will be called when a particular loading code path has been used. This
148 // propogates renderer loading behavior to the browser process for 148 // propogates renderer loading behavior to the browser process for
149 // histograms. 149 // histograms.
150 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { } 150 virtual void didObserveLoadingBehavior(WebLoadingBehaviorFlag) { }
151 151
152 // Transmits the change in the set of watched CSS selectors property 152 // Transmits the change in the set of watched CSS selectors property
153 // that match any element on the frame. 153 // that match any element on the frame.
154 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0; 154 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0;
155 155
156 virtual DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequ est&, const SubstituteData&) = 0; 156 virtual DocumentLoader* createDocumentLoader(LocalFrame*, const ResourceRequ est&, const SubstituteData&, int initiator) = 0;
157 157
158 virtual String userAgent() = 0; 158 virtual String userAgent() = 0;
159 159
160 virtual String doNotTrackValue() = 0; 160 virtual String doNotTrackValue() = 0;
161 161
162 virtual void transitionToCommittedForNewPage() = 0; 162 virtual void transitionToCommittedForNewPage() = 0;
163 163
164 virtual LocalFrame* createFrame(const FrameLoadRequest&, const AtomicString& name, HTMLFrameOwnerElement*) = 0; 164 virtual LocalFrame* createFrame(const FrameLoadRequest&, const AtomicString& name, HTMLFrameOwnerElement*) = 0;
165 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't in the DOM after plugin initialization. 165 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't in the DOM after plugin initialization.
166 enum DetachedPluginPolicy { 166 enum DetachedPluginPolicy {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } 261 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; }
262 262
263 // Effective connection type when this frame was loaded. 263 // Effective connection type when this frame was loaded.
264 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; } 264 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web EffectiveConnectionType::TypeUnknown; }
265 }; 265 };
266 266
267 } // namespace blink 267 } // namespace blink
268 268
269 #endif // FrameLoaderClient_h 269 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/NavigationScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698