Index: ui/views/window/non_client_view.h |
diff --git a/ui/views/window/non_client_view.h b/ui/views/window/non_client_view.h |
index d4305783d84a5f3e5f9c20542a40e356168da1de..b24d4610f4c47bf427ecc3c258c3b096c0eda4df 100644 |
--- a/ui/views/window/non_client_view.h |
+++ b/ui/views/window/non_client_view.h |
@@ -68,6 +68,10 @@ class VIEWS_EXPORT NonClientFrameView : public View { |
virtual void UpdateWindowIcon() = 0; |
virtual void UpdateWindowTitle() = 0; |
+ // Can be overridden on platforms that support docked windows to return true |
+ // if a top-level window is docked. |
+ virtual bool IsDocked() const { return false; } |
+ |
// Overridden from View: |
virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; |
virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
@@ -207,6 +211,10 @@ class VIEWS_EXPORT NonClientView : public View { |
// Set the accessible name of this view. |
void SetAccessibleName(const string16& name); |
+ // Returns true if the frame view is docked (on platforms that support docked |
+ // windows). |
+ bool IsFrameViewDocked() const; |
+ |
// NonClientView, View overrides: |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
virtual gfx::Size GetMinimumSize() OVERRIDE; |