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

Side by Side Diff: services/ui/ws/platform_display_init_params.cc

Issue 2356913002: Pass device scale factor from display to ws. (Closed)
Patch Set: Fix more tests. 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/ws/platform_display_init_params.h ('k') | services/ui/ws/test_utils.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 #include "services/ui/ws/platform_display_init_params.h" 5 #include "services/ui/ws/platform_display_init_params.h"
6 6
7 #include "services/ui/display/platform_screen.h"
8 #include "services/ui/surfaces/surfaces_state.h" 7 #include "services/ui/surfaces/surfaces_state.h"
8 #include "ui/display/display.h"
9 9
10 namespace ui { 10 namespace ui {
11 namespace ws { 11 namespace ws {
12 12
13 PlatformDisplayInitParams::PlatformDisplayInitParams() 13 PlatformDisplayInitParams::PlatformDisplayInitParams()
14 : display_bounds(gfx::Rect(0, 0, 1024, 768)), display_id(1) {} 14 : display_id(display::Display::kInvalidDisplayID) {}
15 15
16 PlatformDisplayInitParams::PlatformDisplayInitParams(
17 const PlatformDisplayInitParams& other) = default;
18 PlatformDisplayInitParams::~PlatformDisplayInitParams() {} 16 PlatformDisplayInitParams::~PlatformDisplayInitParams() {}
19 17
20 } // namespace ws 18 } // namespace ws
21 } // namespace ui 19 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/platform_display_init_params.h ('k') | services/ui/ws/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698