DescriptionClip Views textfield drag images to selected text.
Paint views::Textfield drag images with views::Labels.
Makes the drag image fit the size of the selected text.
(not as wide as the origin Omnibox/textfield itself)
Use an offset for the image similar to the Unity desktop.
This changes the appearance of split-selection BiDi text.
(doesn't show blank area between the visually split text)
See before/after pictures at http://crbug.com/349105
Remove now unused RenderText::DrawSelectedTextForDrag.
BUG=349105
TEST=Linux Aura and ChromeOS text drag images look good.
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255310
Patch Set 1 #Patch Set 2 : Finish implementation; cleanup. #Patch Set 3 : Implement with a Label; cleanup. #Patch Set 4 : Support transparency in ChromeOS. #
Total comments: 4
Patch Set 5 : Clamp canvas size; remove static keyword. #
Messages
Total messages: 13 (0 generated)
|