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

Issue 292583003: Remove unused code in DesktopScreenPositionClient (Closed)

Created:
6 years, 7 months ago by pkotwicz
Modified:
6 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Visibility:
Public.

Description

Remove unused code in DesktopScreenPositionClient. In the cases that it is called DesktopNativeWidgetAura::ForWindow() always returns NULL BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272904

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M ui/views/widget/desktop_aura/desktop_screen_position_client.cc View 1 2 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
pkotwicz
Sadrul, can you please take a look? I am split between removing this code and ...
6 years, 7 months ago (2014-05-17 02:48:28 UTC) #1
sadrul
https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc File ui/views/widget/desktop_aura/desktop_screen_position_client.cc (left): https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc#oldcode94 ui/views/widget/desktop_aura/desktop_screen_position_client.cc:94: if (desktop_native_widget && Is this because DesktopNativeWidgetAura::ForWindow always returns ...
6 years, 7 months ago (2014-05-20 17:39:17 UTC) #2
pkotwicz
https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc File ui/views/widget/desktop_aura/desktop_screen_position_client.cc (left): https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc#oldcode94 ui/views/widget/desktop_aura/desktop_screen_position_client.cc:94: if (desktop_native_widget && views::Widget::is_top_level() returns true if !params.child && ...
6 years, 7 months ago (2014-05-20 19:11:13 UTC) #3
sadrul
https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc File ui/views/widget/desktop_aura/desktop_screen_position_client.cc (left): https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc#oldcode94 ui/views/widget/desktop_aura/desktop_screen_position_client.cc:94: if (desktop_native_widget && On 2014/05/20 19:11:13, pkotwicz wrote: > ...
6 years, 7 months ago (2014-05-20 20:03:10 UTC) #4
pkotwicz
https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc File ui/views/widget/desktop_aura/desktop_screen_position_client.cc (left): https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc#oldcode94 ui/views/widget/desktop_aura/desktop_screen_position_client.cc:94: if (desktop_native_widget && There is no point in a ...
6 years, 7 months ago (2014-05-20 21:27:25 UTC) #5
sadrul
https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc File ui/views/widget/desktop_aura/desktop_screen_position_client.cc (left): https://codereview.chromium.org/292583003/diff/1/ui/views/widget/desktop_aura/desktop_screen_position_client.cc#oldcode94 ui/views/widget/desktop_aura/desktop_screen_position_client.cc:94: if (desktop_native_widget && On 2014/05/20 21:27:25, pkotwicz wrote: > ...
6 years, 7 months ago (2014-05-21 19:00:05 UTC) #6
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-21 19:12:32 UTC) #7
pkotwicz
The CQ bit was unchecked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-21 19:12:34 UTC) #8
pkotwicz
Looking at DesktopNativeWidgetTopLevelHandler, it looks like calling Widget::SetBounds() where appropriate is probably a better solution. ...
6 years, 7 months ago (2014-05-21 22:18:44 UTC) #9
pkotwicz
Looking at DesktopNativeWidgetTopLevelHandler, it looks like calling Widget::SetBounds() where appropriate is probably a better solution. ...
6 years, 7 months ago (2014-05-21 22:18:44 UTC) #10
pkotwicz
Sadrul, can you please take another look? I have confirmed that we do not call ...
6 years, 7 months ago (2014-05-25 01:18:19 UTC) #11
sadrul
lgtm
6 years, 7 months ago (2014-05-26 14:09:25 UTC) #12
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-26 14:25:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/292583003/40001
6 years, 7 months ago (2014-05-26 14:27:00 UTC) #14
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-26 18:09:22 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 18:28:20 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/20141)
6 years, 7 months ago (2014-05-26 18:28:21 UTC) #17
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-26 18:58:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/292583003/60001
6 years, 7 months ago (2014-05-26 18:58:46 UTC) #19
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-26 20:40:24 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-26 22:02:59 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/157006)
6 years, 7 months ago (2014-05-26 22:03:00 UTC) #22
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 7 months ago (2014-05-26 23:28:40 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/292583003/60001
6 years, 7 months ago (2014-05-26 23:29:27 UTC) #24
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 00:40:21 UTC) #25
Message was sent while issue was closed.
Change committed as 272904

Powered by Google App Engine
This is Rietveld 408576698