diff options
Diffstat (limited to 'views/widget/widget.h')
-rw-r--r-- | views/widget/widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/widget/widget.h b/views/widget/widget.h index fa8111e..a3959b4 100644 --- a/views/widget/widget.h +++ b/views/widget/widget.h @@ -193,6 +193,10 @@ class Widget { // Forwarded from the RootView so that the widget can do any cleanup. virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child) = 0; + + // Returns true if the native view |native_view| is contained in the + // views::View hierarchy rooted at this widget. + virtual bool ContainsNativeView(gfx::NativeView native_view) = 0; }; } // namespace views |