| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/aura/test/test_window_delegate.h" | 5 #include "ui/aura/test/test_window_delegate.h" |
| 6 | 6 |
| 7 #include "ui/aura/hit_test.h" | 7 #include "ui/aura/hit_test.h" |
| 8 | 8 |
| 9 namespace aura { | 9 namespace aura { |
| 10 namespace test { | 10 namespace test { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 | 24 |
| 25 void TestWindowDelegate::OnBlur() { | 25 void TestWindowDelegate::OnBlur() { |
| 26 } | 26 } |
| 27 | 27 |
| 28 bool TestWindowDelegate::OnKeyEvent(KeyEvent* event) { | 28 bool TestWindowDelegate::OnKeyEvent(KeyEvent* event) { |
| 29 return false; | 29 return false; |
| 30 } | 30 } |
| 31 | 31 |
| 32 gfx::NativeCursor TestWindowDelegate::GetCursor(const gfx::Point& point) { | 32 gfx::NativeCursor TestWindowDelegate::GetCursor(const gfx::Point& point) { |
| 33 return NULL; | 33 return gfx::kNullCursor; |
| 34 } | 34 } |
| 35 | 35 |
| 36 int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const { | 36 int TestWindowDelegate::GetNonClientComponent(const gfx::Point& point) const { |
| 37 return HTCLIENT; | 37 return HTCLIENT; |
| 38 } | 38 } |
| 39 | 39 |
| 40 bool TestWindowDelegate::OnMouseEvent(MouseEvent* event) { | 40 bool TestWindowDelegate::OnMouseEvent(MouseEvent* event) { |
| 41 return false; | 41 return false; |
| 42 } | 42 } |
| 43 | 43 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 void TestWindowDelegate::OnWindowDestroyed() { | 63 void TestWindowDelegate::OnWindowDestroyed() { |
| 64 } | 64 } |
| 65 | 65 |
| 66 void TestWindowDelegate::OnWindowVisibilityChanged(bool visible) { | 66 void TestWindowDelegate::OnWindowVisibilityChanged(bool visible) { |
| 67 } | 67 } |
| 68 | 68 |
| 69 } // namespace test | 69 } // namespace test |
| 70 } // namespace aura | 70 } // namespace aura |
| OLD | NEW |