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

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

Issue 364253007: Revert of [screen-orientation] Expose orientation info in OrientationInformation interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/screen_orientation/OrientationInformation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/screen_orientation/OrientationInformation.h
diff --git a/Source/modules/screen_orientation/OrientationInformation.h b/Source/modules/screen_orientation/OrientationInformation.h
deleted file mode 100644
index 25e59e39b14204926c6ffec5313643cede948754..0000000000000000000000000000000000000000
--- a/Source/modules/screen_orientation/OrientationInformation.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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 OrientationInformation_h
-#define OrientationInformation_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "public/platform/WebScreenOrientationType.h"
-#include "wtf/text/WTFString.h"
-
-namespace WebCore {
-
-// OrientationInformation is the C++ counter-part of the OrientationInformation
-// web interface. It is GarbageCollectedFinalized because ScriptWrappable
-// requires it.
-class OrientationInformation FINAL
- : public GarbageCollectedFinalized<OrientationInformation>
- , public ScriptWrappable {
-public:
- OrientationInformation();
- bool initialized() const;
-
- String type() const;
- unsigned short angle() const;
-
- void setType(blink::WebScreenOrientationType);
- void setAngle(unsigned short);
-
- void trace(Visitor*) { }
-
-private:
- blink::WebScreenOrientationType m_type;
- unsigned short m_angle;
-};
-
-} // namespace WebCore
-
-#endif // OrientationInformation_h
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/screen_orientation/OrientationInformation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698