| 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/caca/caca_window.h" | 5 #include "ui/ozone/platform/caca/caca_window.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/debug/trace_event.h" | |
| 9 #include "base/logging.h" | 8 #include "base/logging.h" |
| 10 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/trace_event/trace_event.h" |
| 11 #include "ui/events/ozone/events_ozone.h" | 11 #include "ui/events/ozone/events_ozone.h" |
| 12 #include "ui/events/platform/platform_event_source.h" | 12 #include "ui/events/platform/platform_event_source.h" |
| 13 #include "ui/ozone/platform/caca/caca_event_source.h" | 13 #include "ui/ozone/platform/caca/caca_event_source.h" |
| 14 #include "ui/ozone/platform/caca/caca_window_manager.h" | 14 #include "ui/ozone/platform/caca/caca_window_manager.h" |
| 15 #include "ui/platform_window/platform_window_delegate.h" | 15 #include "ui/platform_window/platform_window_delegate.h" |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 bool CacaWindow::CanDispatchEvent(const PlatformEvent& event) { return true; } | 137 bool CacaWindow::CanDispatchEvent(const PlatformEvent& event) { return true; } |
| 138 | 138 |
| 139 uint32_t CacaWindow::DispatchEvent(const PlatformEvent& ne) { | 139 uint32_t CacaWindow::DispatchEvent(const PlatformEvent& ne) { |
| 140 // We don't dispatch events via PlatformEventSource. | 140 // We don't dispatch events via PlatformEventSource. |
| 141 NOTREACHED(); | 141 NOTREACHED(); |
| 142 return ui::POST_DISPATCH_STOP_PROPAGATION; | 142 return ui::POST_DISPATCH_STOP_PROPAGATION; |
| 143 } | 143 } |
| 144 | 144 |
| 145 } // namespace ui | 145 } // namespace ui |
| OLD | NEW |