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

Side by Side Diff: Source/WebCore/html/DOMURL.h

Issue 10834324: Revert 124780 - Create a MediaSource object. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 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
« no previous file with comments | « Source/WebCore/dom/EventTargetFactory.in ('k') | Source/WebCore/html/DOMURL.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Motorola Mobility Inc. 3 * Copyright (C) 2012 Motorola Mobility Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 18 matching lines...) Expand all
29 29
30 #include "KURL.h" 30 #include "KURL.h"
31 #include "PlatformString.h" 31 #include "PlatformString.h"
32 #include <wtf/HashSet.h> 32 #include <wtf/HashSet.h>
33 #include <wtf/PassRefPtr.h> 33 #include <wtf/PassRefPtr.h>
34 #include <wtf/RefCounted.h> 34 #include <wtf/RefCounted.h>
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 class Blob; 38 class Blob;
39 class MediaSource;
40 class MediaStream; 39 class MediaStream;
41 class ScriptExecutionContext; 40 class ScriptExecutionContext;
42 41
43 class DOMURL : public RefCounted<DOMURL> { 42 class DOMURL : public RefCounted<DOMURL> {
44 43
45 public: 44 public:
46 static PassRefPtr<DOMURL> create() { return adoptRef(new DOMURL); } 45 static PassRefPtr<DOMURL> create() { return adoptRef(new DOMURL); }
47 46
48 #if ENABLE(BLOB) 47 #if ENABLE(BLOB)
49 static void contextDestroyed(ScriptExecutionContext*); 48 static void contextDestroyed(ScriptExecutionContext*);
50 49
51 static String createObjectURL(ScriptExecutionContext*, Blob*); 50 static String createObjectURL(ScriptExecutionContext*, Blob*);
52 static void revokeObjectURL(ScriptExecutionContext*, const String&); 51 static void revokeObjectURL(ScriptExecutionContext*, const String&);
53 #if ENABLE(MEDIA_SOURCE)
54 static String createObjectURL(ScriptExecutionContext*, MediaSource*);
55 #endif
56 #if ENABLE(MEDIA_STREAM) 52 #if ENABLE(MEDIA_STREAM)
57 static String createObjectURL(ScriptExecutionContext*, MediaStream*); 53 static String createObjectURL(ScriptExecutionContext*, MediaStream*);
58 #endif 54 #endif
59 #endif 55 #endif
60 }; 56 };
61 57
62 } // namespace WebCore 58 } // namespace WebCore
63 59
64 #endif // DOMURL_h 60 #endif // DOMURL_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/EventTargetFactory.in ('k') | Source/WebCore/html/DOMURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698