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

Side by Side Diff: services/ui/ws/viewport_metrics.h

Issue 2434923002: Handle modified displays in mustash. (Closed)
Patch Set: Fixes after initial review. 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SERVICES_UI_WS_VIEWPORT_METRICS_H_
6 #define SERVICES_UI_WS_VIEWPORT_METRICS_H_
7
8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/gfx/geometry/size.h"
10
11 namespace ui {
12 namespace ws {
13
14 struct ViewportMetrics {
15 gfx::Rect bounds; // DIP.
16 gfx::Size pixel_size;
17 float device_scale_factor = 0.0f;
18 };
19
20 } // namespace ws
21 } // namespace ui
22
23 #endif // SERVICES_UI_WS_VIEWPORT_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698