| Index: ui/views/controls/native/native_view_host.h
|
| diff --git a/ui/views/controls/native/native_view_host.h b/ui/views/controls/native/native_view_host.h
|
| index 4aa3d85854029625bce51b66065eb2adba19a629..d0adf6cd83cec51fe8c87bc0b68f597253241c2b 100644
|
| --- a/ui/views/controls/native/native_view_host.h
|
| +++ b/ui/views/controls/native/native_view_host.h
|
| @@ -95,6 +95,11 @@ class VIEWS_EXPORT NativeViewHost : public View {
|
| // detached because it's being destroyed, or false otherwise.
|
| void Detach(bool destroyed);
|
|
|
| + // Invokes ViewRemoved() on the FocusManager for all the child Widgets of our
|
| + // NativeView. This is used when detaching to ensure the FocusManager doesn't
|
| + // have a reference to a View that is no longer reachable.
|
| + void ClearFocus();
|
| +
|
| // The attached native view. There is exactly one native_view_ attached.
|
| gfx::NativeView native_view_;
|
|
|
|
|