diff options
Diffstat (limited to 'views/views_delegate.h')
-rw-r--r-- | views/views_delegate.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/views/views_delegate.h b/views/views_delegate.h index 66d91a7..98b734e 100644 --- a/views/views_delegate.h +++ b/views/views_delegate.h @@ -24,6 +24,7 @@ class Clipboard; namespace views { class View; +class Window; // ViewsDelegate is an interface implemented by an object using the views // framework. It is used to obtain various high level application utilities @@ -40,18 +41,21 @@ class ViewsDelegate { // Saves the position, size and maximized state for the window with the // specified name. - virtual void SaveWindowPlacement(const std::wstring& window_name, + virtual void SaveWindowPlacement(views::Window* window, + const std::wstring& window_name, const gfx::Rect& bounds, bool maximized) = 0; // Retrieves the saved position and size for the window with the specified // name. - virtual bool GetSavedWindowBounds(const std::wstring& window_name, + virtual bool GetSavedWindowBounds(views::Window* window, + const std::wstring& window_name, gfx::Rect* bounds) const = 0; // Retrieves the saved maximized state for the window with the specified // name. - virtual bool GetSavedMaximizedState(const std::wstring& window_name, + virtual bool GetSavedMaximizedState(views::Window* window, + const std::wstring& window_name, bool* maximized) const = 0; // Notify the delegate that an accessibility event has happened in |