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

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

Issue 2759063002: Remove most of Widget (FrameViewBase) class from HTMLPlugInElement. (Closed)
Patch Set: Fix shouldAccelerate 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 return DocumentLoader::create(frame, request, substituteData, 153 return DocumentLoader::create(frame, request, substituteData,
154 clientRedirectPolicy); 154 clientRedirectPolicy);
155 } 155 }
156 156
157 LocalFrame* EmptyLocalFrameClient::createFrame(const FrameLoadRequest&, 157 LocalFrame* EmptyLocalFrameClient::createFrame(const FrameLoadRequest&,
158 const AtomicString&, 158 const AtomicString&,
159 HTMLFrameOwnerElement*) { 159 HTMLFrameOwnerElement*) {
160 return nullptr; 160 return nullptr;
161 } 161 }
162 162
163 FrameViewBase* EmptyLocalFrameClient::createPlugin(HTMLPlugInElement*, 163 PluginView* EmptyLocalFrameClient::createPlugin(HTMLPlugInElement*,
164 const KURL&, 164 const KURL&,
165 const Vector<String>&, 165 const Vector<String>&,
166 const Vector<String>&, 166 const Vector<String>&,
167 const String&, 167 const String&,
168 bool, 168 bool,
169 DetachedPluginPolicy) { 169 DetachedPluginPolicy) {
170 return nullptr; 170 return nullptr;
171 } 171 }
172 172
173 std::unique_ptr<WebMediaPlayer> EmptyLocalFrameClient::createWebMediaPlayer( 173 std::unique_ptr<WebMediaPlayer> EmptyLocalFrameClient::createWebMediaPlayer(
174 HTMLMediaElement&, 174 HTMLMediaElement&,
175 const WebMediaPlayerSource&, 175 const WebMediaPlayerSource&,
176 WebMediaPlayerClient*) { 176 WebMediaPlayerClient*) {
177 return nullptr; 177 return nullptr;
178 } 178 }
179 179
(...skipping 13 matching lines...) Expand all
193 193
194 std::unique_ptr<WebApplicationCacheHost> 194 std::unique_ptr<WebApplicationCacheHost>
195 EmptyLocalFrameClient::createApplicationCacheHost( 195 EmptyLocalFrameClient::createApplicationCacheHost(
196 WebApplicationCacheHostClient*) { 196 WebApplicationCacheHostClient*) {
197 return nullptr; 197 return nullptr;
198 } 198 }
199 199
200 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default; 200 EmptyRemoteFrameClient::EmptyRemoteFrameClient() = default;
201 201
202 } // namespace blink 202 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/EmptyClients.h ('k') | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698