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

Issue 327873005: Fixed panel callout widgets showing up in the overview. (Closed)

Created:
6 years, 6 months ago by Nina
Modified:
6 years, 6 months ago
Reviewers:
flackr, tdanderson
CC:
chromium-reviews, tdanderson+overview_chromium.org, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixed panel callout widgets showing up in the overview. Add hide/show functions for the callout widgets on the panel manager, and use them from WindowSelectorPanels to control them. BUG=377775 TEST=WindowSelectorTest.WindowOverviewHidesCalloutWidgets Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276813

Patch Set 1 #

Patch Set 2 : Added unittest. Improvement on stability. #

Patch Set 3 : Fixed nit. #

Total comments: 12

Patch Set 4 : Fixed Rob's comments. #

Total comments: 7

Patch Set 5 : Fixed nits. #

Patch Set 6 : Removed unused variable. #

Total comments: 2

Patch Set 7 : Refactored into one method. #

Total comments: 6

Patch Set 8 : Fixed last nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -42 lines) Patch
M ash/wm/overview/window_grid.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/overview/window_selector_panels.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_panels.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -39 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
Nina
Hi Terry, can you please review this patch? Thanks! BTW the reason I'm storing a ...
6 years, 6 months ago (2014-06-10 19:39:28 UTC) #1
tdanderson
Is this the design you discussed with Rob earlier? No comments come to mind, so ...
6 years, 6 months ago (2014-06-10 19:59:08 UTC) #2
Nina
Kind of. Rob, can you give this patch a look? Thanks
6 years, 6 months ago (2014-06-10 21:15:16 UTC) #3
flackr
https://codereview.chromium.org/327873005/diff/10005/ash/wm/overview/window_selector_panels.cc File ash/wm/overview/window_selector_panels.cc (left): https://codereview.chromium.org/327873005/diff/10005/ash/wm/overview/window_selector_panels.cc#oldcode32 ash/wm/overview/window_selector_panels.cc:32: virtual ~ScopedTransformPanelWindow(); Should still define the destructor even if ...
6 years, 6 months ago (2014-06-10 23:10:17 UTC) #4
Nina
Rob, can you give this patch another look? Thanks https://codereview.chromium.org/327873005/diff/10005/ash/wm/overview/window_selector_panels.cc File ash/wm/overview/window_selector_panels.cc (left): https://codereview.chromium.org/327873005/diff/10005/ash/wm/overview/window_selector_panels.cc#oldcode32 ash/wm/overview/window_selector_panels.cc:32: ...
6 years, 6 months ago (2014-06-11 13:45:32 UTC) #5
flackr
https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc File ash/wm/overview/window_selector_panels.cc (right): https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc#newcode95 ash/wm/overview/window_selector_panels.cc:95: Shell::GetContainer(root_window_, kShellWindowId_PanelContainer)-> nit: indent 4. https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc#newcode96 ash/wm/overview/window_selector_panels.cc:96: layout_manager())->ShowCalloutWidgets(); What ...
6 years, 6 months ago (2014-06-11 14:05:22 UTC) #6
Nina
Rob, please take a look at the comments. Cheers! https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc File ash/wm/overview/window_selector_panels.cc (right): https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc#newcode95 ash/wm/overview/window_selector_panels.cc:95: ...
6 years, 6 months ago (2014-06-11 14:20:43 UTC) #7
flackr
https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc File ash/wm/overview/window_selector_panels.cc (right): https://codereview.chromium.org/327873005/diff/50001/ash/wm/overview/window_selector_panels.cc#newcode96 ash/wm/overview/window_selector_panels.cc:96: layout_manager())->ShowCalloutWidgets(); On 2014/06/11 14:20:43, Nicolás wrote: > On 2014/06/11 ...
6 years, 6 months ago (2014-06-11 15:26:35 UTC) #8
Nina
What do you think of it now? https://codereview.chromium.org/327873005/diff/90001/ash/wm/panels/panel_layout_manager.cc File ash/wm/panels/panel_layout_manager.cc (right): https://codereview.chromium.org/327873005/diff/90001/ash/wm/panels/panel_layout_manager.cc#newcode837 ash/wm/panels/panel_layout_manager.cc:837: if (icon_bounds.IsEmpty() ...
6 years, 6 months ago (2014-06-11 15:44:46 UTC) #9
flackr
LGTM with nits. https://codereview.chromium.org/327873005/diff/110001/ash/wm/overview/window_selector_panels.h File ash/wm/overview/window_selector_panels.h (right): https://codereview.chromium.org/327873005/diff/110001/ash/wm/overview/window_selector_panels.h#newcode16 ash/wm/overview/window_selector_panels.h:16: class PanelLayoutManager; Remove as not referenced ...
6 years, 6 months ago (2014-06-11 15:55:28 UTC) #10
Nina
Got the nits covered. Terry, mind checking the commit bit? https://codereview.chromium.org/327873005/diff/110001/ash/wm/overview/window_selector_panels.h File ash/wm/overview/window_selector_panels.h (right): https://codereview.chromium.org/327873005/diff/110001/ash/wm/overview/window_selector_panels.h#newcode16 ...
6 years, 6 months ago (2014-06-11 16:03:57 UTC) #11
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 6 months ago (2014-06-11 17:07:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nsatragno@chromium.org/327873005/130001
6 years, 6 months ago (2014-06-11 17:11:55 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:31:03 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:35:24 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/26077)
6 years, 6 months ago (2014-06-11 20:35:26 UTC) #16
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 6 months ago (2014-06-12 13:35:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nsatragno@chromium.org/327873005/130001
6 years, 6 months ago (2014-06-12 13:38:45 UTC) #18
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 21:51:49 UTC) #19
Message was sent while issue was closed.
Change committed as 276813

Powered by Google App Engine
This is Rietveld 408576698