| Index: ui/aura/test/test_window_delegate.h
|
| diff --git a/ui/aura/test/test_window_delegate.h b/ui/aura/test/test_window_delegate.h
|
| index 783402b501377b7f05cfb18305c1c6387317f3d0..8ec4a4476bcef6e4f6e5c822662a5a027d5dafee 100644
|
| --- a/ui/aura/test/test_window_delegate.h
|
| +++ b/ui/aura/test/test_window_delegate.h
|
| @@ -19,6 +19,8 @@ class TestWindowDelegate : public WindowDelegate {
|
| TestWindowDelegate();
|
| virtual ~TestWindowDelegate();
|
|
|
| + void set_accept_events(bool accept_events) { accept_events_ = accept_events; }
|
| +
|
| // Overridden from WindowDelegate:
|
| virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
|
| const gfx::Rect& new_bounds);
|
| @@ -30,6 +32,7 @@ class TestWindowDelegate : public WindowDelegate {
|
| virtual bool OnMouseEvent(MouseEvent* event) OVERRIDE;
|
| virtual ui::TouchStatus OnTouchEvent(TouchEvent* event) OVERRIDE;
|
| virtual bool ShouldActivate(Event* event) OVERRIDE;
|
| + virtual bool ShouldAcceptEvents() OVERRIDE;
|
| virtual void OnActivated() OVERRIDE;
|
| virtual void OnLostActive() OVERRIDE;
|
| virtual void OnCaptureLost() OVERRIDE;
|
| @@ -39,6 +42,8 @@ class TestWindowDelegate : public WindowDelegate {
|
| virtual void OnWindowVisibilityChanged(bool visible) OVERRIDE;
|
|
|
| private:
|
| + bool accept_events_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
|
| };
|
|
|
|
|