| 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 #ifndef CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 5 #ifndef CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| 6 #define CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 6 #define CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/mus/public/cpp/input_event_handler.h" | |
| 12 #include "components/mus/public/cpp/window.h" | |
| 13 #include "components/mus/public/cpp/window_tree_client.h" | |
| 14 #include "components/mus/public/cpp/window_tree_client_delegate.h" | |
| 15 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "services/ui/public/cpp/input_event_handler.h" |
| 13 #include "services/ui/public/cpp/window.h" |
| 14 #include "services/ui/public/cpp/window_tree_client.h" |
| 15 #include "services/ui/public/cpp/window_tree_client_delegate.h" |
| 16 #include "third_party/WebKit/public/web/WebInputEvent.h" | 16 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 | 19 |
| 20 class InputHandlerManager; | 20 class InputHandlerManager; |
| 21 | 21 |
| 22 // CompositorMusConnection manages the connection to the Mandoline UI Service | 22 // CompositorMusConnection manages the connection to the Mandoline UI Service |
| 23 // (Mus) on the compositor thread. For operations that need to happen on the | 23 // (Mus) on the compositor thread. For operations that need to happen on the |
| 24 // main thread, CompositorMusConnection deals with passing information across | 24 // main thread, CompositorMusConnection deals with passing information across |
| 25 // threads. CompositorMusConnection is constructed on the main thread. By | 25 // threads. CompositorMusConnection is constructed on the main thread. By |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 83 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
| 84 InputHandlerManager* const input_handler_manager_; | 84 InputHandlerManager* const input_handler_manager_; |
| 85 std::unique_ptr<mus::WindowSurfaceBinding> window_surface_binding_; | 85 std::unique_ptr<mus::WindowSurfaceBinding> window_surface_binding_; |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); | 87 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace content | 90 } // namespace content |
| 91 | 91 |
| 92 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 92 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| OLD | NEW |