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

Issue 293563002: GetScaleFactorForNativeView should return scale factor in float (Closed)

Created:
6 years, 7 months ago by oshima
Modified:
6 years, 7 months ago
Reviewers:
ananta, jam, sky
CC:
chromium-reviews, yusukes+watch_chromium.org, nasko+codewatch_chromium.org, sievers+watch_chromium.org, yukishiino+watch_chromium.org, stevenjb+watch_chromium.org, miu+watch_chromium.org, extensions-reviews_chromium.org, benjhayden+dwatch_chromium.org, Ilya Sherman, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, dbeam+watch-options_chromium.org, creis+watch_chromium.org, penghuang+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, piman+watch_chromium.org, rouslan+autofillwatch_chromium.org, chrome-apps-syd-reviews_chromium.org, tfarina, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, danakj+watch_chromium.org, James Su
Visibility:
Public.

Description

GetScaleFactorForNativeView should return scale factor in float Step 1 to reduce the use of ui::ScaleFactor and eliminate ui::GetImageScale BUG=372212 R=ananta@chromium.org, sky@chromium.org TBR=jam@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271587

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -77 lines) Patch
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnailing_algorithm.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/network_dropdown.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc View 1 2 3 4 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/dip_util.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/dip_util.cc View 1 2 2 chunks +5 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 1 2 3 4 3 chunks +8 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 3 4 5 chunks +4 lines, -8 lines 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/webui/web_ui_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/web_ui_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/web_ui.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M ui/app_list/views/app_list_main_view.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M ui/base/layout.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/layout.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ui/base/layout_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
oshima
6 years, 7 months ago (2014-05-19 16:05:31 UTC) #1
ananta
lgtm
6 years, 7 months ago (2014-05-19 18:34:05 UTC) #2
oshima
sky -> OWNERS
6 years, 7 months ago (2014-05-19 19:41:52 UTC) #3
sky
https://codereview.chromium.org/293563002/diff/170001/ui/base/layout.h File ui/base/layout.h (right): https://codereview.chromium.org/293563002/diff/170001/ui/base/layout.h#newcode56 ui/base/layout.h:56: UI_BASE_EXPORT float GetScaleFactorForNativeView(gfx::NativeView view); Shouln't this be GetScaleForNativeView? This ...
6 years, 7 months ago (2014-05-19 22:23:00 UTC) #4
oshima
https://codereview.chromium.org/293563002/diff/170001/ui/base/layout.h File ui/base/layout.h (right): https://codereview.chromium.org/293563002/diff/170001/ui/base/layout.h#newcode56 ui/base/layout.h:56: UI_BASE_EXPORT float GetScaleFactorForNativeView(gfx::NativeView view); On 2014/05/19 22:23:01, sky wrote: ...
6 years, 7 months ago (2014-05-19 22:45:11 UTC) #5
sky
On Mon, May 19, 2014 at 3:45 PM, <oshima@chromium.org> wrote: > > https://codereview.chromium.org/293563002/diff/170001/ui/base/layout.h > File ...
6 years, 7 months ago (2014-05-19 23:01:34 UTC) #6
oshima
On 2014/05/19 23:01:34, sky wrote: > On Mon, May 19, 2014 at 3:45 PM, <mailto:oshima@chromium.org> ...
6 years, 7 months ago (2014-05-19 23:40:06 UTC) #7
sky
LGTM - Oshima is going to try and find a better name.
6 years, 7 months ago (2014-05-19 23:56:01 UTC) #8
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 7 months ago (2014-05-20 01:03:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/293563002/180001
6 years, 7 months ago (2014-05-20 01:04:46 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 02:28:06 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 02:33:05 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/68546)
6 years, 7 months ago (2014-05-20 02:33:05 UTC) #13
oshima
tbr'ing jam for trivial return type change in content/public/browser/web_ui.h
6 years, 7 months ago (2014-05-20 06:24:35 UTC) #14
oshima
6 years, 7 months ago (2014-05-20 06:25:36 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r271587 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698