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

Issue 10736037: Enable keyboard shortcuts and some menu commands for browserless Panels. (Closed)

Created:
8 years, 5 months ago by jennb
Modified:
8 years, 5 months ago
CC:
chromium-reviews, jianli, dcheng
Visibility:
Public.

Description

Enable keyboard shortcuts and some menu commands for browserless Panels. Prevent context menu in Panels. BUG=127323 TEST=open panels and try various shortcuts and menu commands Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146580

Patch Set 1 #

Total comments: 3

Patch Set 2 : undo changes to browser_commands #

Patch Set 3 : Zoom moved to chrome_page_zoom #

Total comments: 1

Patch Set 4 : fix indentation #

Patch Set 5 : Synced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -56 lines) Patch
M chrome/browser/chrome_page_zoom.h View 1 2 3 4 3 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/chrome_page_zoom.cc View 1 2 3 4 3 chunks +56 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 1 chunk +1 line, -48 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 4 chunks +43 lines, -3 lines 0 comments Download
M chrome/browser/ui/panels/panel_cocoa.mm View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_host.h View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel_host.cc View 1 2 4 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jennb
Ben - could you review browser_commands change to make Zoom() usable without a Browser? Dimich ...
8 years, 5 months ago (2012-07-11 17:34:42 UTC) #1
Dmitry Titov
LGTM for panels http://codereview.chromium.org/10736037/diff/1/chrome/browser/ui/panels/panel.cc File chrome/browser/ui/panels/panel.cc (right): http://codereview.chromium.org/10736037/diff/1/chrome/browser/ui/panels/panel.cc#newcode167 chrome/browser/ui/panels/panel.cc:167: command_updater_.UpdateCommandEnabled(IDC_NEW_WINDOW, true); It'd be nice to ...
8 years, 5 months ago (2012-07-11 21:27:18 UTC) #2
jennb
Ping - Ben? On Wed, Jul 11, 2012 at 2:27 PM, <dimich@chromium.org> wrote: > LGTM ...
8 years, 5 months ago (2012-07-11 21:42:36 UTC) #3
Ben Goodger (Google)
http://codereview.chromium.org/10736037/diff/1/chrome/browser/ui/browser_commands.cc File chrome/browser/ui/browser_commands.cc (right): http://codereview.chromium.org/10736037/diff/1/chrome/browser/ui/browser_commands.cc#newcode711 chrome/browser/ui/browser_commands.cc:711: content::RenderViewHost* host = web_contents->GetRenderViewHost(); I think you may need ...
8 years, 5 months ago (2012-07-11 22:28:26 UTC) #4
jennb
On Wed, Jul 11, 2012 at 3:28 PM, <ben@chromium.org> wrote: > > http://codereview.chromium.**org/10736037/diff/1/chrome/** > browser/ui/browser_commands.cc<http://codereview.chromium.org/10736037/diff/1/chrome/browser/ui/browser_commands.cc> ...
8 years, 5 months ago (2012-07-11 23:31:55 UTC) #5
Dmitry Titov
Still looks good, although having to pull the set of zoom factors form browser feels ...
8 years, 5 months ago (2012-07-11 23:59:36 UTC) #6
Ben Goodger (Google)
Who else includes chrome_page_zoom.h? It seems like you could add a Zoom() method to it ...
8 years, 5 months ago (2012-07-12 17:11:15 UTC) #7
jennb
On 2012/07/12 17:11:15, Ben Goodger (Google) wrote: > Who else includes chrome_page_zoom.h? > Only browser_commands ...
8 years, 5 months ago (2012-07-12 18:30:44 UTC) #8
Ben Goodger (Google)
lgtm http://codereview.chromium.org/10736037/diff/12002/chrome/browser/chrome_page_zoom.h File chrome/browser/chrome_page_zoom.h (right): http://codereview.chromium.org/10736037/diff/12002/chrome/browser/chrome_page_zoom.h#newcode13 chrome/browser/chrome_page_zoom.h:13: class WebContents; outdent
8 years, 5 months ago (2012-07-12 21:50:19 UTC) #9
jennb
On 2012/07/12 21:50:19, Ben Goodger (Google) wrote: > lgtm > > http://codereview.chromium.org/10736037/diff/12002/chrome/browser/chrome_page_zoom.h > File chrome/browser/chrome_page_zoom.h ...
8 years, 5 months ago (2012-07-12 21:55:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/10736037/11004
8 years, 5 months ago (2012-07-12 21:57:41 UTC) #11
commit-bot: I haz the power
Try job failure for 10736037-11004 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-12 23:00:13 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennb@chromium.org/10736037/11004
8 years, 5 months ago (2012-07-12 23:48:30 UTC) #13
commit-bot: I haz the power
8 years, 5 months ago (2012-07-13 01:58:57 UTC) #14
Try job failure for 10736037-11004 (retry) on win_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698