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

Issue 11082002: Remove TOGGLE_MAXIMIZED_* from Ash reserved actions list. (Closed)

Created:
8 years, 2 months ago by mazda
Modified:
8 years, 2 months ago
Reviewers:
Yusuke Sato, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, derat+watch_chromium.org, ben+watch_chromium.org, tfarina, mazda+watch_chromium.org
Visibility:
Public.

Description

Remove TOGGLE_MAXIMIZED_* from Ash reserved actions list. The following changes are for removing TOGGLE_MAXIMIZED_* from Ash reserved actions list. - Add ShellDelegate::ToggleMaximized - Remove VKEY_F4 from browser accelerators list Also added a browser test for ChromeShellDelegate::ToggleMaximized. BUG=152265 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161015

Patch Set 1 #

Patch Set 2 : remove F4 from browser accelerators #

Patch Set 3 : #

Patch Set 4 : fix AcceleratorControllerTest.WindowSnap #

Total comments: 4

Patch Set 5 : Add ash::wm::ToggleMaximizedWindow to window_util.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -33 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 1 chunk +1 line, -13 lines 0 comments Download
M ash/accelerators/accelerator_table.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M ash/wm/window_util.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/wm/window_util.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/ui/ash/chrome_shell_delegate_browsertest.cc View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/accelerator_table_unittest.cc View 1 2 chunks +5 lines, -17 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
mazda
Sato-san, I changed the order of processing accelerators in FocusManager::ProcessAccelerator so that FocusManagerDelegate processes accelerators ...
8 years, 2 months ago (2012-10-06 03:58:05 UTC) #1
Yusuke Sato
LGTM with some requests: 1) Please double check that Ash is the only user of ...
8 years, 2 months ago (2012-10-08 17:13:23 UTC) #2
Yusuke Sato
Please also try to remove F4 from the list of Browser's reserved accelerators. That might ...
8 years, 2 months ago (2012-10-08 20:16:17 UTC) #3
mazda
I decided to remove F4 from browesr command now. Please take a look at the ...
8 years, 2 months ago (2012-10-08 22:55:33 UTC) #4
Yusuke Sato
On 2012/10/08 22:55:33, mazda wrote: > I decided to remove F4 from browesr command now. ...
8 years, 2 months ago (2012-10-08 23:02:53 UTC) #5
mazda
+sky Could you do an OWNERS review?
8 years, 2 months ago (2012-10-08 23:28:31 UTC) #6
sky
Why is the current approach bad?
8 years, 2 months ago (2012-10-09 00:16:57 UTC) #7
mazda
On 2012/10/09 00:16:57, sky wrote: > Why is the current approach bad? We'd like to ...
8 years, 2 months ago (2012-10-09 00:40:14 UTC) #8
Yusuke Sato
On 2012/10/09 00:40:14, mazda wrote: > On 2012/10/09 00:16:57, sky wrote: > > Why is ...
8 years, 2 months ago (2012-10-09 00:46:21 UTC) #9
sky
Thanks for the clarification as to why we need this. http://codereview.chromium.org/11082002/diff/3007/chrome/browser/ui/ash/chrome_shell_delegate.cc File chrome/browser/ui/ash/chrome_shell_delegate.cc (right): http://codereview.chromium.org/11082002/diff/3007/chrome/browser/ui/ash/chrome_shell_delegate.cc#newcode194 ...
8 years, 2 months ago (2012-10-09 15:50:53 UTC) #10
mazda
Thank you for the review. Please take another look. http://codereview.chromium.org/11082002/diff/3007/chrome/browser/ui/ash/chrome_shell_delegate.cc File chrome/browser/ui/ash/chrome_shell_delegate.cc (right): http://codereview.chromium.org/11082002/diff/3007/chrome/browser/ui/ash/chrome_shell_delegate.cc#newcode194 chrome/browser/ui/ash/chrome_shell_delegate.cc:194: ...
8 years, 2 months ago (2012-10-09 20:50:33 UTC) #11
sky
Yes, thanks. LGTM
8 years, 2 months ago (2012-10-09 22:41:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/11082002/6016
8 years, 2 months ago (2012-10-09 23:01:44 UTC) #13
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 2 months ago (2012-10-09 23:56:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/11082002/6016
8 years, 2 months ago (2012-10-10 00:01:14 UTC) #15
commit-bot: I haz the power
8 years, 2 months ago (2012-10-10 02:34:11 UTC) #16
Change committed as 161015

Powered by Google App Engine
This is Rietveld 408576698