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

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

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 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 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 124
125 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler( 125 std::unique_ptr<WebFrameScheduler> EmptyChromeClient::createFrameScheduler(
126 BlameContext*) { 126 BlameContext*) {
127 return WTF::makeUnique<EmptyFrameScheduler>(); 127 return WTF::makeUnique<EmptyFrameScheduler>();
128 } 128 }
129 129
130 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation( 130 NavigationPolicy EmptyFrameLoaderClient::decidePolicyForNavigation(
131 const ResourceRequest&, 131 const ResourceRequest&,
132 DocumentLoader*, 132 DocumentLoader*,
133 NavigationType,
134 NavigationPolicy, 133 NavigationPolicy,
135 bool, 134 FrameLoadType,
136 bool, 135 bool,
137 HTMLFormElement*) { 136 HTMLFormElement*) {
138 return NavigationPolicyIgnore; 137 return NavigationPolicyIgnore;
139 } 138 }
140 139
141 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} 140 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {}
142 141
143 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} 142 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {}
144 143
145 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( 144 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader(
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 191
193 std::unique_ptr<WebApplicationCacheHost> 192 std::unique_ptr<WebApplicationCacheHost>
194 EmptyFrameLoaderClient::createApplicationCacheHost( 193 EmptyFrameLoaderClient::createApplicationCacheHost(
195 WebApplicationCacheHostClient*) { 194 WebApplicationCacheHostClient*) {
196 return nullptr; 195 return nullptr;
197 } 196 }
198 197
199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; 198 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default;
200 199
201 } // namespace blink 200 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698