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

Issue 674763002: remove ui::gfx::GetDeviceScaleFactor (Closed)

Created:
6 years, 2 months ago by scottmg
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, mkwst+moarreviews-ipc_chromium.org, tfarina, oshima, ananta
Base URL:
https://chromium.googlesource.com/chromium/src.git@dpi-cleanup-3
Project:
chromium
Visibility:
Public.

Description

remove ui::gfx::GetDeviceScaleFactor GetDPIScale() handles overrides, having two accessors is extra confusion. R=sky@chromium.org BUG=143619 Committed: https://crrev.com/67a57736b1cd516ff05116a5c27c4c5237f151fd Cr-Commit-Position: refs/heads/master@{#300931}

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase-4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -31 lines) Patch
M chrome/browser/icon_loader_win.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/apps/app_window_desktop_window_tree_host_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/frame/minimize_button_metrics_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/layout.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/canvas_paint_win.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M ui/gfx/screen_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/win/dpi.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/gfx/win/dpi.cc View 3 chunks +6 lines, -16 lines 0 comments Download
M ui/views/controls/menu/menu_separator_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/win/hwnd_message_handler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (1 generated)
scottmg
6 years, 2 months ago (2014-10-23 04:02:02 UTC) #1
sky
LGTM https://codereview.chromium.org/674763002/diff/1/ui/gfx/win/dpi.cc File ui/gfx/win/dpi.cc (right): https://codereview.chromium.org/674763002/diff/1/ui/gfx/win/dpi.cc#newcode35 ui/gfx/win/dpi.cc:35: float GetUnforcedDeviceScaleFactor() { Can you reanme devicescalefactor to ...
6 years, 2 months ago (2014-10-23 16:51:51 UTC) #2
scottmg
https://codereview.chromium.org/674763002/diff/1/ui/gfx/win/dpi.h File ui/gfx/win/dpi.h (right): https://codereview.chromium.org/674763002/diff/1/ui/gfx/win/dpi.h#newcode20 ui/gfx/win/dpi.h:20: GFX_EXPORT void InitDeviceScaleFactor(float scale); On 2014/10/23 16:51:51, sky wrote: ...
6 years, 2 months ago (2014-10-23 17:25:58 UTC) #3
sky
Go for it. I want constituency. If that means devicescalefactor so be it. On Thu, ...
6 years, 2 months ago (2014-10-23 17:28:47 UTC) #4
sky
Or rather consistency;) On Thu, Oct 23, 2014 at 10:28 AM, Scott Violet <sky@chromium.org> wrote: ...
6 years, 2 months ago (2014-10-23 17:28:54 UTC) #5
scottmg
You have my vote! On Thu, Oct 23, 2014 at 10:28 AM, Scott Violet <sky@chromium.org> ...
6 years, 2 months ago (2014-10-23 17:36:27 UTC) #6
scottmg
OK, I'll do that in a follow up that makes them all the same. On ...
6 years, 2 months ago (2014-10-23 17:37:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674763002/20001
6 years, 2 months ago (2014-10-23 19:00:23 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-23 19:48:12 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 19:49:02 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/67a57736b1cd516ff05116a5c27c4c5237f151fd
Cr-Commit-Position: refs/heads/master@{#300931}

Powered by Google App Engine
This is Rietveld 408576698