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

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

Issue 1055503002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments Created 5 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19 matching lines...) Expand all
30 30
31 #include "core/frame/LocalFrame.h" 31 #include "core/frame/LocalFrame.h"
32 #include "core/html/HTMLFormElement.h" 32 #include "core/html/HTMLFormElement.h"
33 #include "core/html/forms/ColorChooser.h" 33 #include "core/html/forms/ColorChooser.h"
34 #include "core/html/forms/DateTimeChooser.h" 34 #include "core/html/forms/DateTimeChooser.h"
35 #include "core/loader/DocumentLoader.h" 35 #include "core/loader/DocumentLoader.h"
36 #include "core/plugins/PluginPlaceholder.h" 36 #include "core/plugins/PluginPlaceholder.h"
37 #include "platform/FileChooser.h" 37 #include "platform/FileChooser.h"
38 #include "platform/Widget.h" 38 #include "platform/Widget.h"
39 #include "public/platform/WebApplicationCacheHost.h" 39 #include "public/platform/WebApplicationCacheHost.h"
40 #include "public/platform/WebMediaPlayer.h"
40 #include "public/platform/WebServiceWorkerProvider.h" 41 #include "public/platform/WebServiceWorkerProvider.h"
41 #include "public/platform/WebServiceWorkerProviderClient.h" 42 #include "public/platform/WebServiceWorkerProviderClient.h"
42 43
43 namespace blink { 44 namespace blink {
44 45
45 void fillWithEmptyClients(Page::PageClients& pageClients) 46 void fillWithEmptyClients(Page::PageClients& pageClients)
46 { 47 {
47 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr(); 48 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr();
48 pageClients.chromeClient = dummyChromeClient; 49 pageClients.chromeClient = dummyChromeClient;
49 50
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String& , bool, DetachedPluginPolicy) 128 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createPlugin(HTMLPlugInEl ement*, const KURL&, const Vector<String>&, const Vector<String>&, const String& , bool, DetachedPluginPolicy)
128 { 129 {
129 return nullptr; 130 return nullptr;
130 } 131 }
131 132
132 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) 133 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&)
133 { 134 {
134 return nullptr; 135 return nullptr;
135 } 136 }
136 137
138 PassOwnPtr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTMLMedi aElement*, const WebURL&)
139 {
140 return nullptr;
141 }
142
137 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text CheckingRequest>) 143 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text CheckingRequest>)
138 { 144 {
139 } 145 }
140 146
141 void EmptyFrameLoaderClient::didRequestAutocomplete(HTMLFormElement*) 147 void EmptyFrameLoaderClient::didRequestAutocomplete(HTMLFormElement*)
142 { 148 {
143 } 149 }
144 150
145 v8::Local<v8::Value> EmptyFrameLoaderClient::createTestInterface(const AtomicStr ing& name) 151 v8::Local<v8::Value> EmptyFrameLoaderClient::createTestInterface(const AtomicStr ing& name)
146 { 152 {
147 return v8::Local<v8::Value>(); 153 return v8::Local<v8::Value>();
148 } 154 }
149 155
150 PassOwnPtr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceWorker Provider() 156 PassOwnPtr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceWorker Provider()
151 { 157 {
152 return nullptr; 158 return nullptr;
153 } 159 }
154 160
155 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*) 161 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*)
156 { 162 {
157 return nullptr; 163 return nullptr;
158 } 164 }
159 165
160 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698