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

Unified Diff: Source/core/css/ViewportStyleAndroid.cpp

Issue 40423003: Experimental viewport meta tag support for desktop, Blink-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: Source/core/css/ViewportStyleAndroid.cpp
diff --git a/Source/core/html/canvas/WebGLExtension.cpp b/Source/core/css/ViewportStyleAndroid.cpp
similarity index 84%
copy from Source/core/html/canvas/WebGLExtension.cpp
copy to Source/core/css/ViewportStyleAndroid.cpp
index 9d3c9413c61d27f574bdd43cb3e042677d2c4bdb..c5e1932acfbf3018869b5a120f6b9645b2acaabc 100644
--- a/Source/core/html/canvas/WebGLExtension.cpp
+++ b/Source/core/css/ViewportStyleAndroid.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -24,18 +24,15 @@
*/
#include "config.h"
+#include "ViewportStyle.h"
-#include "core/html/canvas/WebGLExtension.h"
+#include "UserAgentStyleSheets.h"
namespace WebCore {
-WebGLExtension::WebGLExtension(WebGLRenderingContext* context)
- : m_context(context)
-{
-}
-
-WebGLExtension::~WebGLExtension()
+String ViewportStyle::viewportStyleSheet()
{
+ return String(viewportAndroidUserAgentStyleSheet, sizeof(viewportAndroidUserAgentStyleSheet));
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698