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

Unified Diff: chrome/test/chromedriver/chrome/chrome_impl.h

Issue 1196663005: [chromedriver] When launching a Chrome App, automatically switch to the new window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add copyright message to test app background.js Created 5 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
Index: chrome/test/chromedriver/chrome/chrome_impl.h
diff --git a/chrome/test/chromedriver/chrome/chrome_impl.h b/chrome/test/chromedriver/chrome/chrome_impl.h
index 79dfb5ebe46c73cdf2ca16718e8c1608095a2863..5aa7ccbe5011c82842b5aa6236528ec2f9267a06 100644
--- a/chrome/test/chromedriver/chrome/chrome_impl.h
+++ b/chrome/test/chromedriver/chrome/chrome_impl.h
@@ -8,6 +8,7 @@
#include <list>
#include <string>
+#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
@@ -24,6 +25,9 @@ class PortReservation;
class Status;
class WebView;
class WebViewImpl;
+struct WebViewInfo;
+
+typedef base::Callback<void(const WebViewInfo&)> WebViewCallback;
class ChromeImpl : public Chrome {
public:
@@ -48,6 +52,9 @@ class ChromeImpl : public Chrome {
ScopedVector<DevToolsEventListener>& devtools_event_listeners,
scoped_ptr<PortReservation> port_reservation);
+ Status UpdateWebViewIds(std::list<std::string>* web_view_ids,
+ const WebViewCallback& callback);
+
virtual Status QuitImpl() = 0;
bool quit_;
« no previous file with comments | « chrome/test/chromedriver/chrome/chrome_desktop_impl.cc ('k') | chrome/test/chromedriver/chrome/chrome_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698