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

Issue 2901503003: Rename GetPreferredSize to CalculatePreferredSize in ash/ (Closed)

Created:
3 years, 7 months ago by Evan Stade
Modified:
3 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename GetPreferredSize to CalculatePreferredSize in ash/ Also remove the function completely where it makes the code simpler: - FrameCaptionButton - ExitWarningWidgetDelegateView - UserCardView BUG=none Review-Url: https://codereview.chromium.org/2901503003 Cr-Commit-Position: refs/heads/master@{#473715} Committed: https://chromium.googlesource.com/chromium/src/+/f285a784f8a21236d5c17dc4576306844654ffee

Patch Set 1 #

Total comments: 4

Patch Set 2 : improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -73 lines) Patch
M ash/accelerators/exit_warning_handler.cc View 1 3 chunks +4 lines, -11 lines 0 comments Download
M ash/autoclick/common/autoclick_ring_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/frame/caption_buttons/frame_caption_button.h View 1 3 chunks +0 lines, -6 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ash/frame/caption_buttons/frame_caption_button_container_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/frame/caption_buttons/frame_caption_button_container_view.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M ash/frame/custom_frame_view_ash.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/frame/custom_frame_view_ash.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/magnifier/magnification_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/overflow_bubble_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/overflow_bubble_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_tooltip_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shelf/shelf_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/lock_view.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ash/shell/panel_window.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/panel_window.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell/widgets.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shell/window_type_launcher.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M ash/system/ime_menu/ime_menu_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/lock_screen_action/lock_screen_action_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/network/network_state_list_detailed_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/hover_highlight_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/hover_highlight_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/throbber_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/throbber_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_item_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_item_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_popup_header_button.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_popup_header_button.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/rounded_image_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/rounded_image_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/user_card_view.cc View 1 4 chunks +3 lines, -9 lines 0 comments Download
M ash/system/web_notification/web_notification_tray.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/child_modal_window.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ash/wm/window_cycle_list.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/window_mirror_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_mirror_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/multi_window_resize_controller.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
Evan Stade
3 years, 7 months ago (2017-05-22 17:18:57 UTC) #3
sky
Is there a reason not to explicitly set the preferred size for the overrides that ...
3 years, 7 months ago (2017-05-22 17:30:58 UTC) #5
Evan Stade
On 2017/05/22 17:30:58, sky wrote: > Is there a reason not to explicitly set the ...
3 years, 7 months ago (2017-05-22 17:41:52 UTC) #7
sky
Ok, LGTM
3 years, 7 months ago (2017-05-22 21:02:23 UTC) #8
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/2901503003/20001
3 years, 7 months ago (2017-05-22 21:19:03 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 21:53:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f285a784f8a21236d5c17dc45763...

Powered by Google App Engine
This is Rietveld 408576698