| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/views/mus/native_widget_mus.h" | 5 #include "ui/views/mus/native_widget_mus.h" |
| 6 | 6 |
| 7 #include "base/thread_task_runner_handle.h" | 7 #include "base/thread_task_runner_handle.h" |
| 8 #include "components/mus/public/cpp/property_type_converters.h" | 8 #include "components/mus/public/cpp/property_type_converters.h" |
| 9 #include "components/mus/public/cpp/window.h" | 9 #include "components/mus/public/cpp/window.h" |
| 10 #include "components/mus/public/cpp/window_property.h" | 10 #include "components/mus/public/cpp/window_property.h" |
| 11 #include "mojo/converters/geometry/geometry_type_converters.h" | 11 #include "mojo/converters/geometry/geometry_type_converters.h" |
| 12 #include "ui/aura/client/default_capture_client.h" | 12 #include "ui/aura/client/default_capture_client.h" |
| 13 #include "ui/aura/client/window_tree_client.h" | 13 #include "ui/aura/client/window_tree_client.h" |
| 14 #include "ui/aura/env.h" | 14 #include "ui/aura/env.h" |
| 15 #include "ui/aura/layout_manager.h" | 15 #include "ui/aura/layout_manager.h" |
| 16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
| 17 #include "ui/base/hit_test.h" | 17 #include "ui/base/hit_test.h" |
| 18 #include "ui/compositor/clip_transform_recorder.h" | |
| 19 #include "ui/compositor/paint_recorder.h" | |
| 20 #include "ui/gfx/canvas.h" | 18 #include "ui/gfx/canvas.h" |
| 21 #include "ui/native_theme/native_theme_aura.h" | 19 #include "ui/native_theme/native_theme_aura.h" |
| 22 #include "ui/views/mus/platform_window_mus.h" | 20 #include "ui/views/mus/platform_window_mus.h" |
| 23 #include "ui/views/mus/surface_context_factory.h" | 21 #include "ui/views/mus/surface_context_factory.h" |
| 24 #include "ui/views/mus/window_manager_client_area_insets.h" | 22 #include "ui/views/mus/window_manager_client_area_insets.h" |
| 25 #include "ui/views/mus/window_tree_host_mus.h" | 23 #include "ui/views/mus/window_tree_host_mus.h" |
| 26 #include "ui/views/widget/widget_delegate.h" | 24 #include "ui/views/widget/widget_delegate.h" |
| 27 #include "ui/views/window/custom_frame_view.h" | 25 #include "ui/views/window/custom_frame_view.h" |
| 28 #include "ui/wm/core/base_focus_rules.h" | 26 #include "ui/wm/core/base_focus_rules.h" |
| 29 #include "ui/wm/core/capture_controller.h" | 27 #include "ui/wm/core/capture_controller.h" |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 } else { | 777 } else { |
| 780 native_widget_delegate_->OnScrollEvent(event); | 778 native_widget_delegate_->OnScrollEvent(event); |
| 781 } | 779 } |
| 782 } | 780 } |
| 783 | 781 |
| 784 void NativeWidgetMus::OnGestureEvent(ui::GestureEvent* event) { | 782 void NativeWidgetMus::OnGestureEvent(ui::GestureEvent* event) { |
| 785 native_widget_delegate_->OnGestureEvent(event); | 783 native_widget_delegate_->OnGestureEvent(event); |
| 786 } | 784 } |
| 787 | 785 |
| 788 } // namespace views | 786 } // namespace views |
| OLD | NEW |