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

Side by Side Diff: services/window_manager/window_manager_impl.cc

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/window_manager/window_manager_impl.h" 5 #include "services/window_manager/window_manager_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "mojo/services/view_manager/public/cpp/view.h" 8 #include "mojo/services/view_manager/cpp/view.h"
9 #include "services/window_manager/capture_controller.h" 9 #include "services/window_manager/capture_controller.h"
10 #include "services/window_manager/focus_controller.h" 10 #include "services/window_manager/focus_controller.h"
11 #include "services/window_manager/window_manager_root.h" 11 #include "services/window_manager/window_manager_root.h"
12 12
13 using mojo::Callback; 13 using mojo::Callback;
14 using mojo::Id; 14 using mojo::Id;
15 15
16 namespace window_manager { 16 namespace window_manager {
17 17
18 WindowManagerImpl::WindowManagerImpl( 18 WindowManagerImpl::WindowManagerImpl(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 window_manager_->focus_controller()->GetActiveView(); 85 window_manager_->focus_controller()->GetActiveView();
86 mojo::View* focused_view = 86 mojo::View* focused_view =
87 window_manager_->focus_controller()->GetFocusedView(); 87 window_manager_->focus_controller()->GetFocusedView();
88 // TODO(sky): sanitize ids for client. 88 // TODO(sky): sanitize ids for client.
89 callback.Run(capture_view ? capture_view->id() : 0, 89 callback.Run(capture_view ? capture_view->id() : 0,
90 focused_view ? focused_view->id() : 0, 90 focused_view ? focused_view->id() : 0,
91 active_view ? active_view->id() : 0); 91 active_view ? active_view->id() : 0);
92 } 92 }
93 93
94 } // namespace window_manager 94 } // namespace window_manager
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_impl.h ('k') | services/window_manager/window_manager_root.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698