[chromium] Get text direction at the start and end of selection.
Created attachment 142152 [details] Patch
Created attachment 142154 [details] Wrong behavior currently without the change. Screenshot to show the problem.
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
Comment on attachment 142152 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142152&action=review I wonder at what point it makes sense to split off a WebSelection object that has all these APIs. > Source/WebKit/chromium/public/WebWidget.h:180 > +#if defined(ANDROID) Please remove this ifdef. This API isn't Android specific.
Created attachment 142399 [details] Patch
(In reply to comment #4) > (From update of attachment 142152 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=142152&action=review > > I wonder at what point it makes sense to split off a WebSelection object that has all these APIs. > > > Source/WebKit/chromium/public/WebWidget.h:180 > > +#if defined(ANDROID) > > Please remove this ifdef. This API isn't Android specific. Done. Yes, maybe ChromeOS with touch screen also needs it.
Comment on attachment 142399 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=142399&action=review > Source/WebKit/chromium/src/WebViewImpl.cpp:1976 > +#if OS(ANDROID) Sorry, I meant we should remove all the ANDROID ifdefs from this patch.
Created attachment 142406 [details] Patch
(In reply to comment #7) > (From update of attachment 142399 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=142399&action=review > > > Source/WebKit/chromium/src/WebViewImpl.cpp:1976 > > +#if OS(ANDROID) > > Sorry, I meant we should remove all the ANDROID ifdefs from this patch. No problem. Thanks for reviewing!
Comment on attachment 142406 [details] Patch Great. Thank you!
Comment on attachment 142406 [details] Patch Clearing flags on attachment: 142406 Committed r117398: <http://trac.webkit.org/changeset/117398>
All reviewed patches have been landed. Closing bug.