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

Unified Diff: Source/modules/screen_orientation/ScreenOrientation.h

Issue 219463003: Screen Orientation API: cleanup, simplify and fix implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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: Source/modules/screen_orientation/ScreenOrientation.h
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
index 7e0d9d1033c3118d349559acf65b92df5811b0d3..7a3e05a9ae61e2c16e8e6abaecfb78e40ab6f8aa 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -10,7 +10,7 @@
#include "heap/Handle.h"
#include "platform/Supplementable.h"
#include "platform/Timer.h"
-#include "public/platform/WebScreenOrientation.h"
+#include "public/platform/WebScreenOrientationLockType.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/WTFString.h"
@@ -36,14 +36,14 @@ public:
private:
explicit ScreenOrientation(Screen&);
- void lockOrientationAsync(blink::WebScreenOrientations);
+ void lockOrientationAsync(blink::WebScreenOrientationLockType);
void orientationLockTimerFired(Timer<ScreenOrientation>*);
static const char* supplementName();
Document* document() const;
Timer<ScreenOrientation> m_orientationLockTimer;
- blink::WebScreenOrientations m_lockedOrientations;
+ blink::WebScreenOrientationLockType m_prospectiveLock;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698