| 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 "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "services/ui/public/cpp/input_event_handler.h" | 12 #include "services/ui/public/cpp/input_event_handler.h" |
| 13 #include "services/ui/public/cpp/window.h" | 13 #include "services/ui/public/cpp/window.h" |
| 14 #include "services/ui/public/cpp/window_tree_client.h" | 14 #include "services/ui/public/cpp/window_tree_client.h" |
| 15 #include "services/ui/public/cpp/window_tree_client_delegate.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 ui { |
| 19 struct DidOverscrollParams; |
| 20 } |
| 21 |
| 18 namespace content { | 22 namespace content { |
| 19 | 23 |
| 20 class InputHandlerManager; | 24 class InputHandlerManager; |
| 21 | 25 |
| 22 // CompositorMusConnection manages the connection to the Mandoline UI Service | 26 // CompositorMusConnection manages the connection to the Mandoline UI Service |
| 23 // (Mus) on the compositor thread. For operations that need to happen on the | 27 // (Mus) on the compositor thread. For operations that need to happen on the |
| 24 // main thread, CompositorMusConnection deals with passing information across | 28 // main thread, CompositorMusConnection deals with passing information across |
| 25 // threads. CompositorMusConnection is constructed on the main thread. By | 29 // threads. CompositorMusConnection is constructed on the main thread. By |
| 26 // default all other methods are assumed to run on the compositor thread unless | 30 // default all other methods are assumed to run on the compositor thread unless |
| 27 // explicited suffixed with OnMainThread. | 31 // explicited suffixed with OnMainThread. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 88 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
| 85 InputHandlerManager* const input_handler_manager_; | 89 InputHandlerManager* const input_handler_manager_; |
| 86 std::unique_ptr<ui::WindowSurfaceBinding> window_surface_binding_; | 90 std::unique_ptr<ui::WindowSurfaceBinding> window_surface_binding_; |
| 87 | 91 |
| 88 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); | 92 DISALLOW_COPY_AND_ASSIGN(CompositorMusConnection); |
| 89 }; | 93 }; |
| 90 | 94 |
| 91 } // namespace content | 95 } // namespace content |
| 92 | 96 |
| 93 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ | 97 #endif // CONTENT_RENDERER_MUS_COMPOSITOR_MUS_CONNECTION_H_ |
| OLD | NEW |