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

Unified Diff: webkit/tools/test_shell/webview_host_win.cc

Issue 10666002: Enable CSS grid layout in test_shell to ease development. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « webkit/tools/test_shell/webview_host_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/webview_host_win.cc
diff --git a/webkit/tools/test_shell/webview_host_win.cc b/webkit/tools/test_shell/webview_host_win.cc
index f1f7842c6dafd542ca0d9c8c7049a1126c700461..c911b2d9f364cb7d6df84e25ab0d55e3aa1d13a5 100644
--- a/webkit/tools/test_shell/webview_host_win.cc
+++ b/webkit/tools/test_shell/webview_host_win.cc
@@ -4,6 +4,7 @@
#include "webkit/tools/test_shell/webview_host.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebSettings.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#include "ui/base/win/hwnd_util.h"
#include "ui/gfx/rect.h"
@@ -44,6 +45,7 @@ WebViewHost* WebViewHost::Create(HWND parent_view,
host->webwidget_ = WebView::create(delegate);
host->webview()->setDevToolsAgentClient(dev_tools_client);
prefs.Apply(host->webview());
+ host->webview()->settings()->setExperimentalCSSGridLayoutEnabled(true);
host->webview()->initializeMainFrame(delegate);
return host;
« no previous file with comments | « webkit/tools/test_shell/webview_host_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698