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

Issue 24108003: [Cleanup] Rename WindowSettings to WindowState (Closed)

Created:
7 years, 3 months ago by oshima
Modified:
7 years, 3 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, extensions-reviews_chromium.org, sadrul, ben+watch_chromium.org, tfarina, dcheng, marja+watch_chromium.org, scheib+watch_chromium.org, chromium-apps-reviews_chromium.org, Daniel Erat, flackr, varkha
Visibility:
Public.

Description

Rename WindowSettings to WindowState Move window control methods from window_util.h to WindowState Removed property_util which is no longer necessary. BUG=272460 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224288

Patch Set 1 : #

Patch Set 2 : #

Total comments: 49

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : rebase fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1278 lines, -1226 lines) Patch
M ash/accelerators/accelerator_commands.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/accelerators/accelerator_commands_unittest.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M ash/accelerators/accelerator_controller.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 4 chunks +19 lines, -14 lines 0 comments Download
M ash/accelerators/accelerator_filter.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M ash/launcher/launcher.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 3 chunks +9 lines, -4 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M ash/shelf/shelf_widget.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M ash/shell/toplevel_window.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/tray/tray_background_view.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M ash/touch/touch_hud_projection.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/always_on_top_controller.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/ash_focus_rules.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M ash/wm/base_layout_manager.h View 1 2 5 chunks +11 lines, -6 lines 0 comments Download
M ash/wm/base_layout_manager.cc View 8 chunks +54 lines, -48 lines 0 comments Download
M ash/wm/base_layout_manager_unittest.cc View 1 2 3 chunks +16 lines, -12 lines 0 comments Download
M ash/wm/caption_buttons/frame_caption_button_container_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/caption_buttons/frame_maximize_button.cc View 1 2 3 4 5 7 chunks +19 lines, -17 lines 0 comments Download
M ash/wm/caption_buttons/frame_maximize_button_unittest.cc View 1 2 30 chunks +70 lines, -56 lines 0 comments Download
M ash/wm/default_window_resizer.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 1 2 3 4 5 5 chunks +13 lines, -11 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M ash/wm/dock/docked_window_resizer.cc View 7 chunks +17 lines, -18 lines 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 5 chunks +6 lines, -5 lines 0 comments Download
M ash/wm/drag_window_resizer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/frame_painter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/frame_painter.cc View 9 chunks +11 lines, -12 lines 0 comments Download
M ash/wm/frame_painter_unittest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/gestures/system_pinch_handler.cc View 1 2 4 chunks +14 lines, -17 lines 0 comments Download
M ash/wm/gestures/two_finger_drag_handler.cc View 1 2 4 chunks +10 lines, -9 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M ash/wm/panels/panel_window_resizer.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 11 chunks +15 lines, -14 lines 0 comments Download
D ash/wm/property_util.h View 1 chunk +0 lines, -51 lines 0 comments Download
D ash/wm/property_util.cc View 1 chunk +0 lines, -48 lines 0 comments Download
M ash/wm/stacking_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/stacking_controller_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/system_gesture_event_filter_unittest.cc View 1 2 4 chunks +14 lines, -6 lines 0 comments Download
M ash/wm/toplevel_window_event_handler.cc View 1 2 4 chunks +17 lines, -16 lines 0 comments Download
M ash/wm/toplevel_window_event_handler_unittest.cc View 1 2 8 chunks +21 lines, -18 lines 0 comments Download
M ash/wm/user_activity_detector.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/video_detector.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/wm/window_cycle_controller_unittest.cc View 3 chunks +15 lines, -12 lines 0 comments Download
M ash/wm/window_properties.h View 1 2 2 chunks +11 lines, -13 lines 0 comments Download
M ash/wm/window_properties.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M ash/wm/window_resizer.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M ash/wm/window_resizer.cc View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
D ash/wm/window_settings.h View 1 chunk +0 lines, -107 lines 0 comments Download
D ash/wm/window_settings.cc View 1 chunk +0 lines, -63 lines 0 comments Download
A + ash/wm/window_state.h View 1 2 3 3 chunks +123 lines, -14 lines 0 comments Download
A ash/wm/window_state.cc View 1 2 1 chunk +223 lines, -0 lines 0 comments Download
M ash/wm/window_util.h View 1 3 chunks +3 lines, -49 lines 0 comments Download
M ash/wm/window_util.cc View 3 chunks +1 line, -83 lines 0 comments Download
M ash/wm/workspace/auto_window_management.cc View 7 chunks +24 lines, -22 lines 0 comments Download
M ash/wm/workspace/colored_window_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/workspace/snap_sizer.cc View 1 2 3 3 chunks +15 lines, -11 lines 0 comments Download
M ash/wm/workspace/snap_sizer_unittest.cc View 1 2 6 chunks +18 lines, -15 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler.h View 2 chunks +5 lines, -1 line 0 comments Download
M ash/wm/workspace/workspace_event_handler.cc View 1 2 7 chunks +34 lines, -40 lines 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 9 chunks +20 lines, -14 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.h View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 2 3 4 13 chunks +65 lines, -72 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 13 chunks +44 lines, -34 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 11 chunks +30 lines, -29 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 10 chunks +18 lines, -16 lines 0 comments Download
M ash/wm/workspace_controller.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 1 2 30 chunks +95 lines, -72 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc View 3 chunks +22 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_restore.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate_browsertest.cc View 2 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 6 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/window_positioner.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/apps/native_app_window_views.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/status_bubble_views.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer_ash_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oshima
7 years, 3 months ago (2013-09-17 23:48:40 UTC) #1
James Cook
Overall, I like the approach. And wow, this is a big patch. :-) https://codereview.chromium.org/24108003/diff/31001/ash/system/tray/tray_background_view.cc File ...
7 years, 3 months ago (2013-09-18 20:44:16 UTC) #2
oshima
https://codereview.chromium.org/24108003/diff/31001/ash/test/test_shell_delegate.cc File ash/test/test_shell_delegate.cc (right): https://codereview.chromium.org/24108003/diff/31001/ash/test/test_shell_delegate.cc#newcode71 ash/test/test_shell_delegate.cc:71: wm::WindowState* window_state = wm::GetActiveWindowState(); On 2013/09/18 20:44:17, James Cook ...
7 years, 3 months ago (2013-09-19 01:52:01 UTC) #3
James Cook
LGTM with nits. https://codereview.chromium.org/24108003/diff/31001/ash/wm/base_layout_manager.cc File ash/wm/base_layout_manager.cc (right): https://codereview.chromium.org/24108003/diff/31001/ash/wm/base_layout_manager.cc#newcode175 ash/wm/base_layout_manager.cc:175: wm::WindowState* window_state, On 2013/09/19 01:52:01, oshima ...
7 years, 3 months ago (2013-09-19 03:49:52 UTC) #4
oshima
https://codereview.chromium.org/24108003/diff/40001/ash/wm/window_state.h File ash/wm/window_state.h (right): https://codereview.chromium.org/24108003/diff/40001/ash/wm/window_state.h#newcode28 ash/wm/window_state.h:28: // Maximize, minimize, snap sizing etc) should be added ...
7 years, 3 months ago (2013-09-19 17:44:04 UTC) #5
oshima
sky -> chrome/browser/ derat,flackr,varkha -> FYI
7 years, 3 months ago (2013-09-19 17:46:42 UTC) #6
sky
LGTM
7 years, 3 months ago (2013-09-19 20:39:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/24108003/106001
7 years, 3 months ago (2013-09-19 21:22:14 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=156034
7 years, 3 months ago (2013-09-19 22:40:16 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/24108003/42001
7 years, 3 months ago (2013-09-20 00:29:06 UTC) #10
commit-bot: I haz the power
7 years, 3 months ago (2013-09-20 04:36:39 UTC) #11
Message was sent while issue was closed.
Change committed as 224288

Powered by Google App Engine
This is Rietveld 408576698