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

Side by Side Diff: services/ui/display/platform_screen_stub.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « services/ui/display/platform_screen_ozone.cc ('k') | services/ui/gpu/BUILD.gn » ('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 "services/ui/display/platform_screen_stub.h" 5 #include "services/ui/display/platform_screen_stub.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/threading/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "services/shell/public/cpp/interface_registry.h" 13 #include "services/service_manager/public/cpp/interface_registry.h"
14 #include "ui/display/display.h" 14 #include "ui/display/display.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/geometry/size.h"
17 17
18 namespace display { 18 namespace display {
19 namespace { 19 namespace {
20 20
21 const int64_t kDisplayId = 1; 21 const int64_t kDisplayId = 1;
22 constexpr gfx::Size kDisplaySize(1024, 768); 22 constexpr gfx::Size kDisplaySize(1024, 768);
23 23
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 FROM_HERE, base::Bind(&PlatformScreenDelegate::OnDisplayRemoved, 59 FROM_HERE, base::Bind(&PlatformScreenDelegate::OnDisplayRemoved,
60 base::Unretained(delegate_), display_id)); 60 base::Unretained(delegate_), display_id));
61 } 61 }
62 } 62 }
63 63
64 int64_t PlatformScreenStub::GetPrimaryDisplayId() const { 64 int64_t PlatformScreenStub::GetPrimaryDisplayId() const {
65 return kDisplayId; 65 return kDisplayId;
66 } 66 }
67 67
68 } // namespace display 68 } // namespace display
OLDNEW
« no previous file with comments | « services/ui/display/platform_screen_ozone.cc ('k') | services/ui/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698