summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/RenderThemeAndroid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implement the audio tag in webkit -- the corresponding java CL is ↵Nicolas Roard2010-05-071-0/+94
| | | | | | https://android-git.corp.google.com/g/#change,41406 Change-Id: Ief37a7d9879308f0749fcd569e82fddc3f989a8a
* Add more padding round select boxes, use different assets atLeon Clarke2010-04-261-1/+4
| | | | | | different resolutions, use new assets and don't deform the arrows when stretching the select box. http://b/issue?id=2506670
* Update files in platform/android to match what was upstreamed inAndrei Popescu2009-11-251-56/+57
| | | | | https://bugs.webkit.org/show_bug.cgi?id=31825 https://bugs.webkit.org/show_bug.cgi?id=31831
* Draw ListBoxes to look like MenuLists.Leon Scroggins2009-11-201-2/+75
| | | | | | | | | | | | | | | Cherry-pick of an earlier change, listed below, which was somehow lost. Fixes http://b/issue?id=2273867 https://android-git.corp.google.com/g/#change,5072 Fix <select with multiple and/or size > 1. With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* Update Android tree with what was upstreamed inAndrei Popescu2009-11-161-4/+8
| | | | https://bugs.webkit.org/show_bug.cgi?id=31423
* Allow <select> boxes to draw larger.Leon Scroggins2009-10-091-12/+2
| | | | Fix http://b/issue?id=2159794
* Re-enable using the right foreground color now we use the right backgroundLeon Clarke2009-10-051-6/+0
| | | | color.
* Revert "Don't extend the arrow asset of the combo box over the text, so that ↵Leon Scroggins2009-10-011-2/+8
| | | | | | the real background" This reverts commit 02b5ebb30fc88967b843818cbc61987f9dc9685d.
* Don't extend the arrow asset of the combo box over the text, so that the ↵Leon Clarke2009-10-011-8/+2
| | | | | | | real background color is used. Re-instate using the correct color for the text.
* Update the browser's references to the latest images.Leon Scroggins2009-09-011-1/+1
| | | | | | | | | The browser directly references the names of the asset files it uses to draw buttons, checkboxes, and radio buttons. Update the names to correspond to the latest assets. Fixes issue http://b/issue?id=2086818 Change-Id: Iac8d8762252707e21a88e65ba44de24a5fa2f869
* A bunch of linker error fixesAndrei Popescu2009-08-171-0/+6
|
* Fix RenderThemeAndroid following the changes in ↵Andrei Popescu2009-08-171-5/+5
| | | | http://trac.webkit.org/changeset/43367/trunk/WebCore/dom/Element.h
* Merge in WebKit r47029.Ben Murdoch2009-08-111-82/+12
|
* Invalidate the full rectangle of the highlight when clearing it.Leon Scroggins2009-06-251-1/+1
| | | | | | In drawCursorRing, we potentially use a different value than bounds for the cursor ring. If we use that other value, also use it for the invalidation to clear it later.
* Make buttons draw their state properly.Leon Scroggins2009-06-241-5/+6
| | | | | | Fix for http://b/issue?id=1936210. When we merged the latest WebKit, we lost an api we used, and in the code change we reversed enabled and disabled buttons.
* Fix <select with multiple and/or size > 1.Leon Scroggins2009-06-231-2/+75
| | | | | | | | | With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* Get WebKit r44544.Feng Qian2009-06-171-7/+3
|
* Cleanup for upstreaming to webkit.orgFeng Qian2009-06-091-68/+68
| | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=26264 https://bugs.webkit.org/show_bug.cgi?id=26265 https://bugs.webkit.org/show_bug.cgi?id=26280
* Make <select> elements' text always visible.Leon Scroggins2009-05-061-3/+14
| | | | Fix for buganizer issue 1377239. The <select> element's text was not visible on this page because it was the same color as our treatment. With this change, we now mimic the Mac's behavior and make the text black for enabled elements and dark gray for disabled elements.
* AI 146153: Make the TextDialog invisible, so that we only show WebKit's ↵Leon Scroggins2009-04-141-10/+9
| | | | | | | | | | | | | | | | | | rendering of the textfield, yet we retain the benefits of having the TextDialog. Frame.cpp: Removed a line that should not be there anyway. Somehow when merging in Apple's ENABLE(TEXT_CARET) changes we left in a line that disables the blinking Cursor. Platform.h: Let WebKit draw the cursor. RenderThemeAndroid.cpp: Make the active selection color (the color of a selection in an active <textfield> or <textarea>) visible, and match the selection color shown in other places in Android. WebViewCore.cpp: Make the focused node's document's focus controller active. This allows webkit to draw the cursor. TextDialog.java: Set WillNotDraw to true, and remove our background, so that the TextDialog is completely invisible. Note that I have not changed its visibility to View.VISIBLE, which would have other undesired effects (would not accept touch events, for example). Since we are not drawing, remove onPreDraw, which is no longer necessary. In onSelectionChanged, pass a message to webkit telling it that the selection has changed. It is important that the two threads always agree (albeit webkit may be behind) because the user will now only see the selection drawn by webkit. Remove some old flawed code whose purpose was to keep the selection up to date and do not send key events for arrow keys (which would mess up the selection that was correct thanks to onSelectionChanged). BUG=1781070,1712752,916193,1411370,1160999,1775425,1354814 Automated import of CL 146153
* AI 145796: Land the WebKit merge @r42026.Feng Qian2009-04-101-7/+11
| | | | Automated import of CL 145796
* AI 144458: Remove our hack to prevent drawing the selection, and set our ↵Leon Scroggins2009-04-031-3/+5
| | | | | | selection color to transparent. This gets us the same result while simplifying the merge. Automated import of CL 144458
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+318
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-318/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-29/+6
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-13/+21
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-16/+24
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-17/+29
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+313