Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: components/mus/ws/window_manager_state.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/mus/ws/user_id_tracker.cc ('k') | components/mus/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 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/window_manager_state.h" 5 #include "components/mus/ws/window_manager_state.h"
6 6
7 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "components/mus/ws/accelerator.h" 8 #include "components/mus/ws/accelerator.h"
9 #include "components/mus/ws/display_manager.h" 9 #include "components/mus/ws/display_manager.h"
10 #include "components/mus/ws/platform_display.h" 10 #include "components/mus/ws/platform_display.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 WindowManagerState::QueuedEvent::QueuedEvent() {} 87 WindowManagerState::QueuedEvent::QueuedEvent() {}
88 WindowManagerState::QueuedEvent::~QueuedEvent() {} 88 WindowManagerState::QueuedEvent::~QueuedEvent() {}
89 89
90 WindowManagerState::WindowManagerState(Display* display, 90 WindowManagerState::WindowManagerState(Display* display,
91 PlatformDisplay* platform_display, 91 PlatformDisplay* platform_display,
92 cc::SurfaceId surface_id) 92 cc::SurfaceId surface_id)
93 : WindowManagerState(display, 93 : WindowManagerState(display,
94 platform_display, 94 platform_display,
95 surface_id, 95 surface_id,
96 false, 96 false,
97 mojo::shell::mojom::kRootUserID) {} 97 shell::mojom::kRootUserID) {}
98 98
99 WindowManagerState::WindowManagerState(Display* display, 99 WindowManagerState::WindowManagerState(Display* display,
100 PlatformDisplay* platform_display, 100 PlatformDisplay* platform_display,
101 cc::SurfaceId surface_id, 101 cc::SurfaceId surface_id,
102 const UserId& user_id) 102 const UserId& user_id)
103 : WindowManagerState(display, platform_display, surface_id, true, user_id) { 103 : WindowManagerState(display, platform_display, surface_id, true, user_id) {
104 } 104 }
105 105
106 WindowManagerState::~WindowManagerState() {} 106 WindowManagerState::~WindowManagerState() {}
107 107
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 375
376 base::WeakPtr<Accelerator> weak_accelerator; 376 base::WeakPtr<Accelerator> weak_accelerator;
377 if (accelerator) 377 if (accelerator)
378 weak_accelerator = accelerator->GetWeakPtr(); 378 weak_accelerator = accelerator->GetWeakPtr();
379 DispatchInputEventToWindowImpl(target, in_nonclient_area, event, 379 DispatchInputEventToWindowImpl(target, in_nonclient_area, event,
380 weak_accelerator); 380 weak_accelerator);
381 } 381 }
382 382
383 } // namespace ws 383 } // namespace ws
384 } // namespace mus 384 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/user_id_tracker.cc ('k') | components/mus/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698