1. 04 Apr, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops... · d163f0f7
      commit-queue@webkit.org authored
      [BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing render tree when it hits an iframe element
      https://bugs.webkit.org/show_bug.cgi?id=113944
      
      Patch by Andrew Lo <anlo@rim.com> on 2013-04-04
      Reviewed by Rob Buis.
      Internally reviewed by Mike Fenton.
      
      Internal PR 320732.
      When checking whether a RenderObject is fixed position or has a fixed position
      ancestor, we traverse the render tree upwards.
      
      When we reach the root of the tree, check whether the root is an
      iframe and has an element owner. If so, we also need to continue iterating
      up the tree from the owner to see if the iframe is a descendant of a fixed
      position element.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isFixedPositionOrHasFixedPositionAncestor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d163f0f7
  2. 28 Mar, 2013 1 commit
    • falken@chromium.org's avatar
      Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormControl · 2113254c
      falken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113273
      
      Reviewed by Kent Tamura.
      
      Element::disabled is about form controls and Element::isEnabledFormControl
      is redundant with it, so replace them with a single function
      Element::isDisabledFormControl.
      
      Source/WebCore:
      
      No new tests, there should be no behavior change.
      
      * accessibility/AccessibilityListBox.cpp:
      (WebCore::AccessibilityListBox::canSetSelectedChildrenAttribute):
      * accessibility/AccessibilityListBoxOption.cpp:
      (WebCore::AccessibilityListBoxOption::canSetSelectedAttribute):
      * accessibility/AccessibilityMenuList.cpp:
      (WebCore::AccessibilityMenuList::canSetFocusAttribute):
      * accessibility/AccessibilityMenuListOption.cpp:
      (WebCore::AccessibilityMenuListOption::isEnabled):
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::isEnabled):
      (WebCore::AccessibilityNodeObject::actionElement):
      (WebCore::AccessibilityNodeObject::canSetFocusAttribute):
      * css/SelectorChecker.cpp:
      (WebCore::SelectorChecker::checkOne):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::canShareStyleWithControl):
      * dom/Element.cpp:
      (WebCore::Element::isDisabledFormControl):
      * dom/Element.h:
      (Element):
      (WebCore::isDisabledFormControl): Add helper function for convenience.
      (WebCore):
      * dom/EventDispatcher.cpp:
      (WebCore::EventDispatcher::dispatchSimulatedClick):
      * dom/GestureEvent.cpp:
      (WebCore::GestureEventDispatchMediator::dispatchEvent):
      * dom/MouseEvent.cpp:
      (WebCore::MouseEventDispatchMediator::dispatchEvent):
      * dom/Node.cpp:
      (WebCore::Node::handleLocalEvents):
      (WebCore::Node::willRespondToMouseMoveEvents):
      (WebCore::Node::willRespondToMouseClickEvents):
      (WebCore::Node::willRespondToTouchEvents):
      * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
      (WebCore::BaseMultipleFieldsDateAndTimeInputType::isEditControlOwnerDisabled):
      * html/DOMFormData.cpp:
      (WebCore::DOMFormData::DOMFormData):
      * html/FileInputType.cpp:
      (WebCore::FileInputType::handleDOMActivateEvent):
      (WebCore::FileInputType::disabledAttributeChanged):
      * html/HTMLButtonElement.cpp:
      (WebCore::HTMLButtonElement::defaultEventHandler):
      (WebCore::HTMLButtonElement::willRespondToMouseClickEvents):
      (WebCore::HTMLButtonElement::isSuccessfulSubmitButton):
      * html/HTMLCollection.cpp:
      (WebCore::isMatchingElement):
      * html/HTMLFormControlElement.cpp:
      (WebCore::HTMLFormControlElement::updateAncestorDisabledState):
      (WebCore::HTMLFormControlElement::isDisabledFormControl):
      (WebCore::HTMLFormControlElement::supportsFocus):
      * html/HTMLFormControlElement.h:
      (HTMLFormControlElement):
      (WebCore::HTMLFormControlElement::isDisabledOrReadOnly):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::isSuccessfulSubmitButton):
      (WebCore::HTMLInputElement::willRespondToMouseClickEvents):
      * html/HTMLOptGroupElement.cpp:
      (WebCore::HTMLOptGroupElement::isDisabledFormControl):
      * html/HTMLOptGroupElement.h:
      (HTMLOptGroupElement):
      * html/HTMLOptionElement.cpp:
      (WebCore::HTMLOptionElement::isDisabledFormControl):
      * html/HTMLOptionElement.h:
      (HTMLOptionElement):
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::willRespondToMouseClickEvents):
      * html/HTMLSelectElement.cpp:
      (WebCore::HTMLSelectElement::nextValidIndex):
      (WebCore::HTMLSelectElement::updateListBoxSelection):
      (WebCore::HTMLSelectElement::recalcListItems):
      (WebCore::HTMLSelectElement::appendFormData):
      (WebCore::HTMLSelectElement::updateSelectedState):
      (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
      (WebCore::HTMLSelectElement::defaultEventHandler):
      (WebCore::HTMLSelectElement::optionAtIndex):
      * html/ImageInputType.cpp:
      (WebCore::ImageInputType::handleDOMActivateEvent):
      * html/ResetInputType.cpp:
      (WebCore::ResetInputType::handleDOMActivateEvent):
      * html/SubmitInputType.cpp:
      (WebCore::SubmitInputType::handleDOMActivateEvent):
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::SliderThumbElement::isDisabledFormControl):
      (WebCore::SliderThumbElement::defaultEventHandler):
      (WebCore::SliderThumbElement::willRespondToMouseMoveEvents):
      (WebCore::SliderThumbElement::willRespondToMouseClickEvents):
      * html/shadow/SliderThumbElement.h:
      (SliderThumbElement):
      * html/shadow/SpinButtonElement.h:
      * html/shadow/TextFieldDecorationElement.cpp:
      (WebCore::TextFieldDecorationElement::updateImage):
      * loader/FormSubmission.cpp:
      (WebCore::FormSubmission::create):
      * page/DragController.cpp:
      (WebCore::DragController::tryDocumentDrag):
      (WebCore::DragController::concludeEditDrag):
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::addFocusRingRects):
      (WebCore::RenderListBox::paintItemForeground):
      * rendering/RenderMenuList.cpp:
      (WebCore::RenderMenuList::itemIsEnabled):
      * rendering/RenderTextControl.cpp:
      (WebCore::updateUserModifyProperty):
      * rendering/RenderTheme.cpp:
      (WebCore::RenderTheme::isEnabled):
      * rendering/RenderThemeMac.mm:
      (WebCore::getMediaUIPartStateFlags):
      * rendering/RenderThemeMacShared.mm:
      (WebCore::RenderThemeMacShared::adjustMenuListStyle):
      (WebCore::RenderThemeMacShared::paintSearchFieldCancelButton):
      * rendering/RenderThemeSafari.cpp:
      (WebCore::RenderThemeSafari::adjustMenuListStyle):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/CredentialTransformData.cpp:
      (WebCore::CredentialTransformData::findPasswordFormFields):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::openSelectPopup):
      
      Source/WebKit/chromium:
      
      * src/WebFormControlElement.cpp:
      (WebKit::WebFormControlElement::isEnabled):
      * src/WebOptionElement.cpp:
      (WebKit::WebOptionElement::isEnabled):
      * src/WebPasswordFormUtils.cpp:
      (WebKit::findPasswordFormFields):
      * src/WebSearchableFormData.cpp:
      (HTMLNames::findSuitableSearchInputElement):
      (HTMLNames::buildSearchString):
      
      Source/WebKit/win:
      
      * DOMHTMLClasses.cpp:
      (DOMHTMLInputElement::disabled):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2113254c
  3. 14 Mar, 2013 1 commit
    • inferno@chromium.org's avatar
      Replace static_casts with to* helper functions. · 9aa9e8d7
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112296
      
      Reviewed by Kentaro Hara.
      
      to* helper functions are preferred over static_cast calls since they
      help to catch bad casts easily on the testing infrastructure.
      
      Source/WebCore:
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::nodeHasRole):
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::hasAttribute):
      (WebCore::AccessibilityObject::getAttribute):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::anchorElement):
      (WebCore::AccessibilityRenderObject::helpText):
      (WebCore::AccessibilityRenderObject::checkboxOrRadioRect):
      (WebCore::AccessibilityRenderObject::titleUIElement):
      (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
      (WebCore::AccessibilityRenderObject::accessKey):
      (WebCore::AccessibilityRenderObject::setElementAttributeValue):
      (WebCore::AccessibilityRenderObject::setValue):
      (WebCore::AccessibilityRenderObject::activeDescendant):
      (WebCore::AccessibilityRenderObject::handleActiveDescendantChanged):
      (WebCore::AccessibilityRenderObject::correspondingLabelForControlElement):
      (WebCore::AccessibilityRenderObject::inheritsPresentationalRole):
      (WebCore::AccessibilityRenderObject::setAccessibleName):
      (WebCore::AccessibilityRenderObject::stringRoleForMSAA):
      * bindings/gobject/WebKitDOMBinding.cpp:
      (WebKit::createWrapper):
      * bindings/js/JSClipboardCustom.cpp:
      (WebCore::JSClipboard::setDragImage):
      * bindings/js/JSElementCustom.cpp:
      (WebCore::toJSNewlyCreated):
      * bindings/js/JSNodeCustom.cpp:
      (WebCore::createWrapperInline):
      * bindings/v8/custom/V8ClipboardCustom.cpp:
      (WebCore::V8Clipboard::setDragImageMethodCustom):
      * bindings/v8/custom/V8ElementCustom.cpp:
      (WebCore::wrap):
      * bindings/v8/custom/V8NodeCustom.cpp:
      (WebCore::wrap):
      * dom/Document.cpp:
      (WebCore::Document::importNode):
      (WebCore::Document::recalcStyle):
      (WebCore::Document::setFocusedNode):
      (WebCore::Document::updateFocusAppearanceTimerFired):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
      * dom/Element.cpp:
      (WebCore::Element::offsetParent):
      (WebCore::Element::boundsInRootViewSpace):
      (WebCore::Element::getBoundingClientRect):
      (WebCore::Element::recalcStyle):
      (WebCore::Element::computeInheritedLanguage):
      (WebCore::Element::lastElementChild):
      * dom/LiveNodeList.cpp:
      (WebCore::LiveNodeList::namedItem):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::normalize):
      (WebCore::Node::rootEditableElement):
      (WebCore::Node::isDefaultNamespace):
      (WebCore::Node::ancestorElement):
      (WebCore::appendAttributeDesc):
      * dom/Position.cpp:
      (WebCore::Position::element):
      * dom/Range.cpp:
      (WebCore::Range::getBorderAndTextQuads):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorDataList::queryFirst):
      (WebCore::SelectorDataList::execute):
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::recalcStyle):
      * dom/StaticHashSetNodeList.cpp:
      (WebCore::StaticHashSetNodeList::namedItem):
      * editing/ApplyStyleCommand.cpp:
      (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi):
      (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode):
      (WebCore::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
      (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement):
      * editing/Editor.cpp:
      (WebCore::Editor::applyEditingStyleToBodyElement):
      * editing/FrameSelection.cpp:
      (WebCore::removingNodeRemovesPosition):
      * editing/IndentOutdentCommand.cpp:
      (WebCore::IndentOutdentCommand::outdentParagraph):
      * editing/MarkupAccumulator.cpp:
      (WebCore::MarkupAccumulator::entityMaskForText):
      (WebCore::MarkupAccumulator::appendStartMarkup):
      (WebCore::MarkupAccumulator::appendEndMarkup):
      * editing/ModifySelectionListLevel.cpp:
      (WebCore::IncreaseSelectionListLevelCommand::doApply):
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::haveSameTagName):
      (WebCore::handleStyleSpansBeforeInsertion):
      (WebCore::ReplaceSelectionCommand::doApply):
      * editing/SplitTextNodeContainingElementCommand.cpp:
      (WebCore::SplitTextNodeContainingElementCommand::doApply):
      * editing/TextIterator.cpp:
      (WebCore::TextIterator::advance):
      * editing/htmlediting.cpp:
      (WebCore::unsplittableElementForPosition):
      (WebCore::enclosingTableCell):
      * editing/markup.cpp:
      (WebCore::StyledMarkupAccumulator::wrapWithNode):
      (WebCore::createMarkupInternal):
      (WebCore::createFragmentFromMarkupWithContext):
      (WebCore::isPlainTextMarkup):
      (WebCore::createFragmentFromText):
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::insertAdjacentElement):
      (WebCore::contextElementForInsertion):
      * html/HTMLFormControlElement.cpp:
      (WebCore::focusPostAttach):
      (WebCore::updateFromElementCallback):
      * html/HTMLFormElement.cpp:
      (WebCore::submitElementFromEvent):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::updateDocNamedItem):
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::updateSnapshotInfo):
      * html/HTMLViewSourceDocument.cpp:
      (WebCore::HTMLViewSourceDocument::addRange):
      * html/parser/HTMLTreeBuilder.cpp:
      (WebCore::closestFormAncestor):
      * html/shadow/MediaControlElementTypes.cpp:
      (WebCore::toParentMediaElement):
      * html/shadow/TextFieldDecorationElement.h:
      (WebCore::toTextFieldDecorationElement):
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::createDigest):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::buildObjectForNode):
      (WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyleSheet::inlineStyleSheetText):
      * mathml/MathMLElement.h:
      (WebCore::toMathMLElement):
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::populate):
      * page/DragController.cpp:
      (WebCore::elementUnderMouse):
      (WebCore::DragController::startDrag):
      * page/FocusController.cpp:
      (WebCore::FocusController::advanceFocusInDocumentOrder):
      * page/Frame.cpp:
      (WebCore::Frame::searchForLabelsBeforeElement):
      * page/FrameView.cpp:
      (WebCore::FrameView::updateWidget):
      * page/SpatialNavigation.cpp:
      (WebCore::rectToAbsoluteCoordinates):
      * page/animation/ImplicitAnimation.cpp:
      (WebCore::ImplicitAnimation::sendTransitionEvent):
      * page/animation/KeyframeAnimation.cpp:
      (WebCore::KeyframeAnimation::KeyframeAnimation):
      (WebCore::KeyframeAnimation::sendAnimationEvent):
      * platform/efl/RenderThemeEfl.cpp:
      (WebCore::RenderThemeEfl::paintMediaFullscreenButton):
      (WebCore::RenderThemeEfl::paintMediaMuteButton):
      * rendering/FilterEffectRenderer.cpp:
      (WebCore::FilterEffectRenderer::buildReferenceFilter):
      * rendering/svg/RenderSVGViewportContainer.cpp:
      (WebCore::RenderSVGViewportContainer::calcViewport):
      * svg/SVGSVGElement.cpp:
      (WebCore::SVGSVGElement::getElementById):
      * svg/SVGUseElement.cpp:
      (WebCore::isDisallowedElement):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::buildPendingResource):
      * xml/XPathStep.cpp:
      (WebCore::XPath::nodeMatchesBasicTest):
      * xml/parser/XMLDocumentParserQt.cpp:
      (WebCore::XMLDocumentParser::XMLDocumentParser):
      (WebCore::XMLDocumentParser::parseEndElement):
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::webContext):
      (BlackBerry::WebKit::WebPagePrivate::handleMouseEvent):
      (BlackBerry::WebKit::WebPage::setNodeFocus):
      (BlackBerry::WebKit::WebPagePrivate::adjustFullScreenElementDimensionsIfNeeded):
      * WebCoreSupport/EditorClientBlackBerry.cpp:
      (WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField):
      (WebCore::EditorClientBlackBerry::shouldChangeSelectedRange):
      * WebKitSupport/BackingStoreClient.cpp:
      (BlackBerry::WebKit::BackingStoreClient::absoluteRect):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::toTextControlElement):
      (BlackBerry::WebKit::DOMSupport::selectionContainerElement):
      * WebKitSupport/FatFingers.cpp:
      (BlackBerry::WebKit::FatFingers::getRelevantInfoFromCachedHitTest):
      (BlackBerry::WebKit::FatFingers::setSuccessfulFatFingersResult):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::focusedNodeChanged):
      (BlackBerry::WebKit::InputHandler::willOpenPopupForNode):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::inputNodeOverridesTouch):
      * WebKitSupport/TouchEventHandler.cpp:
      (BlackBerry::WebKit::elementForTapHighlight):
      
      Source/WebKit/chromium:
      
      * src/WebDocument.cpp:
      (WebKit::WebDocument::images):
      * src/WebElement.cpp:
      (WebKit::WebElement::operator PassRefPtr<Element>):
      * src/WebPageSerializer.cpp:
      (WebCore::retrieveResourcesForFrame):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::setFocus):
      (WebKit::WebViewImpl::clearFocusedNode):
      (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
      (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
      
      Source/WebKit/gtk:
      
      * webkit/webkitwebview.cpp:
      (webkit_web_view_query_tooltip):
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (applyAppleDictionaryApplicationQuirkNonInlinePart):
      * WebView/WebHTMLRepresentation.mm:
      (searchForLabelsBeforeElement):
      
      Source/WebKit/qt:
      
      * Api/qwebelement.cpp:
      (QWebElement::firstChild):
      (QWebElement::lastChild):
      (QWebElement::nextSibling):
      (QWebElement::previousSibling):
      (QWebElementCollection::at):
      (QWebElementCollection::toList):
      * WebCoreSupport/QWebFrameAdapter.cpp:
      (QWebHitTestResultPrivate::elementForInnerNode):
      
      Source/WebKit/win:
      
      * WebView.cpp:
      (WebView::enterFullscreenForNode):
      
      Source/WebKit2:
      
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::elementBounds):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::containsAnyFormElements):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aa9e8d7
  4. 12 Mar, 2013 1 commit
  5. 22 Feb, 2013 1 commit
  6. 20 Feb, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [BlackBerry] Read "data-blackberry-text-selection-handle-position" attribute from element · 89a2ee59
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110235
      
      Patch by Yongxin Dai <yodai@rim.com> on 2013-02-20
      Reviewed by Yong Li.
      
      PR #257207.
      
      Read "data-blackberry-text-selection-handle-position" attribute from element and pass it along
      with notifySelectionDetailsChanged(). If "data-blackberry-text-selection-handle-position" attribute
      is specified in the element, the selection handle is always flipped to the required position.
      along with selected text within element.
      
      Reviewed Internally by Mike Fenton.
      
      * Api/WebPageClient.h:
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::selectionContainerElement):
      (DOMSupport):
      (BlackBerry::WebKit::DOMSupport::elementHandlePositionAttribute):
      * WebKitSupport/DOMSupport.h:
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::requestedSelectionHandlePosition):
      (WebKit):
      (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
      * WebKitSupport/SelectionHandler.h:
      (SelectionHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89a2ee59
  7. 19 Feb, 2013 1 commit
    • nghanavatian@rim.com's avatar
      [BlackBerry] Appropriately handle word wrapping in SpellingHandler · 963986c4
      nghanavatian@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110253
      
      Reviewed by Rob Buis.
      
      PR286001
      Since we traverse through text by visual lines instead of blocks, word wrapping causes some
      bad behavior. Changing the way we traverse text to jump by words instead of lines. This will
      mean it takes longer to finish spellchecking, but the removal of any loops allows webkit
      processing to continue. This gives priority to user actions while still completing a large
      paragraph in a reasonable amount of time.
      
      Internally reviewed by Mike Fenton
      
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::requestCheckingOfString):
      * WebKitSupport/SpellingHandler.cpp:
      (BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest):
      (BlackBerry::WebKit::SpellingHandler::parseBlockForSpellChecking):
      (BlackBerry::WebKit::SpellingHandler::getRangeForSpellCheckWithFineGranularity):
      (BlackBerry::WebKit::SpellingHandler::startOfNextWord):
      (WebKit):
      (BlackBerry::WebKit::SpellingHandler::incrementByWord):
      (BlackBerry::WebKit::SpellingHandler::doesWordWrap):
      * WebKitSupport/SpellingHandler.h:
      (SpellingHandler):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      963986c4
  8. 24 Jan, 2013 1 commit
  9. 23 Jan, 2013 1 commit
    • nghanavatian@rim.com's avatar
      [BlackBerry] Optimize spellchecking by coalescing messages · 31cc0900
      nghanavatian@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107707
      
      Reviewed by Rob Buis.
      
      PR233604
      Instead of taking chunks one line at a time, coalesce them together
      to fire off messages as close to our character limit as possible.
      This should dramatically reduce the total number of messages in email
      giving us a little performance bump.
      
      Internally reviewed by Mike Fenton and Gen Mak.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange):
      (DOMSupport):
      * WebKitSupport/DOMSupport.h:
      * WebKitSupport/InputHandler.cpp:
      * WebKitSupport/InputHandler.h:
      (InputHandler):
      * WebKitSupport/SpellingHandler.cpp:
      (BlackBerry::WebKit::SpellingHandler::spellCheckTextBlock):
      (BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest):
      (BlackBerry::WebKit::SpellingHandler::parseBlockForSpellChecking):
      (BlackBerry::WebKit::SpellingHandler::getRangeForSpellCheckWithFineGranularity):
      * WebKitSupport/SpellingHandler.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31cc0900
  10. 18 Jan, 2013 1 commit
  11. 17 Dec, 2012 2 commits
    • mifenton@rim.com's avatar
      [BlackBerry] Improve DOMSupport visibleSelectionForClosestActualWordStart for content editable. · 8514aee6
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=105198
      
      Reviewed by Rob Buis.
      
      PR 258038.
      
      Improve closest word matching by giving preference to the left when
      distances are equal.
      
      Also enforce container matching to avoid selecting the paragraph
      marker if a CE div is followed immediately by a CE paragraph.
      
      Minor refactor - don't calculate the distance if the selection
      isn't on a word.
      
      Reviewed Internally by Gen Mak and Nima Ghanavatian.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::visibleSelectionForClosestActualWordStart):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8514aee6
    • commit-queue@webkit.org's avatar
      [Blackberry] Static code analysis warning fixes · 3eefa319
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105129
      
      Patch by Anthony Scian <ascian@rim.com> on 2012-12-17
      Reviewed by Rob Buis.
      
      Source/WebCore:
      
      - alloca can return NULL, recoded to just use a temp var
      
      * plugins/blackberry/PluginViewBlackBerry.cpp:
      (WebCore::PluginView::updateBuffer):
      
      Source/WebKit/blackberry:
      
      - disable copy/op= in BackingStore
      - cache and check intermediate values in parentLayer
      - disable copy/op= in InRegionScroller
      - disable copy/op= in WebPageGroupLoadDeferrer
      - disable copy/op= in WebSettings
      - disable copy/op= in WebViewportArguments
      - disable copy/op= in BackingStoreClient
      - disable copy/op= in TileBuffer
      - if stopNode is not NULL, loop could iterate past NULL; added NULL check to loop
        to make the code more robust
      
      * Api/BackingStore.h:
      * Api/InRegionScroller.cpp:
      (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint):
      (BlackBerry::WebKit::parentLayer):
      * Api/InRegionScroller.h:
      * Api/WebPageGroupLoadDeferrer.h:
      * Api/WebSettings.h:
      * Api/WebViewportArguments.h:
      * WebKitSupport/BackingStoreClient.h:
      (BackingStoreClient):
      * WebKitSupport/BackingStoreTile.h:
      (TileBuffer):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::visibleTextQuads):
      
      Tools:
      
      Added null checks for fopen calls, no recovery attempted; access fault prevention only.
      
      * DumpRenderTree/blackberry/DumpRenderTree.cpp:
      (BlackBerry::WebKit::createFile):
      (BlackBerry::WebKit::DumpRenderTree::runTest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3eefa319
  12. 12 Dec, 2012 1 commit
  13. 21 Nov, 2012 1 commit
  14. 19 Oct, 2012 1 commit
  15. 10 Oct, 2012 1 commit
  16. 25 Sep, 2012 1 commit
    • commit-queue@webkit.org's avatar
      [BlackBerry] Handling required for multiple consecutive whitespace · 31612ff4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97575
      
      Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-09-25
      Reviewed by Rob Buis.
      
      PR211670
      Need specific handling in the case where we have multiple
      consecutive whitespaces which exceeds our character limit. This
      breaks some of the functionality employed with the visible_units
      methods used here to tranverse the text.
      
      Internally reviewed by Mike Fenton.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange):
      (DOMSupport):
      (BlackBerry::WebKit::DOMSupport::isEmptyRangeOrAllSpaces):
      * WebKitSupport/DOMSupport.h:
      (WebCore):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::spellCheckBlock):
      (BlackBerry::WebKit::InputHandler::getRangeForSpellCheckWithFineGranularity):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31612ff4
  17. 17 Sep, 2012 1 commit
    • rwlbuis@webkit.org's avatar
      [BlackBerry] Fix compile problems in WebKit/blackberry · 3a2b208b
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96926
      
      Reviewed by Antonio Gomes.
      
      This code is slightly out of date and so will not compile, fix it.
      
      * WebCoreSupport/BatteryClientBlackBerry.cpp:
      (WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry):
      * WebCoreSupport/BatteryClientBlackBerry.h:
      (WebKit):
      * WebCoreSupport/CredentialTransformData.h:
      * WebCoreSupport/DeviceOrientationClientBlackBerry.cpp:
      (DeviceOrientationClientBlackBerry::onOrientation):
      * WebCoreSupport/InspectorClientBlackBerry.h:
      * WebCoreSupport/PagePopupBlackBerry.cpp:
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isDateTimeInputField):
      (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement):
      * WebKitSupport/DumpRenderTreeSupport.cpp:
      (DumpRenderTreeSupport::numberOfPendingGeolocationPermissionRequests):
      * WebKitSupport/InPageSearchManager.cpp:
      (BlackBerry::WebKit::InPageSearchManager::scopeStringMatches):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a2b208b
  18. 10 Sep, 2012 1 commit
  19. 06 Sep, 2012 1 commit
  20. 29 Aug, 2012 1 commit
    • rwlbuis@webkit.org's avatar
      [BlackBerry] Adjust wtf include header style · 778b9b06
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95368
      
      Reviewed by Yong Li.
      
      Switch to #include <wtf/...> like the other ports.
      
      Source/WebCore:
      
      * platform/graphics/blackberry/LayerFilterRenderer.h:
      
      Source/WebKit/blackberry:
      
      * Api/BlackBerryGlobal.cpp:
      * Api/WebPage.cpp:
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      * WebCoreSupport/GeolocationControllerClientBlackBerry.h:
      * WebCoreSupport/SelectPopupClient.h:
      * WebKitSupport/AboutData.cpp:
      * WebKitSupport/DOMSupport.cpp:
      * WebKitSupport/GLES2Context.cpp:
      * WebKitSupport/InPageSearchManager.h:
      * WebKitSupport/InputHandler.cpp:
      
      Tools:
      
      * DumpRenderTree/blackberry/DumpRenderTree.cpp:
      * DumpRenderTree/blackberry/PNGImageEncoder.cpp:
      * DumpRenderTree/blackberry/PNGImageEncoder.h:
      * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp:
      * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.h:
      * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      778b9b06
  21. 14 Aug, 2012 3 commits
  22. 30 Jul, 2012 1 commit
    • yosin@chromium.org's avatar
      [Forms] Get rid of Element::isReadOnlyFormControl other than CSS related · cad92cc7
      yosin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92612
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      This patch replaces Element::isReadOnlyFormControl() not related to
      CSS selector matching to HTMLFormControlElement::readOnly() for
      preparation of introducing Element::shouldMatchReadWriteSelector(), bug 92602.
      
      No new tests. This patch doesn't change behavior.
      
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::SliderThumbElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly().
      * html/shadow/TextControlInnerElements.cpp:
      (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly().
      (WebCore::SpinButtonElement::defaultEventHandler): ditto.
      (WebCore::SpinButtonElement::step): ditto.
      (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): ditto.
      (WebCore::InputFieldSpeechButtonElement::setRecognitionResult): ditto.
      * rendering/RenderTextControl.cpp:
      (updateUserModifyProperty): Changed isReadOnlyFormControl() to readOnly().
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::paintSearchFieldCancelButton): Changed isReadOnlyFormControl() to readOnly().
      
      Source/WebKit/blackberry:
      
      This patch replaces Element::isReadOnlyFormControl() to
      HTMLFormControlElement::readOnly() for preparation of introducing
      Element::shouldMatchReadWriteSelector(), bug 92602.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): Replaced isReadOnlyFormControl() by HTMLTextFormControlElement::readOnly().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cad92cc7
  23. 25 Jun, 2012 1 commit
  24. 30 Apr, 2012 1 commit
    • benjamin@webkit.org's avatar
      Add String::startsWith() and endsWith() for string literals · 127cec2c
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85154
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      Update WebCore to use the simpler startsWith() and endsWith() taking
      a UChar.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::markPropertyEnd):
      * css/WebKitCSSKeyframeRule.cpp:
      (WebCore::StyleKeyframe::parseKeyString):
      * editing/markup.cpp:
      (WebCore::createFragmentFromText):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::addSubresourceAttributeURLs):
      * html/HTMLTextFormControlElement.cpp:
      (WebCore::HTMLTextFormControlElement::setInnerTextValue):
      * inspector/ContentSearchUtils.cpp:
      (WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::SetPropertyTextAction::redo):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::substituteMIMETypeFromPluginDatabase):
      * loader/appcache/ManifestParser.cpp:
      (WebCore::parseManifest):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::shouldRejectForSecurityReason):
      * platform/posix/FileSystemPOSIX.cpp:
      (WebCore::pathByAppendingComponent):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::findPlugin):
      * svg/SVGStopElement.cpp:
      (WebCore::SVGStopElement::parseAttribute):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::parseOffsetValue):
      (WebCore::SVGSMILElement::parseCondition):
      
      Source/WebKit/blackberry: 
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::elementPatternMatches):
      
      Source/WebKit2: 
      
      Update WebKit2 to use String::endsWith(UChar).
      
      * UIProcess/Plugins/PluginInfoStore.cpp:
      (WebKit::pathExtension):
      
      Source/WTF: 
      
      When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
      a string literal, a new String was constructed implicitly, allocating
      a new StringImpl and copying the characters for the operation.
      
      This patch adds a version of those methods for single characters and
      string literals.
      This allows us to avoid allocating memory and use the characters in place,
      and it permits some extra shortcuts in the implementation.
      
      * wtf/text/AtomicString.h:
      (WTF::AtomicString::startsWith):
      (AtomicString):
      (WTF::AtomicString::endsWith):
      * wtf/text/StringImpl.cpp:
      (WTF::equalInner):
      (WTF):
      (WTF::StringImpl::startsWith):
      (WTF::StringImpl::endsWith):
      * wtf/text/StringImpl.h:
      (WTF::StringImpl::startsWith):
      (StringImpl):
      (WTF::StringImpl::endsWith):
      * wtf/text/WTFString.h:
      (WTF::String::startsWith):
      (String):
      (WTF::String::endsWith):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      127cec2c
  25. 17 Apr, 2012 1 commit
  26. 12 Apr, 2012 1 commit
  27. 30 Mar, 2012 2 commits
    • mifenton@rim.com's avatar
      [BlackBerry] Speed up processing of Selection region generation. · f9446b7d
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82766
      
      Reviewed by Rob Buis.
      
      PR 136593.
      
      Refactor generation of Selection IntRectRegion to avoid
      the need for IntRectRegion's helper functions which were
      not available when using it as a container without
      unioning the rects.
      
      This greatly speeds up rendering by maintaining the distinct
      rects as the union operation was length with large numbers of
      rects.
      
      Reviewed Internally by Gen Mak, Mike Lattanzio and Tyler Abbott.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::visibleTextQuads):
      (DOMSupport):
      * WebKitSupport/DOMSupport.h:
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::clippingRectForVisibleContent):
      (BlackBerry::WebKit::SelectionHandler::regionForTextQuads):
      (BlackBerry::WebKit::SelectionHandler::setSelection):
      (WebKit):
      (BlackBerry::WebKit::regionRectListContainsPoint):
      (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
      (BlackBerry::WebKit::SelectionHandler::caretPositionChanged):
      * WebKitSupport/SelectionHandler.h:
      (WebCore):
      (SelectionHandler):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9446b7d
    • keishi@webkit.org's avatar
      Change ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium · 1a2b07cc
      keishi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80972
      
      Reviewed by Kent Tamura.
      
      .:
      
      * Source/cmake/OptionsBlackBerry.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * WebCore.exp.in:
      * css/html.css:
      * html/ColorInputType.cpp:
      * html/ColorInputType.h:
      * html/HTMLInputElement.cpp:
      (WebCore):
      * html/HTMLInputElement.h:
      (HTMLInputElement):
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap):
      (WebCore):
      (InputTypeNames):
      * html/InputType.h:
      (InputType):
      (InputTypeNames):
      * loader/EmptyClients.h:
      (EmptyChromeClient):
      * page/Chrome.cpp:
      (WebCore):
      * page/Chrome.h:
      (WebCore):
      (Chrome):
      * page/ChromeClient.h:
      (WebCore):
      (ChromeClient):
      * platform/ColorChooser.h:
      * platform/ColorChooserClient.h:
      * testing/InternalSettings.cpp:
      * testing/Internals.cpp:
      (WebCore):
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (ChromeClientBlackBerry):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isColorInputField):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::convertInputType):
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * src/ChromeClientImpl.cpp:
      (WebKit):
      * src/ChromeClientImpl.h:
      (WebCore):
      (ChromeClientImpl):
      * src/ColorChooserProxy.cpp:
      * src/ColorChooserProxy.h:
      * src/WebColorChooserClientImpl.cpp:
      * src/WebColorChooserClientImpl.h:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/build-webkit:
      * qmake/mkspecs/features/features.prf:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      * platform/efl/Skipped:
      * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a2b07cc
  28. 22 Mar, 2012 3 commits
  29. 20 Mar, 2012 1 commit
  30. 19 Mar, 2012 1 commit
  31. 16 Mar, 2012 1 commit
    • commit-queue@webkit.org's avatar
      [BlackBerry] Input fields with id of e-mail and url should be styled as such. · b037d298
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81364
      
      Patch by Mike Fenton <mifenton@rim.com> on 2012-03-16
      Reviewed by Rob Buis.
      
      Treat fields that have name/id's that match url or
      email as url or email fields providing the appropriate
      keyboard.
      
      PR 137259.
      
      Reviewed Internally by Gen Mak and Nima Ghanavatian.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::matchesReservedStringEmail):
      (DOMSupport):
      (BlackBerry::WebKit::DOMSupport::matchesReservedStringUrl):
      (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesEmail):
      (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesUrl):
      (BlackBerry::WebKit::DOMSupport::matchesReservedStringPreventingAutocomplete):
      * WebKitSupport/DOMSupport.h:
      (WebCore):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::convertInputType):
      (BlackBerry::WebKit::inputStyle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b037d298
  32. 05 Mar, 2012 1 commit
  33. 01 Mar, 2012 2 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry] Implement features for find-in-page · 2ebbdd7e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79820
      
      Patch by Andy Chen <andchen@rim.com> on 2012-03-01
      Reviewed by Antonio Gomes.
      
      - Make it be able to search text around the whole page instead of single frame.
      - Make it be able to start new search from active selection and last active match.
      
      No new tests as this patch doesn't change behavior.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::frameUnloaded):
      * Api/WebPage_p.h:
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::dispatchWillClose):
      (WebCore::FrameLoaderClientBlackBerry::detachedFromParent2):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::incrementFrame):
      * WebKitSupport/DOMSupport.h:
      * WebKitSupport/InPageSearchManager.cpp:
      (BlackBerry::WebKit::InPageSearchManager::findNextString):
      (BlackBerry::WebKit::InPageSearchManager::shouldSearchForText):
      (BlackBerry::WebKit::InPageSearchManager::findAndMarkText):
      (BlackBerry::WebKit::InPageSearchManager::setMarkerActive):
      (BlackBerry::WebKit::InPageSearchManager::frameUnloaded):
      * WebKitSupport/InPageSearchManager.h:
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::frameUnloaded):
      * WebKitSupport/InputHandler.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ebbdd7e
    • commit-queue@webkit.org's avatar
      Autocomplete attribute should apply to textarea's. · 0445c9fa
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79929
      
      Patch by Mike Fenton <mifenton@rim.com> on 2012-03-01
      Reviewed by Antonio Gomes.
      
      Add local static Qualified name for autocorrect attribute.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::elementSupportsAutocorrect):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0445c9fa