| 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 1b1457849c2b34113bd25013ae94f9515e9bd8ef..fa46698e72d29f75e21bf6bd87f90f1c56cea3d5 100644
|
| --- a/ui/aura/test/test_window_delegate.h
|
| +++ b/ui/aura/test/test_window_delegate.h
|
| @@ -38,6 +38,9 @@ class TestWindowDelegate : public WindowDelegate {
|
| maximum_size_ = maximum_size;
|
| }
|
|
|
| + // Sets the return value for CanFocus(). Default is true.
|
| + void set_can_focus(bool can_focus) { can_focus_ = can_focus; }
|
| +
|
| // Overridden from WindowDelegate:
|
| virtual gfx::Size GetMinimumSize() const OVERRIDE;
|
| virtual gfx::Size GetMaximumSize() const OVERRIDE;
|
| @@ -64,6 +67,7 @@ class TestWindowDelegate : public WindowDelegate {
|
| bool delete_on_destroyed_;
|
| gfx::Size minimum_size_;
|
| gfx::Size maximum_size_;
|
| + bool can_focus_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
|
| };
|
|
|