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

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: 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/html/HTMLVideoElement.cpp ('k') | Source/core/loader/EmptyClients.cpp » ('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, 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void didDisplayInsecureContent() override {} 226 void didDisplayInsecureContent() override {}
227 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 227 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
228 void didDetectXSS(const KURL&, bool) override {} 228 void didDetectXSS(const KURL&, bool) override {}
229 void didDispatchPingLoader(const KURL&) override {} 229 void didDispatchPingLoader(const KURL&) override {}
230 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 230 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
231 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override; 231 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override;
232 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValue s, const String& mimeType, bool loadManually) override; 232 PassOwnPtrWillBeRawPtr<PluginPlaceholder> createPluginPlaceholder(Document&, const KURL&, const Vector<String>& paramNames, const Vector<String>& paramValue s, const String& mimeType, bool loadManually) override;
233 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override; 233 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override;
234 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 234 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
235 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override; 235 PassRefPtrWillBeRawPtr<Widget> createJavaAppletWidget(HTMLAppletElement*, co nst KURL&, const Vector<String>&, const Vector<String>&) override;
236 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement*, const Web URL&) override;
236 237
237 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); } 238 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); }
238 239
239 void didCreateNewDocument() override {} 240 void didCreateNewDocument() override {}
240 void dispatchDidClearWindowObjectInMainWorld() override {} 241 void dispatchDidClearWindowObjectInMainWorld() override {}
241 void documentElementAvailable() override {} 242 void documentElementAvailable() override {}
242 243
243 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 244 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
244 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 245 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
245 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; } 246 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 ~EmptyDragClient() override {} 319 ~EmptyDragClient() override {}
319 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 320 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
320 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 321 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
321 }; 322 };
322 323
323 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 324 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
324 325
325 } // namespace blink 326 } // namespace blink
326 327
327 #endif // EmptyClients_h 328 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698