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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 12 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
13 #include "content/public/browser/render_process_host_observer.h" | 13 #include "content/public/browser/render_process_host_observer.h" |
14 #include "services/ui/public/cpp/input_event_handler.h" | 14 #include "services/ui/public/cpp/input_event_handler.h" |
15 #include "services/ui/public/cpp/scoped_window_ptr.h" | 15 #include "services/ui/public/cpp/scoped_window_ptr.h" |
16 #include "services/ui/public/cpp/window.h" | 16 #include "services/ui/public/cpp/window.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 class RenderWidgetHost; | 20 class RenderWidgetHost; |
21 class RenderWidgetHostImpl; | 21 class RenderWidgetHostImpl; |
22 struct NativeWebKeyboardEvent; | |
23 struct TextInputState; | 22 struct TextInputState; |
24 | 23 |
25 // See comments in render_widget_host_view.h about this class and its members. | 24 // See comments in render_widget_host_view.h about this class and its members. |
26 // This version of RenderWidgetHostView is for builds of Chrome that run through | 25 // This version of RenderWidgetHostView is for builds of Chrome that run through |
27 // the standalone service runner and use the Mandoline UI Service (Mus). Mus is | 26 // the standalone service runner and use the Mandoline UI Service (Mus). Mus is |
28 // responsible for windowing, compositing, and input event dispatch. The purpose | 27 // responsible for windowing, compositing, and input event dispatch. The purpose |
29 // of RenderWidgetHostViewMus is to manage the ui::Window owned by the content | 28 // of RenderWidgetHostViewMus is to manage the ui::Window owned by the content |
30 // embedder. The browser is the owner of the ui::Window, controlling properties | 29 // embedder. The browser is the owner of the ui::Window, controlling properties |
31 // such as visibility, and bounds. Some aspects such as input, focus, and cursor | 30 // such as visibility, and bounds. Some aspects such as input, focus, and cursor |
32 // are managed by Mus directly. Input event routing will be plumbed directly to | 31 // are managed by Mus directly. Input event routing will be plumbed directly to |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 aura::Window* aura_window_; | 128 aura::Window* aura_window_; |
130 | 129 |
131 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; | 130 std::unique_ptr<ui::ScopedWindowPtr> mus_window_; |
132 | 131 |
133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); | 132 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMus); |
134 }; | 133 }; |
135 | 134 |
136 } // namespace content | 135 } // namespace content |
137 | 136 |
138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ | 137 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MUS_H_ |
OLD | NEW |