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

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

Issue 2144253002: Remove unused WebFrameClient::hasPendingNavigation method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler(Blame Context*) 122 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler(Blame Context*)
123 { 123 {
124 return wrapUnique(new EmptyFrameScheduler()); 124 return wrapUnique(new EmptyFrameScheduler());
125 } 125 }
126 126
127 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(const Resourc eRequest&, DocumentLoader*, NavigationType, NavigationPolicy, bool, bool) 127 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(const Resourc eRequest&, DocumentLoader*, NavigationType, NavigationPolicy, bool, bool)
128 { 128 {
129 return NavigationPolicyIgnore; 129 return NavigationPolicyIgnore;
130 } 130 }
131 131
132 bool EmptyFrameLoaderClient::hasPendingNavigation()
133 {
134 return false;
135 }
136
137 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) 132 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*)
138 { 133 {
139 } 134 }
140 135
141 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) 136 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*)
142 { 137 {
143 } 138 }
144 139
145 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& substituteData) 140 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& substituteData)
146 { 141 {
(...skipping 28 matching lines...) Expand all
175 { 170 {
176 return nullptr; 171 return nullptr;
177 } 172 }
178 173
179 std::unique_ptr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicati onCacheHost(WebApplicationCacheHostClient*) 174 std::unique_ptr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicati onCacheHost(WebApplicationCacheHostClient*)
180 { 175 {
181 return nullptr; 176 return nullptr;
182 } 177 }
183 178
184 } // namespace blink 179 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698