| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 #include "ui/aura/event.h" | 8 #include "ui/aura/event.h" |
| 9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
| 10 #include "ui/base/hit_test.h" | 10 #include "ui/base/hit_test.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void TestWindowDelegate::OnDeviceScaleFactorChanged( | 81 void TestWindowDelegate::OnDeviceScaleFactorChanged( |
| 82 float device_scale_factor) { | 82 float device_scale_factor) { |
| 83 } | 83 } |
| 84 | 84 |
| 85 void TestWindowDelegate::OnWindowDestroying() { | 85 void TestWindowDelegate::OnWindowDestroying() { |
| 86 } | 86 } |
| 87 | 87 |
| 88 void TestWindowDelegate::OnWindowDestroyed() { | 88 void TestWindowDelegate::OnWindowDestroyed() { |
| 89 } | 89 } |
| 90 | 90 |
| 91 void TestWindowDelegate::OnWindowVisibilityChanged(bool visible) { | 91 void TestWindowDelegate::OnWindowTargetVisibilityChanged(bool visible) { |
| 92 } | 92 } |
| 93 | 93 |
| 94 bool TestWindowDelegate::HasHitTestMask() const { | 94 bool TestWindowDelegate::HasHitTestMask() const { |
| 95 return false; | 95 return false; |
| 96 } | 96 } |
| 97 | 97 |
| 98 void TestWindowDelegate::GetHitTestMask(gfx::Path* mask) const { | 98 void TestWindowDelegate::GetHitTestMask(gfx::Path* mask) const { |
| 99 } | 99 } |
| 100 | 100 |
| 101 //////////////////////////////////////////////////////////////////////////////// | 101 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 std::string result = StringPrintf("%d %d", | 208 std::string result = StringPrintf("%d %d", |
| 209 key_press_count_, | 209 key_press_count_, |
| 210 key_release_count_); | 210 key_release_count_); |
| 211 key_press_count_ = 0; | 211 key_press_count_ = 0; |
| 212 key_release_count_ = 0; | 212 key_release_count_ = 0; |
| 213 return result; | 213 return result; |
| 214 } | 214 } |
| 215 | 215 |
| 216 } // namespace test | 216 } // namespace test |
| 217 } // namespace aura | 217 } // namespace aura |
| OLD | NEW |