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

Issue 2731663002: Remove WmWindowProperty (Closed)

Created:
3 years, 9 months ago by yiyix
Modified:
3 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, dcheng, rginda+watch_chromium.org, chromium-apps-reviews_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WmWindowProperty Since ui::Window is removed and we solely use aura::Window, we can remove usage of WmWindowPerperty safely and start to use aura window property instead. Since this is a refactor, no new test added. BUG=687649 Review-Url: https://codereview.chromium.org/2731663002 Cr-Commit-Position: refs/heads/master@{#454671} Committed: https://chromium.googlesource.com/chromium/src/+/a12aab1f97b16006dbbe8bad1969377040c6da1a

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -289 lines) Patch
M ash/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/accelerators/debug_commands.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/common/frame/custom_frame_view_ash.cc View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M ash/common/shelf/shelf_widget.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher_item_delegate.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M ash/common/shelf/shelf_window_watcher_unittest.cc View 1 2 8 chunks +21 lines, -12 lines 0 comments Download
M ash/common/test/test_shelf_delegate.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M ash/common/wm/always_on_top_controller.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ash/common/wm/container_finder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm/dock/docked_window_resizer.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm/drag_details.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/common/wm/maximize_mode/maximize_mode_window_manager.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/wm/overview/scoped_transform_overview_window.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm/overview/window_selector_item.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/wm/panels/panel_frame_view.cc View 1 2 4 chunks +8 lines, -7 lines 0 comments Download
M ash/common/wm/panels/panel_layout_manager.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/wm/panels/panel_window_resizer.cc View 1 2 4 chunks +6 lines, -7 lines 0 comments Download
M ash/common/wm/system_modal_container_layout_manager.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ash/common/wm/wm_snap_to_pixel_layout_manager.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/common/wm/workspace/workspace_layout_manager.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/common/wm_window.h View 2 chunks +0 lines, -13 lines 0 comments Download
M ash/common/wm_window.cc View 2 chunks +0 lines, -121 lines 0 comments Download
D ash/common/wm_window_property.h View 1 chunk +0 lines, -54 lines 0 comments Download
M ash/shell/window_watcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M ash/wm/panels/panel_layout_manager_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M ash/wm/window_mirror_view.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/extension_app_window_launcher_controller.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc View 1 3 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (24 generated)
sky
Nice cleanup! One minor comment. https://codereview.chromium.org/2731663002/diff/20001/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc File chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc (right): https://codereview.chromium.org/2731663002/diff/20001/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc#newcode81 chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc:81: aura_window->SetProperty<int>( If you need ...
3 years, 9 months ago (2017-03-03 15:41:42 UTC) #5
yiyix
@sky, could you please take another look? Thank you. https://codereview.chromium.org/2731663002/diff/20001/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc File chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc (right): https://codereview.chromium.org/2731663002/diff/20001/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc#newcode81 chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.cc:81: ...
3 years, 9 months ago (2017-03-03 16:25:12 UTC) #6
sky
LGTM
3 years, 9 months ago (2017-03-03 17:05:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2731663002/100001
3 years, 9 months ago (2017-03-03 20:53:22 UTC) #26
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 21:06:06 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/a12aab1f97b16006dbbe8bad1969...

Powered by Google App Engine
This is Rietveld 408576698