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

Side by Side Diff: services/ui/display/platform_screen_impl.h

Issue 2230963003: Fix window/display bounds with multiple windows in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 4 years, 4 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.h ('k') | services/ui/display/platform_screen_impl.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 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_ 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_ 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "services/ui/display/platform_screen.h" 11 #include "services/ui/display/platform_screen.h"
12 12
13 namespace display { 13 namespace display {
14 14
15 // PlatformScreenImpl provides the necessary functionality to configure all 15 // PlatformScreenImpl provides the necessary functionality to configure all
16 // attached physical displays on non-ozone platforms. 16 // attached physical displays on non-ozone platforms.
17 class PlatformScreenImpl : public PlatformScreen { 17 class PlatformScreenImpl : public PlatformScreen {
18 public: 18 public:
19 PlatformScreenImpl(); 19 PlatformScreenImpl();
20 ~PlatformScreenImpl() override; 20 ~PlatformScreenImpl() override;
21 21
22 private: 22 private:
23 // PlatformScreen. 23 // PlatformScreen.
24 void Init() override; 24 void Init() override;
25 void ConfigurePhysicalDisplay( 25 void ConfigurePhysicalDisplay(
26 const PlatformScreen::ConfiguredDisplayCallback& callback) override; 26 const PlatformScreen::ConfiguredDisplayCallback& callback) override;
27 int64_t GetPrimaryDisplayId() const override;
27 28
28 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl); 29 DISALLOW_COPY_AND_ASSIGN(PlatformScreenImpl);
29 }; 30 };
30 31
31 } // namespace display 32 } // namespace display
32 33
33 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_ 34 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/display/platform_screen.h ('k') | services/ui/display/platform_screen_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698