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

Unified Diff: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h

Issue 2795783004: Move core MediaControls implementation to modules/media_controls/. (Closed)
Patch Set: rebase Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegate.h b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h
similarity index 95%
rename from third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegate.h
rename to third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h
index cb87959540ba36fdba6d3cbd9eddca2db0a903d6..ced666e2046df544a87d85f9407665ff4fad4439 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControlsOrientationLockDelegate.h
+++ b/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h
@@ -5,8 +5,8 @@
#ifndef MediaControlsOrientationLockDelegate_h
#define MediaControlsOrientationLockDelegate_h
-#include "core/CoreExport.h"
#include "core/events/EventListener.h"
+#include "modules/ModulesExport.h"
#include "public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
namespace blink {
@@ -38,8 +38,7 @@ class HTMLVideoElement;
// fullscreen);
// - MaybeLockedFullscreen => PendingFullscreen: on fullscreenchange event
// (leaving fullscreen).
-class CORE_EXPORT MediaControlsOrientationLockDelegate final
- : public EventListener {
+class MediaControlsOrientationLockDelegate final : public EventListener {
public:
explicit MediaControlsOrientationLockDelegate(HTMLVideoElement&);
@@ -74,7 +73,7 @@ class CORE_EXPORT MediaControlsOrientationLockDelegate final
// Returns the orientation in which the video should be locked based on its
// size.
- WebScreenOrientationLockType computeOrientationLock() const;
+ MODULES_EXPORT WebScreenOrientationLockType computeOrientationLock() const;
// Locks the screen orientation if the video has metadata information
// available. Delays locking orientation until metadata are available

Powered by Google App Engine
This is Rietveld 408576698