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

Issue 2338001: Add accessible_name property for info bubbles (so far added name to bookmark ... (Closed)

Created:
10 years, 7 months ago by dtseng
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Add accessible_name property for info bubbles (so far added name to bookmark bubble object which implements WidgetWin). TEST=none BUG=9601 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49849

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/views/bookmark_bubble_view.h View 1 chunk +1 line, -0 lines 1 comment Download
M chrome/browser/views/bookmark_bubble_view.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/views/info_bubble.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/views/info_bubble.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
dtseng
10 years, 7 months ago (2010-05-27 23:32:24 UTC) #1
dmazzoni
LGTM. http://codereview.chromium.org/2338001/diff/6001/7003 File chrome/browser/views/bookmark_bubble_view.h (right): http://codereview.chromium.org/2338001/diff/6001/7003#newcode126 chrome/browser/views/bookmark_bubble_view.h:126: virtual std::wstring accessible_name(); You inadvertantly grouped this with ...
10 years, 6 months ago (2010-06-01 14:14:57 UTC) #2
dtseng
accessible_name overrides InfoBubbleDelegate's accessible_name, so that's why I place it there. I'm not clear on ...
10 years, 6 months ago (2010-06-01 17:42:12 UTC) #3
dmazzoni
10 years, 6 months ago (2010-06-01 20:17:40 UTC) #4
Oops, you're right. I thought it was the other accessibility name getter.

I'll patch this in and send to trybots now.

- Dominic

On Tue, Jun 1, 2010 at 10:41 AM, David Tseng <dtseng@google.com> wrote:

> accessible_name overrides InfoBubbleDelegate's accessible_name, so
> that's why I place it there.  I'm not clear on the accessmodifiers
> with the nested class definition above, but at runtime, InfoBubble
> does have access to the delegate's accessible_name property.
>
> It's a bit confusing I'll admit since the BookmarkBubbleView
> implements both the InfoBubbleDelegate interface and inherit from View
> (both of which have an accessibility name getter).
>
> On 6/1/10, dmazzoni@chromium.org <dmazzoni@chromium.org> wrote:
> > LGTM.
> >
> >
> >
> > http://codereview.chromium.org/2338001/diff/6001/7003
> > File chrome/browser/views/bookmark_bubble_view.h (right):
> >
> > http://codereview.chromium.org/2338001/diff/6001/7003#newcode126
> > chrome/browser/views/bookmark_bubble_view.h:126: virtual std::wstring
> > accessible_name();
> > You inadvertantly grouped this with InfoDelegate methods. If this method
> > is supposed to be public, I'd put it right after set_info_bubble, above.
> >
> > http://codereview.chromium.org/2338001/show
> >
>

Powered by Google App Engine
This is Rietveld 408576698