| Index: ui/views/controls/native/native_view_host_win.h
|
| diff --git a/ui/views/controls/native/native_view_host_win.h b/ui/views/controls/native/native_view_host_win.h
|
| index bf0cc247fef5f0a47eb2c7a7193cb8f1e7f026ac..4d41c23fa60d5f3696c418cb93472edee0ae8285 100644
|
| --- a/ui/views/controls/native/native_view_host_win.h
|
| +++ b/ui/views/controls/native/native_view_host_win.h
|
| @@ -32,6 +32,11 @@ class NativeViewHostWin : public NativeViewHostWrapper {
|
| virtual gfx::NativeViewAccessible GetNativeViewAccessible();
|
|
|
| private:
|
| + // 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();
|
| +
|
| // Our associated NativeViewHost.
|
| NativeViewHost* host_;
|
|
|
|
|