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

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

Issue 1259643002: NOT FOR LANDING Introduce and use WebMediaSession (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: hack until something works Created 5 years, 4 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 | Annotate | Revision Log
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 20 matching lines...) Expand all
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/WebMediaPlayer.h"
41 #include "public/platform/WebMediaSession.h"
41 #include "public/platform/WebServiceWorkerProvider.h" 42 #include "public/platform/WebServiceWorkerProvider.h"
42 #include "public/platform/WebServiceWorkerProviderClient.h" 43 #include "public/platform/WebServiceWorkerProviderClient.h"
43 44
44 namespace blink { 45 namespace blink {
45 46
46 void fillWithEmptyClients(Page::PageClients& pageClients) 47 void fillWithEmptyClients(Page::PageClients& pageClients)
47 { 48 {
48 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr(); 49 static ChromeClient* dummyChromeClient = adoptPtr(new EmptyChromeClient).lea kPtr();
49 pageClients.chromeClient = dummyChromeClient; 50 pageClients.chromeClient = dummyChromeClient;
50 51
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) 134 PassRefPtrWillBeRawPtr<Widget> EmptyFrameLoaderClient::createJavaAppletWidget(HT MLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&)
134 { 135 {
135 return nullptr; 136 return nullptr;
136 } 137 }
137 138
138 PassOwnPtr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTMLMedi aElement&, const WebURL&, WebMediaPlayerClient*) 139 PassOwnPtr<WebMediaPlayer> EmptyFrameLoaderClient::createWebMediaPlayer(HTMLMedi aElement&, const WebURL&, WebMediaPlayerClient*)
139 { 140 {
140 return nullptr; 141 return nullptr;
141 } 142 }
142 143
144 PassOwnPtr<WebMediaSession> EmptyFrameLoaderClient::createWebMediaSession()
145 {
146 return nullptr;
147 }
148
143 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text CheckingRequest>) 149 void EmptyTextCheckerClient::requestCheckingOfString(PassRefPtrWillBeRawPtr<Text CheckingRequest>)
144 { 150 {
145 } 151 }
146 152
147 void EmptyFrameLoaderClient::didRequestAutocomplete(HTMLFormElement*) 153 void EmptyFrameLoaderClient::didRequestAutocomplete(HTMLFormElement*)
148 { 154 {
149 } 155 }
150 156
151 v8::Local<v8::Value> EmptyFrameLoaderClient::createTestInterface(const AtomicStr ing& name) 157 v8::Local<v8::Value> EmptyFrameLoaderClient::createTestInterface(const AtomicStr ing& name)
152 { 158 {
153 return v8::Local<v8::Value>(); 159 return v8::Local<v8::Value>();
154 } 160 }
155 161
156 PassOwnPtr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceWorker Provider() 162 PassOwnPtr<WebServiceWorkerProvider> EmptyFrameLoaderClient::createServiceWorker Provider()
157 { 163 {
158 return nullptr; 164 return nullptr;
159 } 165 }
160 166
161 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*) 167 PassOwnPtr<WebApplicationCacheHost> EmptyFrameLoaderClient::createApplicationCac heHost(WebApplicationCacheHostClient*)
162 { 168 {
163 return nullptr; 169 return nullptr;
164 } 170 }
165 171
166 } // namespace blink 172 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698