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

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

Issue 2394223002: Rename MediaArtwork -> MediaImage (Closed)
Patch Set: rebased Created 4 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 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/MediaArtwork.h b/third_party/WebKit/Source/modules/mediasession/MediaImage.h
similarity index 64%
rename from third_party/WebKit/Source/modules/mediasession/MediaArtwork.h
rename to third_party/WebKit/Source/modules/mediasession/MediaImage.h
index 51dcfdab2bb4213ec7ab8c653e78e04169598f30..5fe51c23b5e8a09b1c7d79d4cb332c1f988e4aae 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaArtwork.h
+++ b/third_party/WebKit/Source/modules/mediasession/MediaImage.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MediaArtwork_h
-#define MediaArtwork_h
+#ifndef MediaImage_h
+#define MediaImage_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/ModulesExport.h"
@@ -13,15 +13,15 @@
namespace blink {
class ExecutionContext;
-class MediaArtworkInit;
+class MediaImageInit;
-class MODULES_EXPORT MediaArtwork final
- : public GarbageCollectedFinalized<MediaArtwork>,
+class MODULES_EXPORT MediaImage final
+ : public GarbageCollectedFinalized<MediaImage>,
public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static MediaArtwork* create(ExecutionContext*, const MediaArtworkInit&);
+ static MediaImage* create(ExecutionContext*, const MediaImageInit&);
String src() const;
String sizes() const;
@@ -30,12 +30,13 @@ class MODULES_EXPORT MediaArtwork final
DEFINE_INLINE_TRACE() {}
private:
- MediaArtwork(ExecutionContext*, const MediaArtworkInit&);
+ MediaImage(ExecutionContext*, const MediaImageInit&);
String m_src;
String m_sizes;
String m_type;
};
-}
-#endif // MediaArtwork_h
+} // namespace blink
+
+#endif // MediaImage_h

Powered by Google App Engine
This is Rietveld 408576698