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

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

Issue 1825763002: media: Enable Unified Media Pipeline for MSE and EME on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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 29 matching lines...) Expand all
40 #include "core/page/SpellCheckerClient.h" 40 #include "core/page/SpellCheckerClient.h"
41 #include "platform/DragImage.h" 41 #include "platform/DragImage.h"
42 #include "platform/geometry/FloatPoint.h" 42 #include "platform/geometry/FloatPoint.h"
43 #include "platform/geometry/FloatRect.h" 43 #include "platform/geometry/FloatRect.h"
44 #include "platform/geometry/IntRect.h" 44 #include "platform/geometry/IntRect.h"
45 #include "platform/heap/Handle.h" 45 #include "platform/heap/Handle.h"
46 #include "platform/network/ResourceError.h" 46 #include "platform/network/ResourceError.h"
47 #include "platform/text/TextCheckerClient.h" 47 #include "platform/text/TextCheckerClient.h"
48 #include "public/platform/WebFocusType.h" 48 #include "public/platform/WebFocusType.h"
49 #include "public/platform/WebFrameScheduler.h" 49 #include "public/platform/WebFrameScheduler.h"
50 #include "public/platform/WebMediaPlayer.h"
51 #include "public/platform/WebScreenInfo.h" 50 #include "public/platform/WebScreenInfo.h"
52 #include "wtf/Forward.h" 51 #include "wtf/Forward.h"
53 #include <v8.h> 52 #include <v8.h>
54 53
55 /* 54 /*
56 This file holds empty Client stubs for use by WebCore. 55 This file holds empty Client stubs for use by WebCore.
57 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u se in parsing or executing JavaScript. 56 Viewless element needs to create a dummy Page->LocalFrame->FrameView tree for u se in parsing or executing JavaScript.
58 This tree depends heavily on Clients (usually provided by WebKit classes). 57 This tree depends heavily on Clients (usually provided by WebKit classes).
59 58
60 This file was first created for SVGImage as it had no way to access the current Page (nor should it, 59 This file was first created for SVGImage as it had no way to access the current Page (nor should it,
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void didDisplayInsecureContent() override {} 239 void didDisplayInsecureContent() override {}
241 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {} 240 void didRunInsecureContent(SecurityOrigin*, const KURL&) override {}
242 void didDetectXSS(const KURL&, bool) override {} 241 void didDetectXSS(const KURL&, bool) override {}
243 void didDispatchPingLoader(const KURL&) override {} 242 void didDispatchPingLoader(const KURL&) override {}
244 void didDisplayContentWithCertificateErrors(const KURL&, const CString&, con st WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) override {} 243 void didDisplayContentWithCertificateErrors(const KURL&, const CString&, con st WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) override {}
245 void didRunContentWithCertificateErrors(const KURL&, const CString&, const W ebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) override {} 244 void didRunContentWithCertificateErrors(const KURL&, const CString&, const W ebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) override {}
246 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {} 245 void selectorMatchChanged(const Vector<String>&, const Vector<String>&) over ride {}
247 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override; 246 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t AtomicString&, HTMLFrameOwnerElement*) override;
248 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override; 247 PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool, DetachedPlug inPolicy) override;
249 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; } 248 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { return false; }
250 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, WebMediaP layer::LoadType, const WebURL&, WebMediaPlayerClient*) override; 249 PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, const Web URL&, WebMediaPlayerClient*) override;
251 PassOwnPtr<WebMediaSession> createWebMediaSession() override; 250 PassOwnPtr<WebMediaSession> createWebMediaSession() override;
252 251
253 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); } 252 ObjectContentType getObjectContentType(const KURL&, const String&, bool) ove rride { return ObjectContentType(); }
254 253
255 void didCreateNewDocument() override {} 254 void didCreateNewDocument() override {}
256 void dispatchDidClearWindowObjectInMainWorld() override {} 255 void dispatchDidClearWindowObjectInMainWorld() override {}
257 void documentElementAvailable() override {} 256 void documentElementAvailable() override {}
258 void runScriptsAtDocumentElementAvailable() override {} 257 void runScriptsAtDocumentElementAvailable() override {}
259 void runScriptsAtDocumentReady() override {} 258 void runScriptsAtDocumentReady() override {}
260 259
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 ~EmptyDragClient() override {} 336 ~EmptyDragClient() override {}
338 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; } 337 DragDestinationAction actionMaskForDrag(DragData*) override { return DragDes tinationActionNone; }
339 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {} 338 void startDrag(DragImage*, const IntPoint&, const IntPoint&, DataTransfer*, LocalFrame*, bool) override {}
340 }; 339 };
341 340
342 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 341 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
343 342
344 } // namespace blink 343 } // namespace blink
345 344
346 #endif // EmptyClients_h 345 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLVideoElementTest.cpp ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698