| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ozone/platform/test/test_window.h" | 5 #include "ui/ozone/platform/test/test_window.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 void TestWindow::Maximize() { | 68 void TestWindow::Maximize() { |
| 69 } | 69 } |
| 70 | 70 |
| 71 void TestWindow::Minimize() { | 71 void TestWindow::Minimize() { |
| 72 } | 72 } |
| 73 | 73 |
| 74 void TestWindow::Restore() { | 74 void TestWindow::Restore() { |
| 75 } | 75 } |
| 76 | 76 |
| 77 void TestWindow::SetCursor(PlatformCursor cursor) { |
| 78 } |
| 79 |
| 80 void TestWindow::MoveCursorTo(const gfx::Point& location) { |
| 81 } |
| 82 |
| 77 bool TestWindow::CanDispatchEvent(const ui::PlatformEvent& ne) { | 83 bool TestWindow::CanDispatchEvent(const ui::PlatformEvent& ne) { |
| 78 return true; | 84 return true; |
| 79 } | 85 } |
| 80 | 86 |
| 81 uint32_t TestWindow::DispatchEvent(const ui::PlatformEvent& ne) { | 87 uint32_t TestWindow::DispatchEvent(const ui::PlatformEvent& ne) { |
| 82 ui::Event* event = static_cast<ui::Event*>(ne); | 88 ui::Event* event = static_cast<ui::Event*>(ne); |
| 83 delegate_->DispatchEvent(event); | 89 delegate_->DispatchEvent(event); |
| 84 return ui::POST_DISPATCH_STOP_PROPAGATION; | 90 return ui::POST_DISPATCH_STOP_PROPAGATION; |
| 85 } | 91 } |
| 86 | 92 |
| 87 } // namespace ui | 93 } // namespace ui |
| OLD | NEW |