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

Unified Diff: Source/core/css/ViewportStyle.h

Issue 40423003: Experimental viewport meta tag support for desktop, Blink-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again Created 7 years, 1 month 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/core/css/CSSDefaultStyleSheets.cpp ('k') | Source/core/css/ViewportStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/ViewportStyle.h
diff --git a/Source/modules/device_orientation/DeviceRotationRate.idl b/Source/core/css/ViewportStyle.h
similarity index 85%
copy from Source/modules/device_orientation/DeviceRotationRate.idl
copy to Source/core/css/ViewportStyle.h
index 2d7600aa86f7ddd3cb541e25b90152c1cdd801ff..903ad0fe81c180def8cb398c337f5fc8e1224d4e 100644
--- a/Source/modules/device_orientation/DeviceRotationRate.idl
+++ b/Source/core/css/ViewportStyle.h
@@ -23,10 +23,18 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface DeviceRotationRate {
- readonly attribute double? alpha;
- readonly attribute double? beta;
- readonly attribute double? gamma;
+#ifndef ViewportStyle_h
+#define ViewportStyle_h
+
+#include "wtf/text/WTFString.h"
+
+namespace WebCore {
+
+class ViewportStyle {
+public:
+ static String viewportStyleSheet();
};
+
+} // namespace WebCore
+
+#endif // ViewportStyle_h
« no previous file with comments | « Source/core/css/CSSDefaultStyleSheets.cpp ('k') | Source/core/css/ViewportStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698