| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ash/autoclick/mus/autoclick_application.h" | 5 #include "ash/autoclick/mus/autoclick_application.h" |
| 6 | 6 |
| 7 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "services/service_manager/public/cpp/connector.h" | 11 #include "services/service_manager/public/cpp/connector.h" |
| 12 #include "services/service_manager/public/cpp/service_context.h" | 12 #include "services/service_manager/public/cpp/service_context.h" |
| 13 #include "services/ui/public/cpp/property_type_converters.h" | 13 #include "services/ui/public/cpp/property_type_converters.h" |
| 14 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" | 14 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" |
| 15 #include "ui/aura/mus/property_converter.h" | 15 #include "ui/aura/mus/property_converter.h" |
| 16 #include "ui/base/ui_base_types.h" | 16 #include "ui/base/ui_base_types.h" |
| 17 #include "ui/views/mus/aura_init.h" | 17 #include "ui/views/mus/aura_init.h" |
| 18 #include "ui/views/mus/mus_client.h" | 18 #include "ui/views/mus/mus_client.h" |
| 19 #include "ui/views/mus/pointer_watcher_event_router2.h" | 19 #include "ui/views/mus/pointer_watcher_event_router.h" |
| 20 #include "ui/views/pointer_watcher.h" | 20 #include "ui/views/pointer_watcher.h" |
| 21 #include "ui/views/widget/widget.h" | 21 #include "ui/views/widget/widget.h" |
| 22 #include "ui/views/widget/widget_delegate.h" | 22 #include "ui/views/widget/widget_delegate.h" |
| 23 | 23 |
| 24 namespace ash { | 24 namespace ash { |
| 25 namespace autoclick { | 25 namespace autoclick { |
| 26 | 26 |
| 27 // The default wait time between last mouse movement and sending | 27 // The default wait time between last mouse movement and sending |
| 28 // the autoclick. | 28 // the autoclick. |
| 29 const int kDefaultAutoclickDelayMs = 1000; | 29 const int kDefaultAutoclickDelayMs = 1000; |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // TODO(riajiang): Currently not working. Need to know how to generate events | 155 // TODO(riajiang): Currently not working. Need to know how to generate events |
| 156 // in mus world (crbug.com/628665). | 156 // in mus world (crbug.com/628665). |
| 157 } | 157 } |
| 158 | 158 |
| 159 void AutoclickApplication::OnAutoclickCanceled() { | 159 void AutoclickApplication::OnAutoclickCanceled() { |
| 160 // Not used in mus. | 160 // Not used in mus. |
| 161 } | 161 } |
| 162 | 162 |
| 163 } // namespace autoclick | 163 } // namespace autoclick |
| 164 } // namespace ash | 164 } // namespace ash |
| OLD | NEW |