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

Unified Diff: chrome/test/functional/fullscreen_mouselock.py

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (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/functional/fullscreen_mouselock.py
diff --git a/chrome/test/functional/fullscreen_mouselock.py b/chrome/test/functional/fullscreen_mouselock.py
index 847b71ed147a0a216f830edb3d67646bc227e5ae..a9179f7a0bbddb18d778adcd50369275bdf6265f 100755
--- a/chrome/test/functional/fullscreen_mouselock.py
+++ b/chrome/test/functional/fullscreen_mouselock.py
@@ -419,7 +419,7 @@ class FullscreenMouselockTest(pyauto.PyUITest):
"""
self.NavigateToURL(self.GetHttpURLForDataPath('google', 'google.html'))
self._InitiateTabFullscreen()
- self.GetBrowserWindow().GetTab().GoBack()
+ self.TabGoBack()
self.assertFalse(
self.IsFullscreenForTab(),
msg='Tab fullscreen did not exit when navigating to a new page.')
@@ -457,7 +457,7 @@ class FullscreenMouselockTest(pyauto.PyUITest):
lock_result = self._EnableAndReturnLockMouseResult()
self.assertEqual(
lock_result, 'success', msg='Mouse is not locked.')
- self.GetBrowserWindow().GetTab().GoBack()
+ self.TabGoBack()
self.assertFalse(
self.IsMouseLocked(),
msg='Mouse lock did not exit when navigating to the prev page.')

Powered by Google App Engine
This is Rietveld 408576698