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_RENDER_WIDGET_MUS_CONNECTION_H_ | 5 #ifndef CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ | 6 #define CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/threading/thread_checker.h" | 9 #include "base/threading/thread_checker.h" |
10 #include "cc/output/output_surface.h" | 10 #include "cc/output/output_surface.h" |
11 #include "components/mus/public/cpp/window_surface.h" | |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 #include "content/renderer/input/render_widget_input_handler_delegate.h" | 12 #include "content/renderer/input/render_widget_input_handler_delegate.h" |
14 #include "content/renderer/mus/compositor_mus_connection.h" | 13 #include "content/renderer/mus/compositor_mus_connection.h" |
| 14 #include "services/ui/public/cpp/window_surface.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 class InputHandlerManager; | 18 class InputHandlerManager; |
19 | 19 |
20 // Use on main thread. | 20 // Use on main thread. |
21 class CONTENT_EXPORT RenderWidgetMusConnection | 21 class CONTENT_EXPORT RenderWidgetMusConnection |
22 : public RenderWidgetInputHandlerDelegate { | 22 : public RenderWidgetInputHandlerDelegate { |
23 public: | 23 public: |
24 // Bind to a WindowTreeClient request. | 24 // Bind to a WindowTreeClient request. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 // Used to verify single threaded access. | 72 // Used to verify single threaded access. |
73 base::ThreadChecker thread_checker_; | 73 base::ThreadChecker thread_checker_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); | 75 DISALLOW_COPY_AND_ASSIGN(RenderWidgetMusConnection); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace content | 78 } // namespace content |
79 | 79 |
80 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ | 80 #endif // CONTENT_RENDERER_MUS_RENDER_WIDGET_MUS_CONNECTION_H_ |
OLD | NEW |