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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp

Issue 15927026: Enabled using viewport on desktop browsers behind experimental flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Created 7 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
Index: Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp b/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp
index 1b2b9ffea88c41d62ed2402f2debb15c551a845c..1c3f8e7f3c0c8462478a0ba93113d53559ebc8aa 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp
@@ -197,7 +197,6 @@ TestRunner::TestRunner(TestInterfaces* interfaces)
bindMethod("startSpeechInput", &TestRunner::startSpeechInput);
bindMethod("findString", &TestRunner::findString);
bindMethod("setValueForUser", &TestRunner::setValueForUser);
- bindMethod("enableFixedLayoutMode", &TestRunner::enableFixedLayoutMode);
bindMethod("setFixedLayoutSize", &TestRunner::setFixedLayoutSize);
bindMethod("selectionAsMarkup", &TestRunner::selectionAsMarkup);
bindMethod("setTextSubpixelPositioning", &TestRunner::setTextSubpixelPositioning);
@@ -1345,15 +1344,6 @@ void TestRunner::setValueForUser(const CppArgumentList& arguments, CppVariant* r
input->setValue(cppVariantToWebString(arguments[1]), true);
}
-void TestRunner::enableFixedLayoutMode(const CppArgumentList& arguments, CppVariant* result)
-{
- result->setNull();
- if (arguments.size() < 1 || !arguments[0].isBool())
- return;
- bool enableFixedLayout = arguments[0].toBoolean();
- m_webView->enableFixedLayoutMode(enableFixedLayout);
-}
-
void TestRunner::setFixedLayoutSize(const CppArgumentList& arguments, CppVariant* result)
{
result->setNull();

Powered by Google App Engine
This is Rietveld 408576698