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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 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/platform_screen_impl_ozone.h" 5 #include "components/mus/ws/platform_screen_impl_ozone.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/sys_info.h" 10 #include "base/sys_info.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "ui/display/types/display_snapshot.h" 12 #include "ui/display/types/display_snapshot.h"
13 #include "ui/display/types/native_display_delegate.h" 13 #include "ui/display/types/native_display_delegate.h"
14 #include "ui/ozone/public/ozone_platform.h" 14 #include "ui/ozone/public/ozone_platform.h"
15 15
16 namespace mus { 16 namespace mus {
17 17
18 namespace ws { 18 namespace ws {
19 namespace { 19 namespace {
20 20
21 // TODO(rjkroege): Remove this code once ozone oxygen has the same 21 // TODO(rjkroege): Remove this code once ozone oxygen has the same
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 native_display_delegate_->Configure( 108 native_display_delegate_->Configure(
109 *display, display->native_mode(), origin, 109 *display, display->native_mode(), origin,
110 base::Bind(&OnDisplayConfigured, callback, display->display_id(), 110 base::Bind(&OnDisplayConfigured, callback, display->display_id(),
111 gfx::Rect(origin, display->native_mode()->size()))); 111 gfx::Rect(origin, display->native_mode()->size())));
112 origin.Offset(display->native_mode()->size().width(), 0); 112 origin.Offset(display->native_mode()->size().width(), 0);
113 } 113 }
114 } 114 }
115 115
116 } // namespace ws 116 } // namespace ws
117 } // namespace mus 117 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/platform_screen_impl.cc ('k') | components/mus/ws/window_manager_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698