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

Side by Side Diff: ui/views/mus/screen_mus.cc

Issue 2804373002: Eliminate Connector::Connect(), Connection, etc. (Closed)
Patch Set: . Created 3 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 | « ui/views/mus/mus_client.cc ('k') | ui/views/mus/views_mus_test_suite.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 // This has to be before any other includes, else default is picked up. 5 // This has to be before any other includes, else default is picked up.
6 // See base/logging for details on this. 6 // See base/logging for details on this.
7 #define NOTIMPLEMENTED_POLICY 5 7 #define NOTIMPLEMENTED_POLICY 5
8 8
9 #include "ui/views/mus/screen_mus.h" 9 #include "ui/views/mus/screen_mus.h"
10 10
11 #include "services/service_manager/public/cpp/connection.h"
12 #include "services/service_manager/public/cpp/connector.h" 11 #include "services/service_manager/public/cpp/connector.h"
13 #include "services/ui/public/interfaces/constants.mojom.h" 12 #include "services/ui/public/interfaces/constants.mojom.h"
14 #include "ui/aura/env.h" 13 #include "ui/aura/env.h"
15 #include "ui/aura/mus/window_tree_host_mus.h" 14 #include "ui/aura/mus/window_tree_host_mus.h"
16 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
17 #include "ui/aura/window_tree_host.h" 16 #include "ui/aura/window_tree_host.h"
18 #include "ui/views/mus/screen_mus_delegate.h" 17 #include "ui/views/mus/screen_mus_delegate.h"
19 #include "ui/views/mus/window_manager_frame_values.h" 18 #include "ui/views/mus/window_manager_frame_values.h"
20 19
21 namespace mojo { 20 namespace mojo {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // TODO(kylechar): DisplayList would need to change to handle having no 149 // TODO(kylechar): DisplayList would need to change to handle having no
151 // primary display. 150 // primary display.
152 if (primary_display_id == display::kInvalidDisplayId) 151 if (primary_display_id == display::kInvalidDisplayId)
153 return; 152 return;
154 153
155 ProcessDisplayChanged(*display_list().FindDisplayById(primary_display_id), 154 ProcessDisplayChanged(*display_list().FindDisplayById(primary_display_id),
156 true); 155 true);
157 } 156 }
158 157
159 } // namespace views 158 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/mus/mus_client.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698