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

Unified Diff: ui/gfx/win/display_info.h

Issue 1674433002: Revert of ScreenWin Testability and Restructuring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « ui/gfx/test/gfx_util.cc ('k') | ui/gfx/win/display_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/display_info.h
diff --git a/ui/gfx/win/display_info.h b/ui/gfx/win/display_info.h
deleted file mode 100644
index 893113604ac84014a587ba3a01f33f7a96391f16..0000000000000000000000000000000000000000
--- a/ui/gfx/win/display_info.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_GFX_WIN_DISPLAY_INFO_H_
-#define UI_GFX_WIN_DISPLAY_INFO_H_
-
-#include <windows.h>
-#include <stdint.h>
-
-#include "ui/gfx/display.h"
-#include "ui/gfx/gfx_export.h"
-
-namespace gfx {
-namespace win {
-
-// Gathers the parameters necessary to create a gfx::win::ScreenWinDisplay.
-struct GFX_EXPORT DisplayInfo final {
- DisplayInfo(const MONITORINFOEX& monitor_info, float device_scale_factor);
- DisplayInfo(const MONITORINFOEX& monitor_info,
- float device_scale_factor,
- gfx::Display::Rotation rotation);
-
- static int64_t DeviceIdFromDeviceName(const wchar_t* device_name);
-
- int64_t id;
- gfx::Display::Rotation rotation;
- gfx::Rect screen_rect;
- gfx::Rect screen_work_rect;
- float device_scale_factor;
-};
-
-} // namespace win
-} // namespace gfx
-
-#endif // UI_GFX_WIN_DISPLAY_INFO_H_
« no previous file with comments | « ui/gfx/test/gfx_util.cc ('k') | ui/gfx/win/display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698