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

Unified Diff: chrome/test/automation/tab_proxy.h

Issue 6507015: Implement the target locator commands for ChromeDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use bool success instead of handle != 0 Created 9 years, 10 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/tab_proxy.h
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index e8dc599a56b1afe71aa9f399bd0844e846d91076..25f738790608d65a8fa112481d95580ed36809d4 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -17,6 +17,7 @@
#include "base/compiler_specific.h"
#include "base/observer_list.h"
+#include "base/ref_counted.h"
#include "chrome/browser/download/save_package.h"
#include "chrome/common/automation_constants.h"
#include "chrome/common/page_type.h"
@@ -26,6 +27,7 @@
#include "chrome/test/automation/javascript_execution_controller.h"
#include "webkit/glue/window_open_disposition.h"
+class BrowserProxy;
class GURL;
class Value;
namespace IPC {
@@ -62,6 +64,9 @@ class TabProxy : public AutomationResourceProxy,
AutomationHandleTracker* tracker,
int handle);
+ // Gets the browser that holds this tab.
+ scoped_refptr<BrowserProxy> GetParentBrowser() const;
+
// Gets the current url of the tab.
bool GetCurrentURL(GURL* url) const WARN_UNUSED_RESULT;

Powered by Google App Engine
This is Rietveld 408576698