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

Unified Diff: services/ui/ws/test_utils.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/platform_display_init_params.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.h
diff --git a/services/ui/ws/test_utils.h b/services/ui/ws/test_utils.h
index b7dd8fa97f0ec3804cd793120fce85fb22699170..51bc6e44e030c02005f2a1e125c61fe88d1fc43b 100644
--- a/services/ui/ws/test_utils.h
+++ b/services/ui/ws/test_utils.h
@@ -237,6 +237,8 @@ class TestDisplayBinding : public DisplayBinding {
// Factory that dispenses TestPlatformDisplays.
class TestPlatformDisplayFactory : public PlatformDisplayFactory {
public:
+ static const int64_t kFirstDisplayId;
+
explicit TestPlatformDisplayFactory(int32_t* cursor_id_storage);
~TestPlatformDisplayFactory();
@@ -245,7 +247,7 @@ class TestPlatformDisplayFactory : public PlatformDisplayFactory {
private:
int32_t* cursor_id_storage_;
- int64_t next_display_id_ = 1;
+ int64_t next_display_id_;
DISALLOW_COPY_AND_ASSIGN(TestPlatformDisplayFactory);
};
« no previous file with comments | « services/ui/ws/platform_display_init_params.cc ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698