summaryrefslogtreecommitdiffstats
path: root/views/controls/native/native_view_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/native/native_view_host.h')
-rw-r--r--views/controls/native/native_view_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/native/native_view_host.h b/views/controls/native/native_view_host.h
index 9970901..d6115b2 100644
--- a/views/controls/native/native_view_host.h
+++ b/views/controls/native/native_view_host.h
@@ -81,6 +81,10 @@ class NativeViewHost : public View {
virtual std::string GetClassName() const;
private:
+ // Detach the native view. |destroyed| is true if the native view is
+ // detached because it's being destroyed, or false otherwise.
+ void Detach(bool destroyed);
+
// The attached native view.
gfx::NativeView native_view_;