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

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

Issue 2721503002: Rename all uses of EmptyFrameLoaderClient with EmptyLocalFrameClient. (Closed)
Patch Set: Change V8 headers to user includes and introduce a space between system and user headers. Headers w… Created 3 years, 9 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 String EmptyChromeClient::acceptLanguages() { 121 String EmptyChromeClient::acceptLanguages() {
122 return String(); 122 return String();
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 EmptyLocalFrameClient::decidePolicyForNavigation(
131 const ResourceRequest&, 131 const ResourceRequest&,
132 DocumentLoader*, 132 DocumentLoader*,
133 NavigationType, 133 NavigationType,
134 NavigationPolicy, 134 NavigationPolicy,
135 bool, 135 bool,
136 bool, 136 bool,
137 HTMLFormElement*) { 137 HTMLFormElement*) {
138 return NavigationPolicyIgnore; 138 return NavigationPolicyIgnore;
139 } 139 }
140 140
141 void EmptyFrameLoaderClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {} 141 void EmptyLocalFrameClient::dispatchWillSendSubmitEvent(HTMLFormElement*) {}
142 142
143 void EmptyFrameLoaderClient::dispatchWillSubmitForm(HTMLFormElement*) {} 143 void EmptyLocalFrameClient::dispatchWillSubmitForm(HTMLFormElement*) {}
144 144
145 DocumentLoader* EmptyFrameLoaderClient::createDocumentLoader( 145 DocumentLoader* EmptyLocalFrameClient::createDocumentLoader(
146 LocalFrame* frame, 146 LocalFrame* frame,
147 const ResourceRequest& request, 147 const ResourceRequest& request,
148 const SubstituteData& substituteData, 148 const SubstituteData& substituteData,
149 ClientRedirectPolicy clientRedirectPolicy) { 149 ClientRedirectPolicy clientRedirectPolicy) {
150 DCHECK(frame); 150 DCHECK(frame);
151 151
152 return DocumentLoader::create(frame, request, substituteData, 152 return DocumentLoader::create(frame, request, substituteData,
153 clientRedirectPolicy); 153 clientRedirectPolicy);
154 } 154 }
155 155
156 LocalFrame* EmptyFrameLoaderClient::createFrame(const FrameLoadRequest&, 156 LocalFrame* EmptyLocalFrameClient::createFrame(const FrameLoadRequest&,
157 const AtomicString&, 157 const AtomicString&,
158 HTMLFrameOwnerElement*) { 158 HTMLFrameOwnerElement*) {
159 return nullptr; 159 return nullptr;
160 } 160 }
161 161
162 Widget* EmptyFrameLoaderClient::createPlugin(HTMLPlugInElement*, 162 Widget* EmptyLocalFrameClient::createPlugin(HTMLPlugInElement*,
163 const KURL&, 163 const KURL&,
164 const Vector<String>&, 164 const Vector<String>&,
165 const Vector<String>&, 165 const Vector<String>&,
166 const String&, 166 const String&,
167 bool, 167 bool,
168 DetachedPluginPolicy) { 168 DetachedPluginPolicy) {
169 return nullptr; 169 return nullptr;
170 } 170 }
171 171
172 std::unique_ptr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer( 172 std::unique_ptr<WebMediaPlayer> EmptyLocalFrameClient::createWebMediaPlayer(
173 HTMLMediaElement&, 173 HTMLMediaElement&,
174 const WebMediaPlayerSource&, 174 const WebMediaPlayerSource&,
175 WebMediaPlayerClient*) { 175 WebMediaPlayerClient*) {
176 return nullptr; 176 return nullptr;
177 } 177 }
178 178
179 WebRemotePlaybackClient* EmptyFrameLoaderClient::createWebRemotePlaybackClient( 179 WebRemotePlaybackClient* EmptyLocalFrameClient::createWebRemotePlaybackClient(
180 HTMLMediaElement&) { 180 HTMLMediaElement&) {
181 return nullptr; 181 return nullptr;
182 } 182 }
183 183
184 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {} 184 void EmptyTextCheckerClient::requestCheckingOfString(TextCheckingRequest*) {}
185 185
186 void EmptyTextCheckerClient::cancelAllPendingRequests() {} 186 void EmptyTextCheckerClient::cancelAllPendingRequests() {}
187 187
188 std::unique_ptr<WebServiceWorkerProvider> 188 std::unique_ptr<WebServiceWorkerProvider>
189 EmptyFrameLoaderClient::createServiceWorkerProvider() { 189 EmptyLocalFrameClient::createServiceWorkerProvider() {
190 return nullptr; 190 return nullptr;
191 } 191 }
192 192
193 std::unique_ptr<WebApplicationCacheHost> 193 std::unique_ptr<WebApplicationCacheHost>
194 EmptyFrameLoaderClient::createApplicationCacheHost( 194 EmptyLocalFrameClient::createApplicationCacheHost(
195 WebApplicationCacheHostClient*) { 195 WebApplicationCacheHostClient*) {
196 return nullptr; 196 return nullptr;
197 } 197 }
198 198
199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; 199 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default;
200 200
201 } // namespace blink 201 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698