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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaSource.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 24 matching lines...) Expand all
35 #include "core/html/URLRegistry.h" 35 #include "core/html/URLRegistry.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "wtf/Forward.h" 37 #include "wtf/Forward.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class WebMediaSource; 41 class WebMediaSource;
42 class HTMLMediaElement; 42 class HTMLMediaElement;
43 class TimeRanges; 43 class TimeRanges;
44 44
45 class CORE_EXPORT HTMLMediaSource : public URLRegistrable, public WillBeGarbageC ollectedMixin { 45 class CORE_EXPORT HTMLMediaSource : public URLRegistrable, public GarbageCollect edMixin {
46 public: 46 public:
47 static void setRegistry(URLRegistry*); 47 static void setRegistry(URLRegistry*);
48 static HTMLMediaSource* lookup(const String& url) { return s_registry ? stat ic_cast<HTMLMediaSource*>(s_registry->lookup(url)) : 0; } 48 static HTMLMediaSource* lookup(const String& url) { return s_registry ? stat ic_cast<HTMLMediaSource*>(s_registry->lookup(url)) : 0; }
49 49
50 #if !ENABLE(OILPAN) 50 #if !ENABLE(OILPAN)
51 void ref() { refHTMLMediaSource(); } 51 void ref() { refHTMLMediaSource(); }
52 void deref() { derefHTMLMediaSource(); } 52 void deref() { derefHTMLMediaSource(); }
53 #endif 53 #endif
54 54
55 // Called when an HTMLMediaElement is attempting to attach to this object, 55 // Called when an HTMLMediaElement is attempting to attach to this object,
(...skipping 18 matching lines...) Expand all
74 // URLRegistrable 74 // URLRegistrable
75 URLRegistry& registry() const override { return *s_registry; } 75 URLRegistry& registry() const override { return *s_registry; }
76 76
77 private: 77 private:
78 static URLRegistry* s_registry; 78 static URLRegistry* s_registry;
79 }; 79 };
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif 83 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMeterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698