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

Issue 14328031: Adding a minimize function for clicks on launcher items if only a single item (already active) is a… (Closed)

Created:
7 years, 8 months ago by Mr4D (OOO till 08-26)
Modified:
7 years, 8 months ago
Reviewers:
James Cook
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

This CL is adding a minimize function for clicks on launcher items if only a single item (already active) is associated with it. This is done to avoid that the user clicks and nothing happens (and people expect it to do that). The feature is guarded by a flag. If the minimize action is not wanted, we use a bouncing animation which gives the user at least some feedback that he has done something. BUG=231663 TEST=unittest & visual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195362

Patch Set 1 #

Patch Set 2 : Added bounce animation in case of no minimize #

Total comments: 3

Patch Set 3 : Added one unit test and addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -17 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc View 1 3 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app_browsertest.cc View 1 2 3 chunks +82 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc View 4 chunks +10 lines, -9 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mr4D (OOO till 08-26)
Please have a look!
7 years, 8 months ago (2013-04-19 01:57:50 UTC) #1
James Cook
LGTM with nits https://codereview.chromium.org/14328031/diff/10003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/14328031/diff/10003/chrome/app/generated_resources.grd#newcode6890 chrome/app/generated_resources.grd:6890: + Disallow launcher to minimize windows ...
7 years, 8 months ago (2013-04-19 17:57:03 UTC) #2
Mr4D (OOO till 08-26)
Addressed. Please have another look! https://codereview.chromium.org/14328031/diff/10003/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/14328031/diff/10003/chrome/app/generated_resources.grd#newcode6890 chrome/app/generated_resources.grd:6890: + Disallow launcher to ...
7 years, 8 months ago (2013-04-19 19:04:18 UTC) #3
James Cook
LGTM. Didn't know Alex wanted a flag - that's fine with me. Thanks for adding ...
7 years, 8 months ago (2013-04-19 19:12:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/14328031/1014
7 years, 8 months ago (2013-04-19 19:16:22 UTC) #5
commit-bot: I haz the power
7 years, 8 months ago (2013-04-20 01:16:00 UTC) #6
Message was sent while issue was closed.
Change committed as 195362

Powered by Google App Engine
This is Rietveld 408576698