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

Unified Diff: chrome/test/webdriver/commands/chrome_commands.cc

Issue 9288051: Implement the webdriver window sizing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 8 years, 11 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: chrome/test/webdriver/commands/chrome_commands.cc
diff --git a/chrome/test/webdriver/commands/chrome_commands.cc b/chrome/test/webdriver/commands/chrome_commands.cc
index dca46ae39feaf64b96327fa700293f01f8802749..27a84f55f15022ab43db99dafb95d405eee6c0d3 100644
--- a/chrome/test/webdriver/commands/chrome_commands.cc
+++ b/chrome/test/webdriver/commands/chrome_commands.cc
@@ -246,7 +246,7 @@ void ViewsCommand::ExecuteGet(Response* const response) {
for (size_t i = 0; i < views.size(); ++i) {
DictionaryValue* dict = new DictionaryValue();
AutomationId id = views[i].view_id.GetId();
- dict->SetString("handle", JsonStringify(id.ToValue()));
+ dict->SetString("handle", WebViewIdToString(WebViewId::ForView(id)));
dict->SetInteger("type", id.type());
if (!views[i].extension_id.empty())
dict->SetString("extension_id", views[i].extension_id);

Powered by Google App Engine
This is Rietveld 408576698