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

Issue 1593543002: Revert of Added capability on Windows to get the physical dimensions of your attached monitors. Also added th… (Closed)

Created:
4 years, 11 months ago by vasilii
Modified:
4 years, 11 months ago
Reviewers:
sky, Bret, scottmg, Nico, jbauman, robliao
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Added capability on Windows to get the physical dimensions of your attached monitors. Also added th… (patchset #11 id:200001 of https://codereview.chromium.org/1563183008/ ) Reason for revert: Broke compilation on Win x64 GN (dbg) https://build.chromium.org/p/chromium.win/builders/Win%20x64%20GN%20%28dbg%29/builds/16784 physical_size.obj : error LNK2019: unresolved external symbol __imp_SetupDiDestroyDeviceInfoList referenced in function "public: static void __cdecl `anonymous namespace'::DeviceInfoListScopedTraits::Free(void *)" (?Free@DeviceInfoListScopedTraits@?A0xfcbad8c5@@SAXPEAX@Z) physical_size.obj : error LNK2019: unresolved external symbol __imp_SetupDiEnumDeviceInterfaces referenced in function "class std::vector<struct gfx::PhysicalDisplaySize,class std::allocator<struct gfx::PhysicalDisplaySize> > __cdecl gfx::GetPhysicalSizeForDisplays(void)" (?GetPhysicalSizeForDisplays@gfx@@YA?AV?$vector@UPhysicalDisplaySize@gfx@@V?$allocator@UPhysicalDisplaySize@gfx@@@std@@@std@@XZ) physical_size.obj : error LNK2019: unresolved external symbol __imp_SetupDiGetDeviceInterfaceDetailW referenced in function "bool __cdecl `anonymous namespace'::GetInterfaceDetailAndDeviceInfo(void *,struct _SP_DEVICE_INTERFACE_DATA *,class scoped_ptr<struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W,struct base::FreeDeleter> *,struct _SP_DEVINFO_DATA *)" (?GetInterfaceDetailAndDeviceInfo@?A0xfcbad8c5@@YA_NPEAXPEAU_SP_DEVICE_INTERFACE_DATA@@PEAV?$scoped_ptr@U_SP_DEVICE_INTERFACE_DETAIL_DATA_W@@UFreeDeleter@base@@@@PEAU_SP_DEVINFO_DATA@@@Z) physical_size.obj : error LNK2019: unresolved external symbol __imp_SetupDiGetClassDevsW referenced in function "class std::vector<struct gfx::PhysicalDisplaySize,class std::allocator<struct gfx::PhysicalDisplaySize> > __cdecl gfx::GetPhysicalSizeForDisplays(void)" (?GetPhysicalSizeForDisplays@gfx@@YA?AV?$vector@UPhysicalDisplaySize@gfx@@V?$allocator@UPhysicalDisplaySize@gfx@@@std@@@std@@XZ) physical_size.obj : error LNK2019: unresolved external symbol __imp_SetupDiOpenDevRegKey referenced in function "bool __cdecl `anonymous namespace'::GetSizeFromRegistry(void *,struct _SP_DEVINFO_DATA *,int *,int *)" (?GetSizeFromRegistry@?A0xfcbad8c5@@YA_NPEAXPEAU_SP_DEVINFO_DATA@@PEAH2@Z) ./gfx.dll : fatal error LNK1120: 5 unresolved externals Original issue's description: > Added capability on Windows to get the physical dimensions of your attached monitors. Also added this information to about:gpu for testing. > > BUG=547914 > TEST=go to the about:gpu URL and check for "Diagonal Monitor Size". it should show the size of your monitors > > Committed: https://crrev.com/b840e2f4ec9132b931f7ad54fd8fd20285e4eaa3 > Cr-Commit-Position: refs/heads/master@{#369635} TBR=scottmg@chromium.org,robliao@chromium.org,sky@chromium.org,jbauman@chromium.org,thakis@chromium.org,bsep@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=547914 Committed: https://crrev.com/e8abd9af8df889ef5e82333472a5e8bffc307d82 Cr-Commit-Position: refs/heads/master@{#369713}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -210 lines) Patch
M content/browser/gpu/gpu_internals_ui.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/gfx/gfx.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
D ui/gfx/win/physical_size.h View 1 chunk +0 lines, -31 lines 0 comments Download
D ui/gfx/win/physical_size.cc View 1 chunk +0 lines, -159 lines 0 comments Download

Messages

Total messages: 3 (2 generated)
vasilii
4 years, 11 months ago (2016-01-15 09:38:45 UTC) #1
Created Revert of Added capability on Windows to get the physical dimensions of
your attached monitors. Also added th…

Powered by Google App Engine
This is Rietveld 408576698