Changeset 120567
- Timestamp:
- 06/17/12 21:18:46 (5 months ago)
- Author:
- yosin@chromium.org
- Message:
-
[Forms] Copy RenderTextControlSingleLine.{cpp,h} to RenderSearchFiled.{cpp,h}
https://bugs.webkit.org/show_bug.cgi?id=89155
This patch copies RenderTextControlSingleLine.cpp and .h into RenderSearchField.cpp
and .h with just "cp" code. New files aren't compiled until bug 88980.
No new tests. This patch doesn't change behavior.
- rendering/RenderSearchField.cpp: Added. (WebCore): (WebCore::RenderTextControlInnerBlock::positionForPoint): (WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine): (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine): (WebCore::RenderTextControlSingleLine::containerElement): (WebCore::RenderTextControlSingleLine::innerBlockElement): (WebCore::RenderTextControlSingleLine::innerSpinButtonElement): (WebCore::RenderTextControlSingleLine::resultsButtonElement): (WebCore::RenderTextControlSingleLine::cancelButtonElement): (WebCore::RenderTextControlSingleLine::textBaseStyle): (WebCore::RenderTextControlSingleLine::addSearchResult): (WebCore::RenderTextControlSingleLine::showPopup): (WebCore::RenderTextControlSingleLine::hidePopup): (WebCore::RenderTextControlSingleLine::paint): (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::nodeAtPoint): (WebCore::RenderTextControlSingleLine::styleDidChange): (WebCore::RenderTextControlSingleLine::capsLockStateMayHaveChanged): (WebCore::RenderTextControlSingleLine::hasControlClip): (WebCore::RenderTextControlSingleLine::controlClipRect): (WebCore::RenderTextControlSingleLine::getAvgCharWidth): (WebCore::RenderTextControlSingleLine::preferredContentWidth): (WebCore::RenderTextControlSingleLine::computeControlHeight): (WebCore::RenderTextControlSingleLine::updateFromElement): (WebCore::RenderTextControlSingleLine::createInnerTextStyle): (WebCore::RenderTextControlSingleLine::createInnerBlockStyle): (WebCore::RenderTextControlSingleLine::updateCancelButtonVisibility): (WebCore::RenderTextControlSingleLine::visibilityForCancelButton): (WebCore::RenderTextControlSingleLine::textShouldBeTruncated): (WebCore::RenderTextControlSingleLine::autosaveName): (WebCore::RenderTextControlSingleLine::valueChanged): (WebCore::RenderTextControlSingleLine::itemText): (WebCore::RenderTextControlSingleLine::itemLabel): (WebCore::RenderTextControlSingleLine::itemIcon): (WebCore::RenderTextControlSingleLine::itemIsEnabled): (WebCore::RenderTextControlSingleLine::itemStyle): (WebCore::RenderTextControlSingleLine::menuStyle): (WebCore::RenderTextControlSingleLine::clientInsetLeft): (WebCore::RenderTextControlSingleLine::clientInsetRight): (WebCore::RenderTextControlSingleLine::clientPaddingLeft): (WebCore::RenderTextControlSingleLine::clientPaddingRight): (WebCore::RenderTextControlSingleLine::listSize): (WebCore::RenderTextControlSingleLine::selectedIndex): (WebCore::RenderTextControlSingleLine::popupDidHide): (WebCore::RenderTextControlSingleLine::itemIsSeparator): (WebCore::RenderTextControlSingleLine::itemIsLabel): (WebCore::RenderTextControlSingleLine::itemIsSelected): (WebCore::RenderTextControlSingleLine::setTextFromItem): (WebCore::RenderTextControlSingleLine::fontSelector): (WebCore::RenderTextControlSingleLine::hostWindow): (WebCore::RenderTextControlSingleLine::autoscroll): (WebCore::RenderTextControlSingleLine::scrollWidth): (WebCore::RenderTextControlSingleLine::scrollHeight): (WebCore::RenderTextControlSingleLine::scrollLeft): (WebCore::RenderTextControlSingleLine::scrollTop): (WebCore::RenderTextControlSingleLine::setScrollLeft): (WebCore::RenderTextControlSingleLine::setScrollTop): (WebCore::RenderTextControlSingleLine::scroll): (WebCore::RenderTextControlSingleLine::logicalScroll): (WebCore::RenderTextControlSingleLine::createScrollbar): (WebCore::RenderTextControlSingleLine::inputElement):
- rendering/RenderSearchField.h: Added. (WebCore): (RenderTextControlSingleLine): (WebCore::RenderTextControlSingleLine::popupIsVisible): (WebCore::RenderTextControlSingleLine::isTextField): (WebCore::toRenderTextControlSingleLine): (RenderTextControlInnerBlock): (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): (WebCore::RenderTextControlInnerBlock::hasLineIfEmpty):
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r120566 r120567 1 2012-06-17 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Copy RenderTextControlSingleLine.{cpp,h} to RenderSearchFiled.{cpp,h} 4 https://bugs.webkit.org/show_bug.cgi?id=89155 5 6 This patch copies RenderTextControlSingleLine.cpp and .h into RenderSearchField.cpp 7 and .h with just "cp" code. New files aren't compiled until bug 88980. 8 9 No new tests. This patch doesn't change behavior. 10 11 * rendering/RenderSearchField.cpp: Added. 12 (WebCore): 13 (WebCore::RenderTextControlInnerBlock::positionForPoint): 14 (WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine): 15 (WebCore::RenderTextControlSingleLine::~RenderTextControlSingleLine): 16 (WebCore::RenderTextControlSingleLine::containerElement): 17 (WebCore::RenderTextControlSingleLine::innerBlockElement): 18 (WebCore::RenderTextControlSingleLine::innerSpinButtonElement): 19 (WebCore::RenderTextControlSingleLine::resultsButtonElement): 20 (WebCore::RenderTextControlSingleLine::cancelButtonElement): 21 (WebCore::RenderTextControlSingleLine::textBaseStyle): 22 (WebCore::RenderTextControlSingleLine::addSearchResult): 23 (WebCore::RenderTextControlSingleLine::showPopup): 24 (WebCore::RenderTextControlSingleLine::hidePopup): 25 (WebCore::RenderTextControlSingleLine::paint): 26 (WebCore::RenderTextControlSingleLine::layout): 27 (WebCore::RenderTextControlSingleLine::nodeAtPoint): 28 (WebCore::RenderTextControlSingleLine::styleDidChange): 29 (WebCore::RenderTextControlSingleLine::capsLockStateMayHaveChanged): 30 (WebCore::RenderTextControlSingleLine::hasControlClip): 31 (WebCore::RenderTextControlSingleLine::controlClipRect): 32 (WebCore::RenderTextControlSingleLine::getAvgCharWidth): 33 (WebCore::RenderTextControlSingleLine::preferredContentWidth): 34 (WebCore::RenderTextControlSingleLine::computeControlHeight): 35 (WebCore::RenderTextControlSingleLine::updateFromElement): 36 (WebCore::RenderTextControlSingleLine::createInnerTextStyle): 37 (WebCore::RenderTextControlSingleLine::createInnerBlockStyle): 38 (WebCore::RenderTextControlSingleLine::updateCancelButtonVisibility): 39 (WebCore::RenderTextControlSingleLine::visibilityForCancelButton): 40 (WebCore::RenderTextControlSingleLine::textShouldBeTruncated): 41 (WebCore::RenderTextControlSingleLine::autosaveName): 42 (WebCore::RenderTextControlSingleLine::valueChanged): 43 (WebCore::RenderTextControlSingleLine::itemText): 44 (WebCore::RenderTextControlSingleLine::itemLabel): 45 (WebCore::RenderTextControlSingleLine::itemIcon): 46 (WebCore::RenderTextControlSingleLine::itemIsEnabled): 47 (WebCore::RenderTextControlSingleLine::itemStyle): 48 (WebCore::RenderTextControlSingleLine::menuStyle): 49 (WebCore::RenderTextControlSingleLine::clientInsetLeft): 50 (WebCore::RenderTextControlSingleLine::clientInsetRight): 51 (WebCore::RenderTextControlSingleLine::clientPaddingLeft): 52 (WebCore::RenderTextControlSingleLine::clientPaddingRight): 53 (WebCore::RenderTextControlSingleLine::listSize): 54 (WebCore::RenderTextControlSingleLine::selectedIndex): 55 (WebCore::RenderTextControlSingleLine::popupDidHide): 56 (WebCore::RenderTextControlSingleLine::itemIsSeparator): 57 (WebCore::RenderTextControlSingleLine::itemIsLabel): 58 (WebCore::RenderTextControlSingleLine::itemIsSelected): 59 (WebCore::RenderTextControlSingleLine::setTextFromItem): 60 (WebCore::RenderTextControlSingleLine::fontSelector): 61 (WebCore::RenderTextControlSingleLine::hostWindow): 62 (WebCore::RenderTextControlSingleLine::autoscroll): 63 (WebCore::RenderTextControlSingleLine::scrollWidth): 64 (WebCore::RenderTextControlSingleLine::scrollHeight): 65 (WebCore::RenderTextControlSingleLine::scrollLeft): 66 (WebCore::RenderTextControlSingleLine::scrollTop): 67 (WebCore::RenderTextControlSingleLine::setScrollLeft): 68 (WebCore::RenderTextControlSingleLine::setScrollTop): 69 (WebCore::RenderTextControlSingleLine::scroll): 70 (WebCore::RenderTextControlSingleLine::logicalScroll): 71 (WebCore::RenderTextControlSingleLine::createScrollbar): 72 (WebCore::RenderTextControlSingleLine::inputElement): 73 * rendering/RenderSearchField.h: Added. 74 (WebCore): 75 (RenderTextControlSingleLine): 76 (WebCore::RenderTextControlSingleLine::popupIsVisible): 77 (WebCore::RenderTextControlSingleLine::isTextField): 78 (WebCore::toRenderTextControlSingleLine): 79 (RenderTextControlInnerBlock): 80 (WebCore::RenderTextControlInnerBlock::RenderTextControlInnerBlock): 81 (WebCore::RenderTextControlInnerBlock::hasLineIfEmpty): 82 1 83 2012-06-17 Yoshifumi Inoue <yosin@chromium.org> 2 84
Note: See TracChangeset
for help on using the changeset viewer.