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

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

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void detached(FrameDetachType) override {} 189 void detached(FrameDetachType) override {}
190 190
191 void dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest &, const ResourceResponse&) override {} 191 void dispatchWillSendRequest(DocumentLoader*, unsigned long, ResourceRequest &, const ResourceResponse&) override {}
192 void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const Resour ceResponse&) override {} 192 void dispatchDidReceiveResponse(DocumentLoader*, unsigned long, const Resour ceResponse&) override {}
193 void dispatchDidFinishLoading(DocumentLoader*, unsigned long) override {} 193 void dispatchDidFinishLoading(DocumentLoader*, unsigned long) override {}
194 void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const Re sourceResponse&) override {} 194 void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&, const Re sourceResponse&) override {}
195 195
196 void dispatchDidHandleOnloadEvents() override {} 196 void dispatchDidHandleOnloadEvents() override {}
197 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {} 197 void dispatchDidReceiveServerRedirectForProvisionalLoad() override {}
198 void dispatchWillClose() override {} 198 void dispatchWillClose() override {}
199 void dispatchDidStartProvisionalLoad(double triggeringEventTime) override {} 199 void dispatchDidStartProvisionalLoad(DocumentLoader*, double triggeringEvent Time) override {}
200 void dispatchDidReceiveTitle(const String&) override {} 200 void dispatchDidReceiveTitle(const String&) override {}
201 void dispatchDidChangeIcons(IconType) override {} 201 void dispatchDidChangeIcons(IconType) override {}
202 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 202 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
203 void dispatchDidFailProvisionalLoad(const ResourceError&, HistoryCommitType) override {} 203 void dispatchDidFailProvisionalLoad(DocumentLoader*, const ResourceError&, H istoryCommitType) override {}
204 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override { } 204 void dispatchDidFailLoad(DocumentLoader*, const ResourceError&, HistoryCommi tType) override {}
205 void dispatchDidFinishDocumentLoad(bool) override {} 205 void dispatchDidFinishDocumentLoad(bool) override {}
206 void dispatchDidFinishLoad() override {} 206 void dispatchDidFinishLoad() override {}
207 void dispatchDidChangeThemeColor() override {} 207 void dispatchDidChangeThemeColor() override {}
208 208
209 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override; 209 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, DocumentL oader*, NavigationPolicy) override;
210 bool hasPendingNavigation() override; 210 bool hasPendingNavigation() override;
211 211
212 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 212 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
213 void dispatchWillSubmitForm(HTMLFormElement*) override; 213 void dispatchWillSubmitForm(DocumentLoader*, HTMLFormElement*) override {}
214 214
215 void didStartLoading(LoadStartType) override {} 215 void didStartLoading(LoadStartType) override {}
216 void progressEstimateChanged(double) override {} 216 void progressEstimateChanged(double) override {}
217 void didStopLoading() override {} 217 void didStopLoading() override {}
218 218
219 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& = String()) override {} 219 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& = String()) override {}
220 220
221 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override; 221 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override;
222 222
223 String userAgent(const KURL&) override { return ""; } 223 String userAgent(const KURL&) override { return ""; }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 ~EmptyDragClient() override {} 325 ~EmptyDragClient() override {}
326 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 326 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
327 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 327 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
328 }; 328 };
329 329
330 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 330 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
331 331
332 } // namespace blink 332 } // namespace blink
333 333
334 #endif // EmptyClients_h 334 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698