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

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

Issue 1415923003: Introduce WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool navigateBackForward(int offset) const override { return false; } 229 bool navigateBackForward(int offset) const override { return false; }
230 void didDisplayInsecureContent() override {} 230 void didDisplayInsecureContent() override {}
231 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 231 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
232 void didDetectXSS(const KURL&, bool) override {} 232 void didDetectXSS(const KURL&, bool) override {}
233 void didDispatchPingLoader(const KURL&) override {} 233 void didDispatchPingLoader(const KURL&) override {}
234 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 234 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
235 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override; 235 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override;
236 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override; 236 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override;
237 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 237 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
238 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override; 238 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
239 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
239 240
240 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); } 241 ObjectContentType objectContentType(const KURL&, const String&, bool) overri de { return ObjectContentType(); }
241 242
242 void didCreateNewDocument() override {} 243 void didCreateNewDocument() override {}
243 void dispatchDidClearWindowObjectInMainWorld() override {} 244 void dispatchDidClearWindowObjectInMainWorld() override {}
244 void documentElementAvailable() override {} 245 void documentElementAvailable() override {}
245 246
246 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {} 247 void didCreateScriptContext(v8::Local<v8::Context>, int extensionGroup, int worldId) override {}
247 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {} 248 void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) override {}
248 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; } 249 bool allowScriptExtension(const String& extensionName, int extensionGroup, i nt worldId) override { return false; }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 ~EmptyDragClient() override {} 326 ~EmptyDragClient() override {}
326 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 327 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
327 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 328 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
328 }; 329 };
329 330
330 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 331 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
331 332
332 } // namespace blink 333 } // namespace blink
333 334
334 #endif // EmptyClients_h 335 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698