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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaImage.h

Issue 2612003002: Media Session: use dictionary instead of an interface for MediaImage. (Closed)
Patch Set: rebase Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediasession/MediaImage.h
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaImage.h b/third_party/WebKit/Source/modules/mediasession/MediaImage.h
deleted file mode 100644
index 5fe51c23b5e8a09b1c7d79d4cb332c1f988e4aae..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/mediasession/MediaImage.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MediaImage_h
-#define MediaImage_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "modules/ModulesExport.h"
-#include "platform/heap/Handle.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class ExecutionContext;
-class MediaImageInit;
-
-class MODULES_EXPORT MediaImage final
- : public GarbageCollectedFinalized<MediaImage>,
- public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-
- public:
- static MediaImage* create(ExecutionContext*, const MediaImageInit&);
-
- String src() const;
- String sizes() const;
- String type() const;
-
- DEFINE_INLINE_TRACE() {}
-
- private:
- MediaImage(ExecutionContext*, const MediaImageInit&);
-
- String m_src;
- String m_sizes;
- String m_type;
-};
-
-} // namespace blink
-
-#endif // MediaImage_h
« no previous file with comments | « third_party/WebKit/Source/modules/mediasession/BUILD.gn ('k') | third_party/WebKit/Source/modules/mediasession/MediaImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698