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

Side by Side Diff: services/ui/display/platform_screen.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 | « no previous file | services/ui/display/platform_screen_impl.h » ('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_H_ 5 #ifndef SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_
6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_ 6 #define SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 18 matching lines...) Expand all
29 // Creates a PlatformScreen instance. 29 // Creates a PlatformScreen instance.
30 static std::unique_ptr<PlatformScreen> Create(); 30 static std::unique_ptr<PlatformScreen> Create();
31 31
32 // Initializes platform specific screen resources. 32 // Initializes platform specific screen resources.
33 virtual void Init() = 0; 33 virtual void Init() = 0;
34 34
35 // ConfigurePhysicalDisplay() configures a single physical display and returns 35 // ConfigurePhysicalDisplay() configures a single physical display and returns
36 // its id and bounds for it via |callback|. 36 // its id and bounds for it via |callback|.
37 virtual void ConfigurePhysicalDisplay( 37 virtual void ConfigurePhysicalDisplay(
38 const ConfiguredDisplayCallback& callback) = 0; 38 const ConfiguredDisplayCallback& callback) = 0;
39
40 virtual int64_t GetPrimaryDisplayId() const = 0;
39 }; 41 };
40 42
41 } // namespace display 43 } // namespace display
42 44
43 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_ 45 #endif // SERVICES_UI_DISPLAY_PLATFORM_SCREEN_H_
OLDNEW
« no previous file with comments | « no previous file | services/ui/display/platform_screen_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698