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

Issue 10414064: Handle more browser commands in ash. (Closed)

Created:
8 years, 7 months ago by mazda
Modified:
8 years, 7 months ago
CC:
chromium-reviews, mazda+watch_chromium.org, sadrul, derat+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Handle more browser commands in ash. This CL modifies the shell accelerator controller to handle the shortcuts for the following browser commands so that they work with no browser window shown. - IDC_NEW_TAB - IDC_RESTORE_TAB - IDC_SHOW_BOOKMARK_MANAGER BUG=124232, 120642 TEST=Checked all the shortcuts worked properly with no browser window shown. aura_shell_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138982

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove unnecessary handlers #

Patch Set 3 : Rebase #

Patch Set 4 : Fix build of ShellDelegateImpl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -8 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 4 chunks +21 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_table.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M ash/shell_delegate.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 1 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_shell_delegate.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/chrome_shell_delegate.cc View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar_view.cc View 1 2 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mazda
8 years, 7 months ago (2012-05-23 00:09:35 UTC) #1
Ben Goodger (Google)
I don't think we should do most of this CL. The only things you should ...
8 years, 7 months ago (2012-05-23 00:14:13 UTC) #2
mazda
On 2012/05/23 00:14:13, Ben Goodger (Google) wrote: > I don't think we should do most ...
8 years, 7 months ago (2012-05-23 01:32:47 UTC) #3
Ben Goodger (Google)
Right. We wouldn't necessarily promote this functionality for other apps either. -Ben On Wed, May ...
8 years, 7 months ago (2012-05-23 02:03:11 UTC) #4
mazda
Thank you for the suggestions. I removed the handlers except for IDC_NEW_TAB, IDC_RESTORE_TAB, and IDC_SHOW_BOOKMARK_MANAGER. ...
8 years, 7 months ago (2012-05-23 22:11:24 UTC) #5
Ben Goodger (Google)
LGTM
8 years, 7 months ago (2012-05-24 22:21:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10414064/14001
8 years, 7 months ago (2012-05-24 22:35:57 UTC) #7
commit-bot: I haz the power
Failed to apply patch for ash/shell_delegate.h: While running patch -p1 --forward --force; patching file ash/shell_delegate.h ...
8 years, 7 months ago (2012-05-24 22:36:08 UTC) #8
mazda
+sky Could you do an OWNERS review for chrome/browser/sessions?
8 years, 7 months ago (2012-05-24 23:10:34 UTC) #9
sky
LGTM
8 years, 7 months ago (2012-05-24 23:37:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10414064/21001
8 years, 7 months ago (2012-05-24 23:47:14 UTC) #11
commit-bot: I haz the power
Try job failure for 10414064-21001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-25 00:08:14 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/10414064/29001
8 years, 7 months ago (2012-05-25 00:25:53 UTC) #13
commit-bot: I haz the power
8 years, 7 months ago (2012-05-25 03:17:00 UTC) #14
Change committed as 138982

Powered by Google App Engine
This is Rietveld 408576698