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

Unified Diff: services/ui/ws/frame_generator_delegate.h

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 side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/frame_generator_delegate.h
diff --git a/services/ui/ws/frame_generator_delegate.h b/services/ui/ws/frame_generator_delegate.h
index 555125e633d190e4e15eb52acaa9ffe10b808847..638dd57b2e05ae7aa42cb16672d2a13b36b0ca65 100644
--- a/services/ui/ws/frame_generator_delegate.h
+++ b/services/ui/ws/frame_generator_delegate.h
@@ -6,17 +6,13 @@
#define SERVICES_UI_WS_FRAME_GENERATOR_DELEGATE_H_
#include "base/macros.h"
+#include "services/ui/ws/viewport_metrics.h"
namespace ui {
namespace ws {
class ServerWindow;
-struct ViewportMetrics {
- gfx::Rect bounds;
- float device_scale_factor = 0.f;
-};
-
class FrameGeneratorDelegate {
public:
// Returns the root window of the display.

Powered by Google App Engine
This is Rietveld 408576698