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

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

Issue 366853008: [screen-orientation] Expose orientation info in OrientationInformation interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update ctor listing Created 6 years, 6 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 1091cdb224e11d9e0cc04593744091375c632c2e..7161fa3ee8bde8a5157206e7263054dafc4745e0 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -17,6 +17,7 @@
namespace WebCore {
class Document;
+class OrientationInformation;
class ScriptPromise;
class ScriptState;
class Screen;
@@ -27,7 +28,7 @@ public:
static ScreenOrientation& from(Screen&);
virtual ~ScreenOrientation();
- static const AtomicString& orientation(Screen&);
+ static OrientationInformation* orientation(Screen&);
static ScriptPromise lockOrientation(ScriptState*, Screen&, const AtomicString& orientation);
static void unlockOrientation(Screen&);
« no previous file with comments | « Source/modules/screen_orientation/OrientationInformation.idl ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698