summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorace@chromium.org <ace@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 19:49:40 +0000
committerace@chromium.org <ace@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-10 19:49:40 +0000
commitdddf53e935650c413e28b677416bb907a21485ba (patch)
tree410c880012d2ae4262ef883480f7d7f51f2e4904 /chrome
parent430f19254889ef7aea9d1ff8cf6bb2bc199b4def (diff)
downloadchromium_src-dddf53e935650c413e28b677416bb907a21485ba.zip
chromium_src-dddf53e935650c413e28b677416bb907a21485ba.tar.gz
chromium_src-dddf53e935650c413e28b677416bb907a21485ba.tar.bz2
pyautolib: exposing TabProxy::WaitForTabToBeRestored
Review URL: http://codereview.chromium.org/2016004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/pyautolib/pyautolib.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i
index 63ec51f..5b3db11 100644
--- a/chrome/test/pyautolib/pyautolib.i
+++ b/chrome/test/pyautolib/pyautolib.i
@@ -38,6 +38,9 @@
#include "chrome/test/pyautolib/pyautolib.h"
%}
+// Handle type uint32 conversions as int
+%apply int { uint32 };
+
// scoped_refptr
template <class T>
class scoped_refptr {
@@ -126,6 +129,9 @@ class TabProxy {
"since it might close the browser.") Close;
bool Close();
bool Close(bool wait_until_closed);
+ %feature("docstring", "Blocks until tab is completely restored.")
+ WaitForTabToBeRestored;
+ bool WaitForTabToBeRestored(uint32 timeout_ms);
// HTTP Auth
%feature("docstring",