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

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

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, 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
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&, WebMediaPlayerClient*) override; 236 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
237 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
237 238
238 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); } 239 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); }
239 240
240 void didCreateNewDocument() override {} 241 void didCreateNewDocument() override {}
241 void dispatchDidClearWindowObjectInMainWorld() override {} 242 void dispatchDidClearWindowObjectInMainWorld() override {}
242 void documentElementAvailable() override {} 243 void documentElementAvailable() override {}
243 244
244 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 245 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
245 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 246 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
246 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; } 247 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
319 ~EmptyDragClient() override {} 320 ~EmptyDragClient() override {}
320 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 321 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
321 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 322 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
322 }; 323 };
323 324
324 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 325 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
325 326
326 } // namespace blink 327 } // namespace blink
327 328
328 #endif // EmptyClients_h 329 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/loader/EmptyClients.cpp » ('j') | Source/modules/mediasession/MediaSession.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698