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

Unified Diff: chrome/test/automation/automation_json_requests.cc

Issue 10854026: Added webdriver support for App v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/automation/automation_json_requests.cc
diff --git a/chrome/test/automation/automation_json_requests.cc b/chrome/test/automation/automation_json_requests.cc
index 96e7e0096c85a567e042bf8cb0e0428377ebce83..08407e87524e15ba8e9e2f1feffd8b72eccd0c94 100644
--- a/chrome/test/automation/automation_json_requests.cc
+++ b/chrome/test/automation/automation_json_requests.cc
@@ -148,6 +148,10 @@ bool WebViewId::old_style() const {
return old_style_;
}
+bool WebViewId::IsAppShell() const {
+ return id_.type() == AutomationId::kTypeAppShell;
+}
+
// static
WebViewLocator WebViewLocator::ForIndexPair(int browser_index, int tab_index) {
WebViewLocator locator;

Powered by Google App Engine
This is Rietveld 408576698