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

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: Created 4 years, 3 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
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"
9 8
10 namespace ui { 9 namespace ui {
11 namespace ws { 10 namespace ws {
12 11
13 PlatformDisplayInitParams::PlatformDisplayInitParams() 12 PlatformDisplayInitParams::PlatformDisplayInitParams() {}
14 : display_bounds(gfx::Rect(0, 0, 1024, 768)), display_id(1) {}
15 13
16 PlatformDisplayInitParams::PlatformDisplayInitParams(
17 const PlatformDisplayInitParams& other) = default;
18 PlatformDisplayInitParams::~PlatformDisplayInitParams() {} 14 PlatformDisplayInitParams::~PlatformDisplayInitParams() {}
19 15
20 } // namespace ws 16 } // namespace ws
21 } // namespace ui 17 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698