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

Issue 1585011: Add menu and menu item events to the accessibility extension api, and... (Closed)

Created:
10 years, 8 months ago by dmazzoni
Modified:
9 years, 7 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add menu and menu item events to the accessibility extension api, and generate menu item notifications for gtk menus. The code to generate menu open and close events is a little more complicated and will come in a future patch. BUG=none TEST=navigated menus with keyboard, watched notifications fire Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43707

Patch Set 1 #

Total comments: 16

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -85 lines) Patch
M chrome/browser/accessibility_events.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/accessibility_events.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_accessibility_api.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_accessibility_api.cc View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_accessibility_api_constants.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_accessibility_api_constants.cc View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/gtk/accessibility_event_router_gtk.h View 1 2 3 9 chunks +28 lines, -18 lines 0 comments Download
M chrome/browser/gtk/accessibility_event_router_gtk.cc View 1 2 3 19 chunks +140 lines, -59 lines 0 comments Download
M chrome/browser/gtk/accessible_widget_helper_gtk.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/gtk/accessible_widget_helper_gtk.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/frame/browser_view.h View 1 2 3 3 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 chunks +44 lines, -1 line 0 comments Download
M chrome/common/notification_type.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dmazzoni
Evan, No hurry, when you have a chance, thanks... - Dominic
10 years, 8 months ago (2010-04-01 21:09:48 UTC) #1
Evan Stade
mostly nits http://codereview.chromium.org/1585011/diff/1/13 File chrome/browser/gtk/accessibility_event_router_gtk.cc (right): http://codereview.chromium.org/1585011/diff/1/13#newcode27 chrome/browser/gtk/accessibility_event_router_gtk.cc:27: reinterpret_cast<AccessibilityEventRouterGtk *>(user_data)-> is the space before the ...
10 years, 8 months ago (2010-04-02 01:30:27 UTC) #2
dmazzoni
Thanks. http://codereview.chromium.org/1585011/diff/1/13 File chrome/browser/gtk/accessibility_event_router_gtk.cc (right): http://codereview.chromium.org/1585011/diff/1/13#newcode27 chrome/browser/gtk/accessibility_event_router_gtk.cc:27: reinterpret_cast<AccessibilityEventRouterGtk *>(user_data)-> On 2010/04/02 01:30:27, Evan Stade wrote: ...
10 years, 8 months ago (2010-04-02 14:14:31 UTC) #3
Evan Stade
http://codereview.chromium.org/1585011/diff/17001/13013 File chrome/browser/gtk/accessibility_event_router_gtk.cc (right): http://codereview.chromium.org/1585011/diff/17001/13013#newcode553 chrome/browser/gtk/accessibility_event_router_gtk.cc:553: // TODO(dmazzoni): Replace with gtk_menu_item_get_label if/when we ever I ...
10 years, 8 months ago (2010-04-02 18:39:42 UTC) #4
dmazzoni
10 years, 8 months ago (2010-04-05 15:49:56 UTC) #5
http://codereview.chromium.org/1585011/diff/17001/13013
File chrome/browser/gtk/accessibility_event_router_gtk.cc (right):

http://codereview.chromium.org/1585011/diff/17001/13013#newcode553
chrome/browser/gtk/accessibility_event_router_gtk.cc:553: // TODO(dmazzoni):
Replace with gtk_menu_item_get_label if/when we ever
On 2010/04/02 18:39:42, Evan Stade wrote:
> I meant,
> 
> #if GTK_CHECK_VERSION(2, 16, 0)
>   name = gtk_menu_item_get_label(item);
> #else
> *your code*
> #endif

Done.

Powered by Google App Engine
This is Rietveld 408576698