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

Issue 10546072: Use different help URLs for menus, accelerators, and WebUI. (Closed)

Created:
8 years, 6 months ago by Daniel Erat
Modified:
8 years, 6 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, derat+watch_chromium.org, Nirnimesh, mazda+watch_chromium.org, dyu1, anantha, oshima+watch_chromium.org, dennis_jeffrey, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, Peter Kasting
Visibility:
Public.

Description

Use different help URLs for menus, accelerators, and WebUI. This adds a "ctx" parameter to help center URLs. Its value varies dependending on the manner in which help was requested. BUG=128611 TEST=manual: opened help using various methods in Linux and Chrome OS builds and checked that correct URLs were opened (the about page button doesn't work for me, but it's also broken when I do a build using clean source) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141609

Patch Set 1 #

Patch Set 2 : ugh core file #

Total comments: 5

Patch Set 3 : apply review feedback #

Patch Set 4 : fix mac compile #

Total comments: 3

Patch Set 5 : remove IDC_HELP_PAGE_VIA_KEYBOARD from mac code #

Patch Set 6 : fix mac build #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -45 lines) Patch
M chrome/app/chrome_command_ids.h View 1 2 3 4 1 chunk +10 lines, -9 lines 0 comments Download
M chrome/app/chrome_dll.rc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/app_controller_mac.mm View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 6 chunks +25 lines, -9 lines 0 comments Download
M chrome/browser/ui/gtk/accelerators_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/global_menu_bar.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/menu_gtk.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/accelerator_table.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/url_constants.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/common/url_constants.cc View 1 chunk +26 lines, -4 lines 0 comments Download
M chrome/test/functional/shortcuts.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Daniel Erat
https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/browser/ui/views/frame/browser_view.cc#newcode2199 chrome/browser/ui/views/frame/browser_view.cc:2199: case APPCOMMAND_HELP: return IDC_HELP_PAGE_VIA_KEYBOARD; It's unclear to me from ...
8 years, 6 months ago (2012-06-08 16:28:52 UTC) #1
sky
https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/app/chrome_command_ids.h File chrome/app/chrome_command_ids.h (right): https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/app/chrome_command_ids.h#newcode163 chrome/app/chrome_command_ids.h:163: #define IDC_HELP_PAGE_VIA_MENU 40119 I think we should maintain all ...
8 years, 6 months ago (2012-06-08 17:05:20 UTC) #2
Nirnimesh
https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/test/functional/shortcuts.py File chrome/test/functional/shortcuts.py (right): https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/test/functional/shortcuts.py#newcode158 chrome/test/functional/shortcuts.py:158: self.ApplyAccelerator(pyauto.IDC_HELP_PAGE_VIA_KEYBOARD) On 2012/06/08 16:28:52, Daniel Erat wrote: > Nirnimesh, ...
8 years, 6 months ago (2012-06-08 17:49:40 UTC) #3
Nirnimesh
chrome/test/functional LGTM
8 years, 6 months ago (2012-06-08 18:06:20 UTC) #4
Daniel Erat
ptal https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/app/chrome_command_ids.h File chrome/app/chrome_command_ids.h (right): https://chromiumcodereview.appspot.com/10546072/diff/2001/chrome/app/chrome_command_ids.h#newcode163 chrome/app/chrome_command_ids.h:163: #define IDC_HELP_PAGE_VIA_MENU 40119 On 2012/06/08 17:05:20, sky wrote: ...
8 years, 6 months ago (2012-06-08 18:38:45 UTC) #5
sky
LGTM
8 years, 6 months ago (2012-06-08 20:36:19 UTC) #6
Daniel Erat
Mike, mind taking a look at the Mac part of this? https://chromiumcodereview.appspot.com/10546072/diff/12001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): ...
8 years, 6 months ago (2012-06-08 21:07:11 UTC) #7
Daniel Erat
Avi, any thoughts on the question in app_controller_mac.mm?
8 years, 6 months ago (2012-06-11 20:46:15 UTC) #8
Avi (use Gerrit)
http://codereview.chromium.org/10546072/diff/12001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): http://codereview.chromium.org/10546072/diff/12001/chrome/browser/app_controller_mac.mm#newcode1032 chrome/browser/app_controller_mac.mm:1032: menuState_->UpdateCommandEnabled(IDC_HELP_PAGE_VIA_MENU, true); There's no "help" keyboard shortcut on the ...
8 years, 6 months ago (2012-06-11 20:54:06 UTC) #9
Daniel Erat
http://codereview.chromium.org/10546072/diff/12001/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (right): http://codereview.chromium.org/10546072/diff/12001/chrome/browser/app_controller_mac.mm#newcode1032 chrome/browser/app_controller_mac.mm:1032: menuState_->UpdateCommandEnabled(IDC_HELP_PAGE_VIA_MENU, true); On 2012/06/11 20:54:06, Avi wrote: > There's ...
8 years, 6 months ago (2012-06-11 21:05:37 UTC) #10
Avi (use Gerrit)
lgtm
8 years, 6 months ago (2012-06-11 21:28:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10546072/3004
8 years, 6 months ago (2012-06-12 00:14:31 UTC) #12
commit-bot: I haz the power
Try job failure for 10546072-3004 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-12 00:43:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10546072/3004
8 years, 6 months ago (2012-06-12 03:01:17 UTC) #14
commit-bot: I haz the power
8 years, 6 months ago (2012-06-12 03:49:53 UTC) #15
Change committed as 141609

Powered by Google App Engine
This is Rietveld 408576698