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

Issue 1533883002: MacViews: Implement BridgedNativeWidget::OnDeviceScaleFactorChanged function. (Closed)

Created:
5 years ago by Andrey Kraynov
Modified:
5 years ago
Reviewers:
tapted, sadrul
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Implement BridgedNativeWidget::OnDeviceScaleFactorChanged function. Add a cross-platform unit-test for that functionality. TEST=views_unittests --gtest_filter="WidgetTest.OnDeviceScaleFactorChanged" BUG=415024 Committed: https://crrev.com/ba587a918ca859045437211ebca414e08f61320b Cr-Commit-Position: refs/heads/master@{#366573}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add WidgetTest.OnDeviceScaleFactorChanged unittest #

Patch Set 3 : Fix test on Retina #

Total comments: 11

Patch Set 4 : Address review remarks. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M ui/views/cocoa/bridged_native_widget.mm View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 3 1 chunk +46 lines, -0 lines 4 comments Download

Messages

Total messages: 20 (6 generated)
Andrey Kraynov
Hi! I see a lot of 'Not implemented reached' messages when running views_examples_with_content_exe on Mac. ...
5 years ago (2015-12-17 15:40:51 UTC) #2
tapted
Thanks for taking an interest! But these need some tests. Part of the reason these ...
5 years ago (2015-12-17 22:38:20 UTC) #3
Andrey Kraynov
I greatly appreciate your help with that, thank you for detailed answer! https://codereview.chromium.org/1533883002/diff/1/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm ...
5 years ago (2015-12-18 13:51:59 UTC) #4
tapted
On 2015/12/18 13:51:59, Andrey Kraynov wrote: > I greatly appreciate your help with that, thank ...
5 years ago (2015-12-21 07:19:51 UTC) #5
tapted
https://codereview.chromium.org/1533883002/diff/40001/ui/views/cocoa/bridged_native_widget.mm File ui/views/cocoa/bridged_native_widget.mm (right): https://codereview.chromium.org/1533883002/diff/40001/ui/views/cocoa/bridged_native_widget.mm#newcode1 ui/views/cocoa/bridged_native_widget.mm:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years ago (2015-12-21 07:20:16 UTC) #6
tapted
and lgtm after those changes (and one more) You'll need a ui/views owner for the ...
5 years ago (2015-12-21 07:23:49 UTC) #7
Andrey Kraynov
I tried to fix your remarks. Could you take a look again, please? If everything ...
5 years ago (2015-12-21 09:47:19 UTC) #9
tapted
lgtm - thanks! https://codereview.chromium.org/1533883002/diff/40001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1533883002/diff/40001/ui/views/widget/widget_unittest.cc#newcode3429 ui/views/widget/widget_unittest.cc:3429: scoped_ptr<Widget, WidgetCloser> widget(CreateTopLevelPlatformWidget()); On 2015/12/21 09:47:19, ...
5 years ago (2015-12-21 22:54:11 UTC) #10
Andrey Kraynov
+ sadrul@ as an owner for widget_test.cc file. PTAL
5 years ago (2015-12-22 08:04:33 UTC) #12
sadrul
lgtm https://codereview.chromium.org/1533883002/diff/60001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1533883002/diff/60001/ui/views/widget/widget_unittest.cc#newcode3405 ui/views/widget/widget_unittest.cc:3405: ScaleFactorView() = default; How is this different from ...
5 years ago (2015-12-22 08:13:34 UTC) #13
Andrey Kraynov
Thanks! https://codereview.chromium.org/1533883002/diff/60001/ui/views/widget/widget_unittest.cc File ui/views/widget/widget_unittest.cc (right): https://codereview.chromium.org/1533883002/diff/60001/ui/views/widget/widget_unittest.cc#newcode3405 ui/views/widget/widget_unittest.cc:3405: ScaleFactorView() = default; On 2015/12/22 08:13:34, sadrul (slow ...
5 years ago (2015-12-22 08:38:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1533883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1533883002/60001
5 years ago (2015-12-22 08:54:13 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-22 09:19:32 UTC) #18
commit-bot: I haz the power
5 years ago (2015-12-22 09:20:43 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ba587a918ca859045437211ebca414e08f61320b
Cr-Commit-Position: refs/heads/master@{#366573}

Powered by Google App Engine
This is Rietveld 408576698