diff options
Diffstat (limited to 'webkit/tools/test_shell/test_shell.h')
-rw-r--r-- | webkit/tools/test_shell/test_shell.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h index 839d1ae..33d9d1f 100644 --- a/webkit/tools/test_shell/test_shell.h +++ b/webkit/tools/test_shell/test_shell.h @@ -231,6 +231,11 @@ public: void set_is_modal(bool value) { is_modal_ = value; } bool is_modal() const { return is_modal_; } +#if defined(OS_MACOSX) + // handle cleaning up a shell given the associated window + static void DestroyAssociatedShell(gfx::WindowHandle handle); +#endif + protected: bool Initialize(const std::wstring& startingURL); void SizeToDefault(); @@ -245,6 +250,10 @@ protected: static LRESULT CALLBACK EditWndProc(HWND, UINT, WPARAM, LPARAM); #endif +#if defined(OS_WIN) || defined(OS_MACOSX) + static void PlatformShutdown(); +#endif + protected: gfx::WindowHandle m_mainWnd; gfx::EditViewHandle m_editWnd; |