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

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

Issue 1055503002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added new path for createMediaPlayer Created 5 years, 7 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, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 virtual void didDisplayInsecureContent() override { } 217 virtual void didDisplayInsecureContent() override { }
218 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) override { } 218 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) override { }
219 virtual void didDetectXSS(const KURL&, bool) override { } 219 virtual void didDetectXSS(const KURL&, bool) override { }
220 virtual void didDispatchPingLoader(const KURL&) override { } 220 virtual void didDispatchPingLoader(const KURL&) override { }
221 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { } 221 virtual void selectorMatchChanged(const Vector<String>&, const Vector<String >&) override { }
222 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques t&, const AtomicString&, HTMLFrameOwnerElement*) override; 222 virtual PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadReques t&, const AtomicString&, HTMLFrameOwnerElement*) override;
223 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override; 223 virtual PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Do cument&, const KURL&, const Vector<String>& paramNames, const Vector<String>& pa ramValues, const String& mimeType, bool loadManually) override;
224 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override; 224 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, Deta chedPluginPolicy) override;
225 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; } 225 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const ov erride { return false; }
226 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override; 226 virtual PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElem ent*, const KURL&, const Vector<String>&, const Vector<String>&) override;
227 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement*, c onst WebURL&) override;
227 228
228 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); } 229 virtual ObjectContentType objectContentType(const KURL&, const String&, bool ) override { return ObjectContentType(); }
229 230
230 virtual void didCreateNewDocument() override { } 231 virtual void didCreateNewDocument() override { }
231 virtual void dispatchDidClearWindowObjectInMainWorld() override { } 232 virtual void dispatchDidClearWindowObjectInMainWorld() override { }
232 virtual void documentElementAvailable() override { } 233 virtual void documentElementAvailable() override { }
233 234
234 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro up, int worldId) override { } 235 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro up, int worldId) override { }
235 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) o verride { } 236 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) o verride { }
236 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; } 237 virtual bool allowScriptExtension(const String& extensionName, int extension Group, int worldId) override { return false; }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 virtual ~EmptyDragClient() {} 308 virtual ~EmptyDragClient() {}
308 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; } 309 virtual DragDestinationAction actionMaskForDrag(DragData*) override { return DragDestinationActionNone; }
309 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { } 310 virtual void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTra nsfer*, LocalFrame*, bool) override { }
310 }; 311 };
311 312
312 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 313 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
313 314
314 } // namespace blink 315 } // namespace blink
315 316
316 #endif // EmptyClients_h 317 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698