RESOLVED FIXED 22757
break out text caret paint as enabled feature
https://bugs.webkit.org/show_bug.cgi?id=22757
Summary break out text caret paint as enabled feature
Cary Clark
Reported 2008-12-09 08:35:15 PST
Android draws input text in a separate thread using a java-based text view. Suppress drawing the caret when the feature is disabled and a text field is selected, to reduce the painting and invalidates that Android responds to.
Attachments
patch to allow disabling text caret (4.11 KB, patch)
2008-12-09 08:38 PST, Cary Clark
darin: review+
patch to allow disabling text caret (4.15 KB, patch)
2008-12-09 09:19 PST, Cary Clark
darin: review+
Cary Clark
Comment 1 2008-12-09 08:38:22 PST
Created attachment 25887 [details] patch to allow disabling text caret one of many patches to get local Android changes into webkit
Darin Adler
Comment 2 2008-12-09 09:06:00 PST
Comment on attachment 25887 [details] patch to allow disabling text caret > Index: JavaScriptCore/ChangeLog > =================================================================== > --- JavaScriptCore/ChangeLog (revision 39135) > +++ JavaScriptCore/ChangeLog (working copy) > @@ -1,3 +1,13 @@ > +2008-12-09 Cary Clark <caryclark@google.com> > + > + Reviewed by NOBODY (OOPS!). > + > + Add ENABLE_TEXT_CARET to permit the ANDROID platform > + to invalidate and draw the caret in a separate thread. > + > + * wtf/Platform.h: > + Default ENABLE_TEXT_CARET to 1. ChangeLog has tabs in it. This makes it harder to land the patch, because the committer has to change the tabs to spaces. Please don't use tabs in WebKit changes. Patch otherwise looks fine. r=me
Cary Clark
Comment 3 2008-12-09 09:19:48 PST
Created attachment 25889 [details] patch to allow disabling text caret replace tabs with spaces in ChangeLogs
Adam Barth
Comment 4 2008-12-17 11:22:10 PST
Will land.
Adam Barth
Comment 5 2008-12-17 13:40:30 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M JavaScriptCore/ChangeLog M JavaScriptCore/wtf/Platform.h M WebCore/ChangeLog M WebCore/page/Frame.cpp Committed r39362 M JavaScriptCore/wtf/Platform.h M JavaScriptCore/ChangeLog M WebCore/ChangeLog M WebCore/page/Frame.cpp r39362 = ed04161a85f1c3cffaec802851b6a437af34d68d (trunk)
Note You need to log in before you can comment on or make changes to this bug.