summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell.h')
-rw-r--r--content/shell/shell.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/shell/shell.h b/content/shell/shell.h
index bae8ef2..df1e8f7 100644
--- a/content/shell/shell.h
+++ b/content/shell/shell.h
@@ -55,11 +55,17 @@ class Shell : public WebContentsDelegate,
int routing_id,
TabContents* base_tab_contents);
+ // Returns the Shell object corresponding to the given RenderViewHost.
+ static Shell* FromRenderViewHost(RenderViewHost* rvh);
+
// Closes all windows and exits.
static void PlatformExit();
TabContents* tab_contents() const { return tab_contents_.get(); }
+ // layoutTestController related methods.
+ void set_wait_until_done() { wait_until_done_ = true; }
+
#if defined(OS_MACOSX)
// Public to be called by an ObjC bridge object.
void ActionPerformed(int control);
@@ -134,6 +140,9 @@ class Shell : public WebContentsDelegate,
scoped_ptr<TabContents> tab_contents_;
+ // layoutTestController related variables.
+ bool wait_until_done_;
+
gfx::NativeWindow window_;
gfx::NativeEditView url_edit_view_;