| 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 77181426418d18963c2f477782299695fd98b26b..3400662895ec6d7fc976d2deb9207e61ad763ef4 100644
|
| --- a/ui/views/window/non_client_view.h
|
| +++ b/ui/views/window/non_client_view.h
|
| @@ -6,6 +6,7 @@
|
| #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
|
|
|
| #include "ui/views/view.h"
|
| +#include "ui/views/view_targeter_delegate.h"
|
|
|
| namespace gfx {
|
| class Path;
|
| @@ -22,7 +23,8 @@ class ClientView;
|
| // responds to events within the frame portions of the non-client area of a
|
| // window. This view does _not_ contain the ClientView, but rather is a sibling
|
| // of it.
|
| -class VIEWS_EXPORT NonClientFrameView : public View {
|
| +class VIEWS_EXPORT NonClientFrameView : public View,
|
| + public ViewTargeterDelegate {
|
| public:
|
| // Internal class name.
|
| static const char kViewClassName[];
|
| @@ -78,11 +80,14 @@ class VIEWS_EXPORT NonClientFrameView : public View {
|
| virtual void UpdateWindowIcon() = 0;
|
| virtual void UpdateWindowTitle() = 0;
|
|
|
| - // Overridden from View:
|
| - virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
|
| + // View:
|
| virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE;
|
| virtual const char* GetClassName() const OVERRIDE;
|
|
|
| + // ViewTargeterDelegate:
|
| + virtual bool DoesIntersectRect(const View* target,
|
| + const gfx::Rect& rect) const OVERRIDE;
|
| +
|
| protected:
|
| virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE;
|
|
|
|
|