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

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

Issue 343018: Changes ui proxy classes to use Browser::Types rather than copying... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/browser_proxy.h
===================================================================
--- chrome/test/automation/browser_proxy.h (revision 30285)
+++ chrome/test/automation/browser_proxy.h (working copy)
@@ -13,6 +13,7 @@
#include <string>
+#include "chrome/browser/browser.h"
#include "chrome/test/automation/automation_handle_tracker.h"
class GURL;
@@ -31,13 +32,6 @@
// any subsequent calls will return false immediately.
class BrowserProxy : public AutomationResourceProxy {
public:
- enum Type {
- TYPE_NORMAL = 0,
- TYPE_POPUP = 1,
- TYPE_APP = 2,
- TYPE_APP_POPUP = TYPE_APP | TYPE_POPUP,
- };
-
BrowserProxy(AutomationMessageSender* sender,
AutomationHandleTracker* tracker,
int handle)
@@ -93,7 +87,7 @@
// Returns the type of the given window. Returns true if the call was
// successful.
- bool GetType(Type* type) const;
+ bool GetType(Browser::Type* type) const;
// Returns the TabProxy for the tab at the given index, transferring
// ownership of the pointer to the caller. On failure, returns NULL.
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/browser_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698