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

Unified Diff: chrome/test/automated_ui_tests/automated_ui_tests.h

Issue 113722: Make automation proxy objects to ref_counted. That allows to process async no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/automated_ui_tests/automated_ui_tests.h
===================================================================
--- chrome/test/automated_ui_tests/automated_ui_tests.h (revision 17078)
+++ chrome/test/automated_ui_tests/automated_ui_tests.h (working copy)
@@ -342,7 +342,7 @@
// Returns the WindowProxy associated with the given BrowserProxy
// (transferring ownership of the pointer to the caller) and brings that
// window to the top.
- WindowProxy* GetAndActivateWindowForBrowser(BrowserProxy* browser);
+ scoped_refptr<WindowProxy> GetAndActivateWindowForBrowser(BrowserProxy* browser);
// Calls SimulateOSKeyPress on the active window. Simulates a key press at
// the OS level. |key| is the key pressed and |flags| specifies which
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_test_test.cc ('k') | chrome/test/automated_ui_tests/automated_ui_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698