[webkit-reviews] review denied: [Bug 27048] [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects : [Attachment 74224] Patch proposal + Layout Test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 13 03:44:58 PST 2010


Xan Lopez <xan.lopez at gmail.com> has denied Mario Sanchez Prada
<msanchez at igalia.com>'s request for review:
Bug 27048: [Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding
events for text objects
https://bugs.webkit.org/show_bug.cgi?id=27048

Attachment 74224: Patch proposal + Layout Test
https://bugs.webkit.org/attachment.cgi?id=74224&action=review

------- Additional Comments from Xan Lopez <xan.lopez at gmail.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=74224&action=review

Mostly looks good to me, just have some doubts/comments, see below.

> WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:506
> +    Settings* settings = coreObject->document()->frame()->settings();

Some of those can be in some situations NULL. At the very least frame(). If
this function can never be called in those cases then you should ASSERT.

> WebCore/accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:521
> +    return !selectionBelongsToObject(coreObject, selection) ||
selection.isNone() ? 0 : 1;

How is this grouping exactly? It's a quite confusing statement.

> WebCore/editing/gtk/SelectionControllerGtk.cpp:48
> +    static RefPtr<AccessibilityObject> oldObject = 0;

Mmm, I think you want to use DEFINE_STATIC_LOCAL here?

> WebCore/editing/gtk/SelectionControllerGtk.cpp:82
> +    // Reset lastFocuseNode and return for no valid selections.

I don't see that reset happening?


More information about the webkit-reviews mailing list