| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "components/mus/ws/platform_display.h" | 5 #include "components/mus/ws/frame_generator.h" |
| 6 | 6 |
| 7 #include "base/numerics/safe_conversions.h" | |
| 8 #include "build/build_config.h" | |
| 9 #include "cc/ipc/quads.mojom.h" | |
| 10 #include "cc/output/compositor_frame.h" | 7 #include "cc/output/compositor_frame.h" |
| 11 #include "cc/output/copy_output_request.h" | |
| 12 #include "cc/output/delegated_frame_data.h" | |
| 13 #include "cc/quads/render_pass.h" | 8 #include "cc/quads/render_pass.h" |
| 14 #include "cc/quads/shared_quad_state.h" | 9 #include "cc/quads/shared_quad_state.h" |
| 15 #include "cc/quads/surface_draw_quad.h" | 10 #include "cc/quads/surface_draw_quad.h" |
| 16 #include "components/mus/gles2/gpu_state.h" | |
| 17 #include "components/mus/public/interfaces/gpu.mojom.h" | |
| 18 #include "components/mus/surfaces/display_compositor.h" | 11 #include "components/mus/surfaces/display_compositor.h" |
| 19 #include "components/mus/surfaces/surfaces_state.h" | 12 #include "components/mus/ws/frame_generator_delegate.h" |
| 20 #include "components/mus/ws/platform_display_factory.h" | |
| 21 #include "components/mus/ws/server_window.h" | 13 #include "components/mus/ws/server_window.h" |
| 22 #include "components/mus/ws/server_window_surface.h" | 14 #include "components/mus/ws/server_window_surface.h" |
| 23 #include "components/mus/ws/server_window_surface_manager.h" | 15 #include "components/mus/ws/server_window_surface_manager.h" |
| 24 #include "components/mus/ws/window_coordinate_conversions.h" | |
| 25 #include "services/shell/public/cpp/connection.h" | |
| 26 #include "services/shell/public/cpp/connector.h" | |
| 27 #include "third_party/skia/include/core/SkXfermode.h" | |
| 28 #include "ui/base/cursor/cursor_loader.h" | |
| 29 #include "ui/display/display.h" | |
| 30 #include "ui/events/event.h" | |
| 31 #include "ui/events/event_utils.h" | |
| 32 #include "ui/platform_window/platform_ime_controller.h" | |
| 33 #include "ui/platform_window/platform_window.h" | |
| 34 | |
| 35 #if defined(OS_WIN) | |
| 36 #include "ui/platform_window/win/win_window.h" | |
| 37 #elif defined(USE_X11) | |
| 38 #include "ui/platform_window/x11/x11_window.h" | |
| 39 #elif defined(OS_ANDROID) | |
| 40 #include "ui/platform_window/android/platform_window_android.h" | |
| 41 #elif defined(USE_OZONE) | |
| 42 #include "ui/ozone/public/ozone_platform.h" | |
| 43 #endif | |
| 44 | 16 |
| 45 namespace mus { | 17 namespace mus { |
| 18 namespace ws { |
| 46 | 19 |
| 47 namespace ws { | 20 FrameGenerator::FrameGenerator(FrameGeneratorDelegate* delegate, |
| 48 namespace { | 21 scoped_refptr<GpuState> gpu_state, |
| 22 scoped_refptr<SurfacesState> surfaces_state) |
| 23 : delegate_(delegate), |
| 24 gpu_state_(gpu_state), |
| 25 surfaces_state_(surfaces_state), |
| 26 draw_timer_(false, false), |
| 27 weak_factory_(this) {} |
| 49 | 28 |
| 50 // DrawWindowTree recursively visits ServerWindows, creating a SurfaceDrawQuad | 29 FrameGenerator::~FrameGenerator() { |
| 51 // for each that lacks one. | 30 // Invalidate WeakPtrs now to avoid callbacks back into the |
| 52 void DrawWindowTree(cc::RenderPass* pass, | 31 // FrameGenerator during destruction of |display_compositor_|. |
| 53 ServerWindow* window, | 32 weak_factory_.InvalidateWeakPtrs(); |
| 54 const gfx::Vector2d& parent_to_root_origin_offset, | 33 display_compositor_.reset(); |
| 55 float opacity) { | 34 } |
| 35 |
| 36 void FrameGenerator::RequestRedraw(const gfx::Rect& redraw_region) { |
| 37 dirty_rect_.Union(redraw_region); |
| 38 WantToDraw(); |
| 39 } |
| 40 |
| 41 void FrameGenerator::OnAcceleratedWidgetAvailable( |
| 42 gfx::AcceleratedWidget widget) { |
| 43 if (widget != gfx::kNullAcceleratedWidget) { |
| 44 display_compositor_.reset( |
| 45 new DisplayCompositor(base::ThreadTaskRunnerHandle::Get(), widget, |
| 46 gpu_state_, surfaces_state_)); |
| 47 } |
| 48 } |
| 49 |
| 50 void FrameGenerator::RequestCopyOfOutput( |
| 51 std::unique_ptr<cc::CopyOutputRequest> output_request) { |
| 52 if (display_compositor_) |
| 53 display_compositor_->RequestCopyOfOutput(std::move(output_request)); |
| 54 } |
| 55 |
| 56 void FrameGenerator::WantToDraw() { |
| 57 if (draw_timer_.IsRunning() || frame_pending_) |
| 58 return; |
| 59 |
| 60 // TODO(rjkroege): Use vblank to kick off Draw. |
| 61 draw_timer_.Start( |
| 62 FROM_HERE, base::TimeDelta(), |
| 63 base::Bind(&FrameGenerator::Draw, weak_factory_.GetWeakPtr())); |
| 64 } |
| 65 |
| 66 void FrameGenerator::Draw() { |
| 67 if (!delegate_->GetRootWindow()->visible()) |
| 68 return; |
| 69 |
| 70 // TODO(fsamuel): We should add a trace for generating a top level frame. |
| 71 std::unique_ptr<cc::CompositorFrame> frame(GenerateCompositorFrame()); |
| 72 frame_pending_ = true; |
| 73 if (display_compositor_) { |
| 74 display_compositor_->SubmitCompositorFrame( |
| 75 std::move(frame), |
| 76 base::Bind(&FrameGenerator::DidDraw, weak_factory_.GetWeakPtr())); |
| 77 } |
| 78 dirty_rect_ = gfx::Rect(); |
| 79 } |
| 80 |
| 81 void FrameGenerator::DidDraw(cc::SurfaceDrawStatus status) { |
| 82 frame_pending_ = false; |
| 83 delegate_->OnCompositorFrameDrawn(); |
| 84 if (!dirty_rect_.IsEmpty()) |
| 85 WantToDraw(); |
| 86 } |
| 87 |
| 88 std::unique_ptr<cc::CompositorFrame> FrameGenerator::GenerateCompositorFrame() { |
| 89 const ViewportMetrics& metrics = delegate_->GetViewportMetrics(); |
| 90 std::unique_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create(); |
| 91 render_pass->damage_rect = dirty_rect_; |
| 92 render_pass->output_rect = gfx::Rect(metrics.size_in_pixels); |
| 93 |
| 94 DrawWindowTree(render_pass.get(), delegate_->GetRootWindow(), gfx::Vector2d(), |
| 95 1.0f); |
| 96 |
| 97 std::unique_ptr<cc::DelegatedFrameData> frame_data( |
| 98 new cc::DelegatedFrameData); |
| 99 frame_data->device_scale_factor = metrics.device_scale_factor; |
| 100 frame_data->render_pass_list.push_back(std::move(render_pass)); |
| 101 |
| 102 std::unique_ptr<cc::CompositorFrame> frame(new cc::CompositorFrame); |
| 103 frame->delegated_frame_data = std::move(frame_data); |
| 104 return frame; |
| 105 } |
| 106 |
| 107 void FrameGenerator::DrawWindowTree( |
| 108 cc::RenderPass* pass, |
| 109 ServerWindow* window, |
| 110 const gfx::Vector2d& parent_to_root_origin_offset, |
| 111 float opacity) { |
| 56 if (!window->visible()) | 112 if (!window->visible()) |
| 57 return; | 113 return; |
| 58 | 114 |
| 59 ServerWindowSurface* default_surface = | 115 ServerWindowSurface* default_surface = |
| 60 window->surface_manager() ? window->surface_manager()->GetDefaultSurface() | 116 window->surface_manager() ? window->surface_manager()->GetDefaultSurface() |
| 61 : nullptr; | 117 : nullptr; |
| 62 | 118 |
| 63 const gfx::Rect absolute_bounds = | 119 const gfx::Rect absolute_bounds = |
| 64 window->bounds() + parent_to_root_origin_offset; | 120 window->bounds() + parent_to_root_origin_offset; |
| 65 std::vector<ServerWindow*> children(window->GetChildren()); | 121 std::vector<ServerWindow*> children(window->GetChildren()); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 0 /* sorting-context_id */); | 173 0 /* sorting-context_id */); |
| 118 | 174 |
| 119 auto quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>(); | 175 auto quad = pass->CreateAndAppendDrawQuad<cc::SurfaceDrawQuad>(); |
| 120 quad->SetAll(sqs, bounds_at_origin /* rect */, | 176 quad->SetAll(sqs, bounds_at_origin /* rect */, |
| 121 gfx::Rect() /* opaque_rect */, | 177 gfx::Rect() /* opaque_rect */, |
| 122 bounds_at_origin /* visible_rect */, true /* needs_blending*/, | 178 bounds_at_origin /* visible_rect */, true /* needs_blending*/, |
| 123 underlay_surface->id()); | 179 underlay_surface->id()); |
| 124 } | 180 } |
| 125 } | 181 } |
| 126 | 182 |
| 127 } // namespace | |
| 128 | |
| 129 // static | |
| 130 PlatformDisplayFactory* PlatformDisplay::factory_ = nullptr; | |
| 131 | |
| 132 // static | |
| 133 PlatformDisplay* PlatformDisplay::Create( | |
| 134 const PlatformDisplayInitParams& init_params) { | |
| 135 if (factory_) | |
| 136 return factory_->CreatePlatformDisplay(); | |
| 137 | |
| 138 return new DefaultPlatformDisplay(init_params); | |
| 139 } | |
| 140 | |
| 141 DefaultPlatformDisplay::DefaultPlatformDisplay( | |
| 142 const PlatformDisplayInitParams& init_params) | |
| 143 : display_id_(init_params.display_id), | |
| 144 gpu_state_(init_params.gpu_state), | |
| 145 surfaces_state_(init_params.surfaces_state), | |
| 146 delegate_(nullptr), | |
| 147 draw_timer_(false, false), | |
| 148 frame_pending_(false), | |
| 149 #if !defined(OS_ANDROID) | |
| 150 cursor_loader_(ui::CursorLoader::Create()), | |
| 151 #endif | |
| 152 weak_factory_(this) { | |
| 153 metrics_.size_in_pixels = init_params.display_bounds.size(); | |
| 154 // TODO(rjkroege): Preserve the display_id when Ozone platform can use it. | |
| 155 } | |
| 156 | |
| 157 void DefaultPlatformDisplay::Init(PlatformDisplayDelegate* delegate) { | |
| 158 delegate_ = delegate; | |
| 159 | |
| 160 gfx::Rect bounds(metrics_.size_in_pixels); | |
| 161 #if defined(OS_WIN) | |
| 162 platform_window_.reset(new ui::WinWindow(this, bounds)); | |
| 163 #elif defined(USE_X11) | |
| 164 platform_window_.reset(new ui::X11Window(this)); | |
| 165 #elif defined(OS_ANDROID) | |
| 166 platform_window_.reset(new ui::PlatformWindowAndroid(this)); | |
| 167 #elif defined(USE_OZONE) | |
| 168 platform_window_ = | |
| 169 ui::OzonePlatform::GetInstance()->CreatePlatformWindow(this, bounds); | |
| 170 #else | |
| 171 NOTREACHED() << "Unsupported platform"; | |
| 172 #endif | |
| 173 platform_window_->SetBounds(bounds); | |
| 174 platform_window_->Show(); | |
| 175 } | |
| 176 | |
| 177 DefaultPlatformDisplay::~DefaultPlatformDisplay() { | |
| 178 // Don't notify the delegate from the destructor. | |
| 179 delegate_ = nullptr; | |
| 180 | |
| 181 // Invalidate WeakPtrs now to avoid callbacks back into the | |
| 182 // DefaultPlatformDisplay during destruction of |display_compositor_|. | |
| 183 weak_factory_.InvalidateWeakPtrs(); | |
| 184 display_compositor_.reset(); | |
| 185 // Destroy the PlatformWindow early on as it may call us back during | |
| 186 // destruction and we want to be in a known state. But destroy the surface | |
| 187 // first because it can still be using the platform window. | |
| 188 platform_window_.reset(); | |
| 189 } | |
| 190 | |
| 191 void DefaultPlatformDisplay::SchedulePaint(const ServerWindow* window, | |
| 192 const gfx::Rect& bounds) { | |
| 193 DCHECK(window); | |
| 194 if (!window->IsDrawn()) | |
| 195 return; | |
| 196 const gfx::Rect root_relative_rect = | |
| 197 ConvertRectBetweenWindows(window, delegate_->GetRootWindow(), bounds); | |
| 198 if (root_relative_rect.IsEmpty()) | |
| 199 return; | |
| 200 dirty_rect_.Union(root_relative_rect); | |
| 201 WantToDraw(); | |
| 202 } | |
| 203 | |
| 204 void DefaultPlatformDisplay::SetViewportSize(const gfx::Size& size) { | |
| 205 platform_window_->SetBounds(gfx::Rect(size)); | |
| 206 } | |
| 207 | |
| 208 void DefaultPlatformDisplay::SetTitle(const base::string16& title) { | |
| 209 platform_window_->SetTitle(title); | |
| 210 } | |
| 211 | |
| 212 void DefaultPlatformDisplay::SetCapture() { | |
| 213 platform_window_->SetCapture(); | |
| 214 } | |
| 215 | |
| 216 void DefaultPlatformDisplay::ReleaseCapture() { | |
| 217 platform_window_->ReleaseCapture(); | |
| 218 } | |
| 219 | |
| 220 void DefaultPlatformDisplay::SetCursorById(int32_t cursor_id) { | |
| 221 #if !defined(OS_ANDROID) | |
| 222 // TODO(erg): This still isn't sufficient, and will only use native cursors | |
| 223 // that chrome would use, not custom image cursors. For that, we should | |
| 224 // delegate to the window manager to load images from resource packs. | |
| 225 // | |
| 226 // We probably also need to deal with different DPIs. | |
| 227 ui::Cursor cursor(cursor_id); | |
| 228 cursor_loader_->SetPlatformCursor(&cursor); | |
| 229 platform_window_->SetCursor(cursor.platform()); | |
| 230 #endif | |
| 231 } | |
| 232 | |
| 233 float DefaultPlatformDisplay::GetDeviceScaleFactor() { | |
| 234 return metrics_.device_scale_factor; | |
| 235 } | |
| 236 | |
| 237 mojom::Rotation DefaultPlatformDisplay::GetRotation() { | |
| 238 // TODO(sky): implement me. | |
| 239 return mojom::Rotation::VALUE_0; | |
| 240 } | |
| 241 | |
| 242 void DefaultPlatformDisplay::UpdateTextInputState( | |
| 243 const ui::TextInputState& state) { | |
| 244 ui::PlatformImeController* ime = platform_window_->GetPlatformImeController(); | |
| 245 if (ime) | |
| 246 ime->UpdateTextInputState(state); | |
| 247 } | |
| 248 | |
| 249 void DefaultPlatformDisplay::SetImeVisibility(bool visible) { | |
| 250 ui::PlatformImeController* ime = platform_window_->GetPlatformImeController(); | |
| 251 if (ime) | |
| 252 ime->SetImeVisibility(visible); | |
| 253 } | |
| 254 | |
| 255 void DefaultPlatformDisplay::Draw() { | |
| 256 if (!delegate_->GetRootWindow()->visible()) | |
| 257 return; | |
| 258 | |
| 259 // TODO(fsamuel): We should add a trace for generating a top level frame. | |
| 260 std::unique_ptr<cc::CompositorFrame> frame(GenerateCompositorFrame()); | |
| 261 frame_pending_ = true; | |
| 262 if (display_compositor_) { | |
| 263 display_compositor_->SubmitCompositorFrame( | |
| 264 std::move(frame), base::Bind(&DefaultPlatformDisplay::DidDraw, | |
| 265 weak_factory_.GetWeakPtr())); | |
| 266 } | |
| 267 dirty_rect_ = gfx::Rect(); | |
| 268 } | |
| 269 | |
| 270 void DefaultPlatformDisplay::DidDraw(cc::SurfaceDrawStatus status) { | |
| 271 frame_pending_ = false; | |
| 272 delegate_->OnCompositorFrameDrawn(); | |
| 273 if (!dirty_rect_.IsEmpty()) | |
| 274 WantToDraw(); | |
| 275 } | |
| 276 | |
| 277 bool DefaultPlatformDisplay::IsFramePending() const { | |
| 278 return frame_pending_; | |
| 279 } | |
| 280 | |
| 281 int64_t DefaultPlatformDisplay::GetDisplayId() const { | |
| 282 return display_id_; | |
| 283 } | |
| 284 | |
| 285 void DefaultPlatformDisplay::WantToDraw() { | |
| 286 if (draw_timer_.IsRunning() || frame_pending_) | |
| 287 return; | |
| 288 | |
| 289 // TODO(rjkroege): Use vblank to kick off Draw. | |
| 290 draw_timer_.Start( | |
| 291 FROM_HERE, base::TimeDelta(), | |
| 292 base::Bind(&DefaultPlatformDisplay::Draw, weak_factory_.GetWeakPtr())); | |
| 293 } | |
| 294 | |
| 295 void DefaultPlatformDisplay::UpdateMetrics(const gfx::Size& size, | |
| 296 float device_scale_factor) { | |
| 297 if (display::Display::HasForceDeviceScaleFactor()) | |
| 298 device_scale_factor = display::Display::GetForcedDeviceScaleFactor(); | |
| 299 if (metrics_.size_in_pixels == size && | |
| 300 metrics_.device_scale_factor == device_scale_factor) | |
| 301 return; | |
| 302 | |
| 303 ViewportMetrics old_metrics = metrics_; | |
| 304 metrics_.size_in_pixels = size; | |
| 305 metrics_.device_scale_factor = device_scale_factor; | |
| 306 delegate_->OnViewportMetricsChanged(old_metrics, metrics_); | |
| 307 } | |
| 308 | |
| 309 std::unique_ptr<cc::CompositorFrame> | |
| 310 DefaultPlatformDisplay::GenerateCompositorFrame() { | |
| 311 std::unique_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create(); | |
| 312 render_pass->damage_rect = dirty_rect_; | |
| 313 render_pass->output_rect = gfx::Rect(metrics_.size_in_pixels); | |
| 314 | |
| 315 DrawWindowTree(render_pass.get(), delegate_->GetRootWindow(), gfx::Vector2d(), | |
| 316 1.0f); | |
| 317 | |
| 318 std::unique_ptr<cc::DelegatedFrameData> frame_data( | |
| 319 new cc::DelegatedFrameData); | |
| 320 frame_data->device_scale_factor = metrics_.device_scale_factor; | |
| 321 frame_data->render_pass_list.push_back(std::move(render_pass)); | |
| 322 | |
| 323 std::unique_ptr<cc::CompositorFrame> frame(new cc::CompositorFrame); | |
| 324 frame->delegated_frame_data = std::move(frame_data); | |
| 325 return frame; | |
| 326 } | |
| 327 | |
| 328 void DefaultPlatformDisplay::OnBoundsChanged(const gfx::Rect& new_bounds) { | |
| 329 UpdateMetrics(new_bounds.size(), metrics_.device_scale_factor); | |
| 330 } | |
| 331 | |
| 332 void DefaultPlatformDisplay::OnDamageRect(const gfx::Rect& damaged_region) { | |
| 333 dirty_rect_.Union(damaged_region); | |
| 334 WantToDraw(); | |
| 335 } | |
| 336 | |
| 337 void DefaultPlatformDisplay::DispatchEvent(ui::Event* event) { | |
| 338 if (event->IsScrollEvent()) { | |
| 339 // TODO(moshayedi): crbug.com/602859. Dispatch scroll events as | |
| 340 // they are once we have proper support for scroll events. | |
| 341 delegate_->OnEvent(ui::MouseWheelEvent(*event->AsScrollEvent())); | |
| 342 } else if (event->IsMouseEvent() && !event->IsMouseWheelEvent()) { | |
| 343 delegate_->OnEvent(ui::PointerEvent(*event->AsMouseEvent())); | |
| 344 } else if (event->IsTouchEvent()) { | |
| 345 delegate_->OnEvent(ui::PointerEvent(*event->AsTouchEvent())); | |
| 346 } else { | |
| 347 delegate_->OnEvent(*event); | |
| 348 } | |
| 349 | |
| 350 #if defined(USE_X11) || defined(USE_OZONE) | |
| 351 // We want to emulate the WM_CHAR generation behaviour of Windows. | |
| 352 // | |
| 353 // On Linux, we've previously inserted characters by having | |
| 354 // InputMethodAuraLinux take all key down events and send a character event | |
| 355 // to the TextInputClient. This causes a mismatch in code that has to be | |
| 356 // shared between Windows and Linux, including blink code. Now that we're | |
| 357 // trying to have one way of doing things, we need to standardize on and | |
| 358 // emulate Windows character events. | |
| 359 // | |
| 360 // This is equivalent to what we're doing in the current Linux port, but | |
| 361 // done once instead of done multiple times in different places. | |
| 362 if (event->type() == ui::ET_KEY_PRESSED) { | |
| 363 ui::KeyEvent* key_press_event = event->AsKeyEvent(); | |
| 364 ui::KeyEvent char_event(key_press_event->GetCharacter(), | |
| 365 key_press_event->key_code(), | |
| 366 key_press_event->flags()); | |
| 367 DCHECK_EQ(key_press_event->GetCharacter(), char_event.GetCharacter()); | |
| 368 DCHECK_EQ(key_press_event->key_code(), char_event.key_code()); | |
| 369 DCHECK_EQ(key_press_event->flags(), char_event.flags()); | |
| 370 delegate_->OnEvent(char_event); | |
| 371 } | |
| 372 #endif | |
| 373 } | |
| 374 | |
| 375 void DefaultPlatformDisplay::OnCloseRequest() { | |
| 376 platform_window_->Close(); | |
| 377 } | |
| 378 | |
| 379 void DefaultPlatformDisplay::OnClosed() { | |
| 380 if (delegate_) | |
| 381 delegate_->OnDisplayClosed(); | |
| 382 } | |
| 383 | |
| 384 void DefaultPlatformDisplay::OnWindowStateChanged( | |
| 385 ui::PlatformWindowState new_state) {} | |
| 386 | |
| 387 void DefaultPlatformDisplay::OnLostCapture() { | |
| 388 delegate_->OnNativeCaptureLost(); | |
| 389 } | |
| 390 | |
| 391 void DefaultPlatformDisplay::OnAcceleratedWidgetAvailable( | |
| 392 gfx::AcceleratedWidget widget, | |
| 393 float device_scale_factor) { | |
| 394 if (widget != gfx::kNullAcceleratedWidget) { | |
| 395 display_compositor_.reset( | |
| 396 new DisplayCompositor(base::ThreadTaskRunnerHandle::Get(), widget, | |
| 397 gpu_state_, surfaces_state_)); | |
| 398 } | |
| 399 UpdateMetrics(metrics_.size_in_pixels, device_scale_factor); | |
| 400 } | |
| 401 | |
| 402 void DefaultPlatformDisplay::OnAcceleratedWidgetDestroyed() { | |
| 403 NOTREACHED(); | |
| 404 } | |
| 405 | |
| 406 void DefaultPlatformDisplay::OnActivationChanged(bool active) {} | |
| 407 | |
| 408 void DefaultPlatformDisplay::RequestCopyOfOutput( | |
| 409 std::unique_ptr<cc::CopyOutputRequest> output_request) { | |
| 410 if (display_compositor_) | |
| 411 display_compositor_->RequestCopyOfOutput(std::move(output_request)); | |
| 412 } | |
| 413 | |
| 414 } // namespace ws | 183 } // namespace ws |
| 415 | |
| 416 } // namespace mus | 184 } // namespace mus |
| OLD | NEW |