diff options
Diffstat (limited to 'chrome/test/pyautolib')
-rw-r--r-- | chrome/test/pyautolib/pyautolib.cc | 4 | ||||
-rw-r--r-- | chrome/test/pyautolib/pyautolib.h | 2 | ||||
-rw-r--r-- | chrome/test/pyautolib/pyautolib.i | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/chrome/test/pyautolib/pyautolib.cc b/chrome/test/pyautolib/pyautolib.cc index 39a5b32..fab3832 100644 --- a/chrome/test/pyautolib/pyautolib.cc +++ b/chrome/test/pyautolib/pyautolib.cc @@ -156,9 +156,9 @@ bool PyUITestBase::OpenNewBrowserWindow(bool show) { return automation()->OpenNewBrowserWindow(Browser::TYPE_NORMAL, show); } -bool PyUITestBase::InstallExtension(const FilePath& crx_file) { +bool PyUITestBase::InstallExtension(const FilePath& crx_file, bool with_ui) { scoped_refptr<ExtensionProxy> proxy = - automation()->InstallExtension(crx_file); + automation()->InstallExtension(crx_file, with_ui); return proxy.get() != NULL; } diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h index 1093fda..321cfde 100644 --- a/chrome/test/pyautolib/pyautolib.h +++ b/chrome/test/pyautolib/pyautolib.h @@ -100,7 +100,7 @@ class PyUITestBase : public UITestBase { // Installs the extension crx. Returns true only if extension was installed // and loaded successfully. Overinstalls will fail. - bool InstallExtension(const FilePath& crx_file); + bool InstallExtension(const FilePath& crx_file, bool with_ui); // Returns bookmark bar visibility state. bool GetBookmarkBarVisibility(); diff --git a/chrome/test/pyautolib/pyautolib.i b/chrome/test/pyautolib/pyautolib.i index 885bea8..681fa74 100644 --- a/chrome/test/pyautolib/pyautolib.i +++ b/chrome/test/pyautolib/pyautolib.i @@ -307,7 +307,7 @@ class PyUITestBase { %feature("docstring", "Install an extension from the given file. Returns " "True if successfully installed and loaded.") InstallExtension; - bool InstallExtension(const FilePath& crx_file); + bool InstallExtension(const FilePath& crx_file, bool with_ui); %feature("docstring", "Get a proxy to the browser window at the given " "zero-based index.") GetBrowserWindow; |