Commit 78bbc94c authored by rniwa@webkit.org's avatar rniwa@webkit.org

2011-05-05 Ryosuke Niwa <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::selectWordAroundCaret):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::textInputType):
        (WebKit::WebViewImpl::caretOrSelectionBounds):
        (WebKit::WebViewImpl::caretOrSelectionRange):
        (WebKit::WebViewImpl::clearFocusedNode):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * Api/qwebframe.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * webkit/webkitwebview.cpp:
        (getLocationForKeyboardGeneratedContextMenu):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebView.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebDOMSelection.cpp:
        * WebDOMSelection.h:
        * WebKitSupport/EditorClientWx.cpp:
        * WebView.cpp:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebView/WebFrame.mm:
        (-[WebFrame _rangeByAlteringCurrentSelection:FrameSelection::direction:granularity:]):
        * WebView/WebFrameInternal.h:
        * WebView/WebHTMLView.mm:
        * WebView/WebTextCompletionController.mm:
        (-[WebTextCompletionController doCompletion]):
        * WebView/WebView.mm:
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientHaiku.cpp:
        (WebCore::EditorClientHaiku::handleKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientWinCE.cpp:
        (WebKit::EditorClientWinCE::handleEditingKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * WebCoreSupport/EditorClientEfl.cpp:
        (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Eric Seidel.

        Rename SelectionController to FrameSelection
        https://bugs.webkit.org/show_bug.cgi?id=60234

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.exp.in:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * accessibility/AccessibilityObject.cpp:
        * accessibility/AccessibilityRenderObject.cpp:
        (WebCore::AccessibilityRenderObject::visiblePositionRangeForLine):
        * accessibility/mac/AccessibilityObjectWrapper.mm:
        * bindings/objc/ExceptionHandlers.h:
        * css/CSSStyleSelector.cpp:
        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::cloneChildNodes):
        * dom/Document.cpp:
        * dom/InputElement.cpp:
        * editing/DeleteButtonController.cpp:
        * editing/EditCommand.cpp:
        * editing/EditingAllInOne.cpp:
        * editing/EditingStyle.cpp:
        * editing/Editor.cpp:
        (WebCore::Editor::canCopy):
        (WebCore::Editor::canDelete):
        (WebCore::Editor::markMisspellingsAfterTypingToWord):
        (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
        (WebCore::Editor::changeSelectionAfterCommand):
        (WebCore::Editor::respondToChangedSelection):
        * editing/Editor.h:
        * editing/EditorCommand.cpp:
        (WebCore::executeDeleteToMark):
        (WebCore::executeMoveBackward):
        (WebCore::executeMoveBackwardAndModifySelection):
        (WebCore::executeMoveDown):
        (WebCore::executeMoveDownAndModifySelection):
        (WebCore::executeMoveForward):
        (WebCore::executeMoveForwardAndModifySelection):
        (WebCore::executeMoveLeft):
        (WebCore::executeMoveLeftAndModifySelection):
        (WebCore::executeMovePageDown):
        (WebCore::executeMovePageDownAndModifySelection):
        (WebCore::executeMovePageUp):
        (WebCore::executeMovePageUpAndModifySelection):
        (WebCore::executeMoveRight):
        (WebCore::executeMoveRightAndModifySelection):
        (WebCore::executeMoveToBeginningOfDocument):
        (WebCore::executeMoveToBeginningOfDocumentAndModifySelection):
        (WebCore::executeMoveToBeginningOfLine):
        (WebCore::executeMoveToBeginningOfLineAndModifySelection):
        (WebCore::executeMoveToBeginningOfParagraph):
        (WebCore::executeMoveToBeginningOfParagraphAndModifySelection):
        (WebCore::executeMoveToBeginningOfSentence):
        (WebCore::executeMoveToBeginningOfSentenceAndModifySelection):
        (WebCore::executeMoveToEndOfDocument):
        (WebCore::executeMoveToEndOfDocumentAndModifySelection):
        (WebCore::executeMoveToEndOfSentence):
        (WebCore::executeMoveToEndOfSentenceAndModifySelection):
        (WebCore::executeMoveToEndOfLine):
        (WebCore::executeMoveToEndOfLineAndModifySelection):
        (WebCore::executeMoveToEndOfParagraph):
        (WebCore::executeMoveToEndOfParagraphAndModifySelection):
        (WebCore::executeMoveParagraphBackwardAndModifySelection):
        (WebCore::executeMoveParagraphForwardAndModifySelection):
        (WebCore::executeMoveUp):
        (WebCore::executeMoveUpAndModifySelection):
        (WebCore::executeMoveWordBackward):
        (WebCore::executeMoveWordBackwardAndModifySelection):
        (WebCore::executeMoveWordForward):
        (WebCore::executeMoveWordForwardAndModifySelection):
        (WebCore::executeMoveWordLeft):
        (WebCore::executeMoveWordLeftAndModifySelection):
        (WebCore::executeMoveWordRight):
        (WebCore::executeMoveWordRightAndModifySelection):
        (WebCore::executeMoveToLeftEndOfLine):
        (WebCore::executeMoveToLeftEndOfLineAndModifySelection):
        (WebCore::executeMoveToRightEndOfLine):
        (WebCore::executeMoveToRightEndOfLineAndModifySelection):
        * editing/FrameSelection.cpp: Copied from Source/WebCore/editing/SelectionController.cpp.
        (WebCore::FrameSelection::FrameSelection):
        (WebCore::FrameSelection::moveTo):
        (WebCore::FrameSelection::setSelection):
        (WebCore::FrameSelection::nodeWillBeRemoved):
        (WebCore::FrameSelection::respondToNodeModification):
        (WebCore::FrameSelection::textWillBeReplaced):
        (WebCore::FrameSelection::setIsDirectional):
        (WebCore::FrameSelection::directionOfEnclosingBlock):
        (WebCore::FrameSelection::willBeModified):
        (WebCore::FrameSelection::positionForPlatform):
        (WebCore::FrameSelection::startForPlatform):
        (WebCore::FrameSelection::endForPlatform):
        (WebCore::FrameSelection::modifyExtendingRight):
        (WebCore::FrameSelection::modifyExtendingForward):
        (WebCore::FrameSelection::modifyMovingRight):
        (WebCore::FrameSelection::modifyMovingForward):
        (WebCore::FrameSelection::modifyExtendingLeft):
        (WebCore::FrameSelection::modifyExtendingBackward):
        (WebCore::FrameSelection::modifyMovingLeft):
        (WebCore::FrameSelection::modifyMovingBackward):
        (WebCore::FrameSelection::modify):
        (WebCore::FrameSelection::xPosForVerticalArrowNavigation):
        (WebCore::FrameSelection::clear):
        (WebCore::FrameSelection::setStart):
        (WebCore::FrameSelection::setEnd):
        (WebCore::FrameSelection::setBase):
        (WebCore::FrameSelection::setExtent):
        (WebCore::FrameSelection::setCaretRectNeedsUpdate):
        (WebCore::FrameSelection::updateCaretRect):
        (WebCore::FrameSelection::caretRenderer):
        (WebCore::FrameSelection::localCaretRect):
        (WebCore::FrameSelection::absoluteBoundsForLocalRect):
        (WebCore::FrameSelection::absoluteCaretBounds):
        (WebCore::FrameSelection::caretRepaintRect):
        (WebCore::FrameSelection::recomputeCaretRect):
        (WebCore::FrameSelection::shouldRepaintCaret):
        (WebCore::FrameSelection::invalidateCaretRect):
        (WebCore::FrameSelection::paintCaret):
        (WebCore::FrameSelection::debugRenderer):
        (WebCore::FrameSelection::contains):
        (WebCore::FrameSelection::selectFrameElementInParentIfFullySelected):
        (WebCore::FrameSelection::selectAll):
        (WebCore::FrameSelection::setSelectedRange):
        (WebCore::FrameSelection::isInPasswordField):
        (WebCore::FrameSelection::caretRendersInsideNode):
        (WebCore::FrameSelection::focusedOrActiveStateChanged):
        (WebCore::FrameSelection::pageActivationChanged):
        (WebCore::FrameSelection::updateSecureKeyboardEntryIfActive):
        (WebCore::FrameSelection::setUseSecureKeyboardEntry):
        (WebCore::FrameSelection::setFocused):
        (WebCore::FrameSelection::isFocusedAndActive):
        (WebCore::FrameSelection::updateAppearance):
        (WebCore::FrameSelection::setCaretVisible):
        (WebCore::FrameSelection::clearCaretRectIfNeeded):
        (WebCore::FrameSelection::caretBlinkTimerFired):
        (WebCore::FrameSelection::notifyRendererOfSelectionChange):
        (WebCore::FrameSelection::setFocusedNodeIfNeeded):
        (WebCore::FrameSelection::paintDragCaret):
        (WebCore::FrameSelection::copyTypingStyle):
        (WebCore::FrameSelection::shouldDeleteSelection):
        (WebCore::FrameSelection::bounds):
        (WebCore::FrameSelection::getClippedVisibleTextRectangles):
        (WebCore::FrameSelection::currentForm):
        (WebCore::FrameSelection::revealSelection):
        (WebCore::FrameSelection::setSelectionFromNone):
        (WebCore::FrameSelection::shouldChangeSelection):
        (WebCore::FrameSelection::formatForDebugger):
        (WebCore::FrameSelection::showTreeForThis):
        (showTree):
        * editing/FrameSelection.h: Copied from Source/WebCore/editing/SelectionController.h.
        (WebCore::FrameSelection::typingStyle):
        (WebCore::FrameSelection::clearTypingStyle):
        (WebCore::FrameSelection::setTypingStyle):
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/ModifySelectionListLevel.cpp:
        * editing/RemoveFormatCommand.cpp:
        * editing/ReplaceSelectionCommand.cpp:
        * editing/SelectionController.cpp: Removed.
        * editing/SelectionController.h: Removed.
        * editing/SetSelectionCommand.cpp:
        (WebCore::SetSelectionCommand::SetSelectionCommand):
        (WebCore::SetSelectionCommand::doApply):
        (WebCore::SetSelectionCommand::doUnapply):
        * editing/SetSelectionCommand.h:
        (WebCore::SetSelectionCommand::create):
        * editing/SpellingCorrectionCommand.cpp:
        (WebCore::SpellingCorrectionCommand::doApply):
        * editing/SpellingCorrectionController.cpp:
        (WebCore::SpellingCorrectionController::respondToUnappliedSpellCorrection):
        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::deleteKeyPressed):
        (WebCore::TypingCommand::forwardDeleteKeyPressed):
        * editing/chromium/FrameSelectionChromium.cpp: Copied from Source/WebCore/editing/chromium/SelectionControllerChromium.cpp.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/chromium/SelectionControllerChromium.cpp: Removed.
        * editing/gtk/FrameSelectionGtk.cpp: Copied from Source/WebCore/editing/gtk/SelectionControllerGtk.cpp.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/gtk/SelectionControllerGtk.cpp: Removed.
        * editing/mac/EditorMac.mm:
        (WebCore::Editor::canCopyExcludingStandaloneImages):
        * editing/mac/FrameSelectionMac.mm: Copied from Source/WebCore/editing/mac/SelectionControllerMac.mm.
        (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
        * editing/mac/SelectionControllerMac.mm: Removed.
        * editing/qt/EditorQt.cpp:
        * loader/archive/cf/LegacyWebArchive.cpp:
        * page/ContextMenuController.cpp:
        (WebCore::ContextMenuController::populate):
        * page/DOMSelection.cpp:
        (WebCore::DOMSelection::type):
        (WebCore::DOMSelection::modify):
        (WebCore::DOMSelection::addRange):
        (WebCore::DOMSelection::deleteFromDocument):
        (WebCore::DOMSelection::containsNode):
        * page/DragController.cpp:
        (WebCore::DragController::dragIsMove):
        * page/DragController.h:
        * page/EventHandler.cpp:
        (WebCore::setSelectionIfNeeded):
        (WebCore::setNonDirectionalSelectionIfNeeded):
        (WebCore::EventHandler::sendContextMenuEventForKey):
        (WebCore::EventHandler::handleKeyboardSelectionMovement):
        * page/EventHandler.h:
        * page/FocusController.cpp:
        (WebCore::clearSelectionIfNeeded):
        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        * page/Frame.h:
        (WebCore::Frame::selection):
        * page/Page.cpp:
        (WebCore::Page::Page):
        * page/Page.h:
        (WebCore::Page::dragCaretController):
        * page/chromium/DragControllerChromium.cpp:
        * page/chromium/EventHandlerChromium.cpp:
        * page/win/DragControllerWin.cpp:
        * page/win/EventHandlerWin.cpp:
        * rendering/HitTestResult.cpp:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::destroy):
        (WebCore::RenderBlock::paintCaret):
        * rendering/RenderImage.cpp:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::destroy):
        * rendering/RenderLayer.cpp:
        * rendering/RenderListBox.cpp:
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::removeChildNode):
        * rendering/RenderTextControl.cpp:
        * rendering/RenderTextControlSingleLine.cpp:
        * rendering/RenderTheme.cpp:
        * rendering/RenderTreeAsText.cpp:
        * svg/SVGSVGElement.cpp:
        * svg/SVGTextContentElement.cpp:
        (WebCore::SVGTextContentElement::selectSubString):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent aaf58326
......@@ -652,6 +652,7 @@ SET(WebCore_SOURCES
editing/Editor.cpp
editing/EditorCommand.cpp
editing/FormatBlockCommand.cpp
editing/FrameSelection.cpp
editing/HTMLInterchange.cpp
editing/IndentOutdentCommand.cpp
editing/InsertIntoTextNodeCommand.cpp
......@@ -671,7 +672,6 @@ SET(WebCore_SOURCES
editing/RemoveNodePreservingChildrenCommand.cpp
editing/ReplaceNodeWithSpanCommand.cpp
editing/ReplaceSelectionCommand.cpp
editing/SelectionController.cpp
editing/SetNodeAttributeCommand.cpp
editing/SmartReplace.cpp
editing/SpellChecker.cpp
......
2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Eric Seidel.
Rename SelectionController to FrameSelection
https://bugs.webkit.org/show_bug.cgi?id=60234
* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AccessibilityObject.cpp:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::visiblePositionRangeForLine):
* accessibility/mac/AccessibilityObjectWrapper.mm:
* bindings/objc/ExceptionHandlers.h:
* css/CSSStyleSelector.cpp:
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::cloneChildNodes):
* dom/Document.cpp:
* dom/InputElement.cpp:
* editing/DeleteButtonController.cpp:
* editing/EditCommand.cpp:
* editing/EditingAllInOne.cpp:
* editing/EditingStyle.cpp:
* editing/Editor.cpp:
(WebCore::Editor::canCopy):
(WebCore::Editor::canDelete):
(WebCore::Editor::markMisspellingsAfterTypingToWord):
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
(WebCore::Editor::changeSelectionAfterCommand):
(WebCore::Editor::respondToChangedSelection):
* editing/Editor.h:
* editing/EditorCommand.cpp:
(WebCore::executeDeleteToMark):
(WebCore::executeMoveBackward):
(WebCore::executeMoveBackwardAndModifySelection):
(WebCore::executeMoveDown):
(WebCore::executeMoveDownAndModifySelection):
(WebCore::executeMoveForward):
(WebCore::executeMoveForwardAndModifySelection):
(WebCore::executeMoveLeft):
(WebCore::executeMoveLeftAndModifySelection):
(WebCore::executeMovePageDown):
(WebCore::executeMovePageDownAndModifySelection):
(WebCore::executeMovePageUp):
(WebCore::executeMovePageUpAndModifySelection):
(WebCore::executeMoveRight):
(WebCore::executeMoveRightAndModifySelection):
(WebCore::executeMoveToBeginningOfDocument):
(WebCore::executeMoveToBeginningOfDocumentAndModifySelection):
(WebCore::executeMoveToBeginningOfLine):
(WebCore::executeMoveToBeginningOfLineAndModifySelection):
(WebCore::executeMoveToBeginningOfParagraph):
(WebCore::executeMoveToBeginningOfParagraphAndModifySelection):
(WebCore::executeMoveToBeginningOfSentence):
(WebCore::executeMoveToBeginningOfSentenceAndModifySelection):
(WebCore::executeMoveToEndOfDocument):
(WebCore::executeMoveToEndOfDocumentAndModifySelection):
(WebCore::executeMoveToEndOfSentence):
(WebCore::executeMoveToEndOfSentenceAndModifySelection):
(WebCore::executeMoveToEndOfLine):
(WebCore::executeMoveToEndOfLineAndModifySelection):
(WebCore::executeMoveToEndOfParagraph):
(WebCore::executeMoveToEndOfParagraphAndModifySelection):
(WebCore::executeMoveParagraphBackwardAndModifySelection):
(WebCore::executeMoveParagraphForwardAndModifySelection):
(WebCore::executeMoveUp):
(WebCore::executeMoveUpAndModifySelection):
(WebCore::executeMoveWordBackward):
(WebCore::executeMoveWordBackwardAndModifySelection):
(WebCore::executeMoveWordForward):
(WebCore::executeMoveWordForwardAndModifySelection):
(WebCore::executeMoveWordLeft):
(WebCore::executeMoveWordLeftAndModifySelection):
(WebCore::executeMoveWordRight):
(WebCore::executeMoveWordRightAndModifySelection):
(WebCore::executeMoveToLeftEndOfLine):
(WebCore::executeMoveToLeftEndOfLineAndModifySelection):
(WebCore::executeMoveToRightEndOfLine):
(WebCore::executeMoveToRightEndOfLineAndModifySelection):
* editing/FrameSelection.cpp: Copied from Source/WebCore/editing/SelectionController.cpp.
(WebCore::FrameSelection::FrameSelection):
(WebCore::FrameSelection::moveTo):
(WebCore::FrameSelection::setSelection):
(WebCore::FrameSelection::nodeWillBeRemoved):
(WebCore::FrameSelection::respondToNodeModification):
(WebCore::FrameSelection::textWillBeReplaced):
(WebCore::FrameSelection::setIsDirectional):
(WebCore::FrameSelection::directionOfEnclosingBlock):
(WebCore::FrameSelection::willBeModified):
(WebCore::FrameSelection::positionForPlatform):
(WebCore::FrameSelection::startForPlatform):
(WebCore::FrameSelection::endForPlatform):
(WebCore::FrameSelection::modifyExtendingRight):
(WebCore::FrameSelection::modifyExtendingForward):
(WebCore::FrameSelection::modifyMovingRight):
(WebCore::FrameSelection::modifyMovingForward):
(WebCore::FrameSelection::modifyExtendingLeft):
(WebCore::FrameSelection::modifyExtendingBackward):
(WebCore::FrameSelection::modifyMovingLeft):
(WebCore::FrameSelection::modifyMovingBackward):
(WebCore::FrameSelection::modify):
(WebCore::FrameSelection::xPosForVerticalArrowNavigation):
(WebCore::FrameSelection::clear):
(WebCore::FrameSelection::setStart):
(WebCore::FrameSelection::setEnd):
(WebCore::FrameSelection::setBase):
(WebCore::FrameSelection::setExtent):
(WebCore::FrameSelection::setCaretRectNeedsUpdate):
(WebCore::FrameSelection::updateCaretRect):
(WebCore::FrameSelection::caretRenderer):
(WebCore::FrameSelection::localCaretRect):
(WebCore::FrameSelection::absoluteBoundsForLocalRect):
(WebCore::FrameSelection::absoluteCaretBounds):
(WebCore::FrameSelection::caretRepaintRect):
(WebCore::FrameSelection::recomputeCaretRect):
(WebCore::FrameSelection::shouldRepaintCaret):
(WebCore::FrameSelection::invalidateCaretRect):
(WebCore::FrameSelection::paintCaret):
(WebCore::FrameSelection::debugRenderer):
(WebCore::FrameSelection::contains):
(WebCore::FrameSelection::selectFrameElementInParentIfFullySelected):
(WebCore::FrameSelection::selectAll):
(WebCore::FrameSelection::setSelectedRange):
(WebCore::FrameSelection::isInPasswordField):
(WebCore::FrameSelection::caretRendersInsideNode):
(WebCore::FrameSelection::focusedOrActiveStateChanged):
(WebCore::FrameSelection::pageActivationChanged):
(WebCore::FrameSelection::updateSecureKeyboardEntryIfActive):
(WebCore::FrameSelection::setUseSecureKeyboardEntry):
(WebCore::FrameSelection::setFocused):
(WebCore::FrameSelection::isFocusedAndActive):
(WebCore::FrameSelection::updateAppearance):
(WebCore::FrameSelection::setCaretVisible):
(WebCore::FrameSelection::clearCaretRectIfNeeded):
(WebCore::FrameSelection::caretBlinkTimerFired):
(WebCore::FrameSelection::notifyRendererOfSelectionChange):
(WebCore::FrameSelection::setFocusedNodeIfNeeded):
(WebCore::FrameSelection::paintDragCaret):
(WebCore::FrameSelection::copyTypingStyle):
(WebCore::FrameSelection::shouldDeleteSelection):
(WebCore::FrameSelection::bounds):
(WebCore::FrameSelection::getClippedVisibleTextRectangles):
(WebCore::FrameSelection::currentForm):
(WebCore::FrameSelection::revealSelection):
(WebCore::FrameSelection::setSelectionFromNone):
(WebCore::FrameSelection::shouldChangeSelection):
(WebCore::FrameSelection::formatForDebugger):
(WebCore::FrameSelection::showTreeForThis):
(showTree):
* editing/FrameSelection.h: Copied from Source/WebCore/editing/SelectionController.h.
(WebCore::FrameSelection::typingStyle):
(WebCore::FrameSelection::clearTypingStyle):
(WebCore::FrameSelection::setTypingStyle):
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/ModifySelectionListLevel.cpp:
* editing/RemoveFormatCommand.cpp:
* editing/ReplaceSelectionCommand.cpp:
* editing/SelectionController.cpp: Removed.
* editing/SelectionController.h: Removed.
* editing/SetSelectionCommand.cpp:
(WebCore::SetSelectionCommand::SetSelectionCommand):
(WebCore::SetSelectionCommand::doApply):
(WebCore::SetSelectionCommand::doUnapply):
* editing/SetSelectionCommand.h:
(WebCore::SetSelectionCommand::create):
* editing/SpellingCorrectionCommand.cpp:
(WebCore::SpellingCorrectionCommand::doApply):
* editing/SpellingCorrectionController.cpp:
(WebCore::SpellingCorrectionController::respondToUnappliedSpellCorrection):
* editing/TypingCommand.cpp:
(WebCore::TypingCommand::deleteKeyPressed):
(WebCore::TypingCommand::forwardDeleteKeyPressed):
* editing/chromium/FrameSelectionChromium.cpp: Copied from Source/WebCore/editing/chromium/SelectionControllerChromium.cpp.
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/chromium/SelectionControllerChromium.cpp: Removed.
* editing/gtk/FrameSelectionGtk.cpp: Copied from Source/WebCore/editing/gtk/SelectionControllerGtk.cpp.
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/gtk/SelectionControllerGtk.cpp: Removed.
* editing/mac/EditorMac.mm:
(WebCore::Editor::canCopyExcludingStandaloneImages):
* editing/mac/FrameSelectionMac.mm: Copied from Source/WebCore/editing/mac/SelectionControllerMac.mm.
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
* editing/mac/SelectionControllerMac.mm: Removed.
* editing/qt/EditorQt.cpp:
* loader/archive/cf/LegacyWebArchive.cpp:
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
* page/DOMSelection.cpp:
(WebCore::DOMSelection::type):
(WebCore::DOMSelection::modify):
(WebCore::DOMSelection::addRange):
(WebCore::DOMSelection::deleteFromDocument):
(WebCore::DOMSelection::containsNode):
* page/DragController.cpp:
(WebCore::DragController::dragIsMove):
* page/DragController.h:
* page/EventHandler.cpp:
(WebCore::setSelectionIfNeeded):
(WebCore::setNonDirectionalSelectionIfNeeded):
(WebCore::EventHandler::sendContextMenuEventForKey):
(WebCore::EventHandler::handleKeyboardSelectionMovement):
* page/EventHandler.h:
* page/FocusController.cpp:
(WebCore::clearSelectionIfNeeded):
* page/Frame.cpp:
(WebCore::Frame::Frame):
* page/Frame.h:
(WebCore::Frame::selection):
* page/Page.cpp:
(WebCore::Page::Page):
* page/Page.h:
(WebCore::Page::dragCaretController):
* page/chromium/DragControllerChromium.cpp:
* page/chromium/EventHandlerChromium.cpp:
* page/win/DragControllerWin.cpp:
* page/win/EventHandlerWin.cpp:
* rendering/HitTestResult.cpp:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::destroy):
(WebCore::RenderBlock::paintCaret):
* rendering/RenderImage.cpp:
* rendering/RenderInline.cpp:
(WebCore::RenderInline::destroy):
* rendering/RenderLayer.cpp:
* rendering/RenderListBox.cpp:
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode):
* rendering/RenderTextControl.cpp:
* rendering/RenderTextControlSingleLine.cpp:
* rendering/RenderTheme.cpp:
* rendering/RenderTreeAsText.cpp:
* svg/SVGSVGElement.cpp:
* svg/SVGTextContentElement.cpp:
(WebCore::SVGTextContentElement::selectSubString):
2011-05-05 Brent Fulgham <bfulgham@webkit.org>
[WinCairo] unreviewed build correction.
......@@ -1323,7 +1323,9 @@ webcore_sources += \
Source/WebCore/editing/FindOptions.h \
Source/WebCore/editing/FormatBlockCommand.cpp \
Source/WebCore/editing/FormatBlockCommand.h \
Source/WebCore/editing/gtk/SelectionControllerGtk.cpp \
Source/WebCore/editing/FrameSelection.cpp \
Source/WebCore/editing/FrameSelection.h \
Source/WebCore/editing/gtk/FrameSelectionGtk.cpp \
Source/WebCore/editing/htmlediting.cpp \
Source/WebCore/editing/htmlediting.h \
Source/WebCore/editing/HTMLInterchange.cpp \
......@@ -1366,8 +1368,6 @@ webcore_sources += \
Source/WebCore/editing/ReplaceNodeWithSpanCommand.h \
Source/WebCore/editing/ReplaceSelectionCommand.cpp \
Source/WebCore/editing/ReplaceSelectionCommand.h \
Source/WebCore/editing/SelectionController.cpp \
Source/WebCore/editing/SelectionController.h \
Source/WebCore/editing/SetNodeAttributeCommand.cpp \
Source/WebCore/editing/SetNodeAttributeCommand.h \
Source/WebCore/editing/SmartReplace.cpp \
......
......@@ -348,6 +348,15 @@ __ZN7WebCore14DocumentLoaderC1ERKNS_15ResourceRequestERKNS_14SubstituteDataE
__ZN7WebCore14DocumentLoaderC2ERKNS_15ResourceRequestERKNS_14SubstituteDataE
__ZN7WebCore14DocumentLoaderD2Ev
__ZN7WebCore14DocumentWriter11setEncodingERKN3WTF6StringEb
__ZN7WebCore14FrameSelection10setFocusedEb
__ZN7WebCore14FrameSelection12setSelectionERKNS_16VisibleSelectionEjNS0_19CursorAlignOnScrollENS_15TextGranularityENS_20DirectionalityPolicyE
__ZN7WebCore14FrameSelection15revealSelectionERKNS_15ScrollAlignmentEb
__ZN7WebCore14FrameSelection16setSelectedRangeEPNS_5RangeENS_9EAffinityEb
__ZN7WebCore14FrameSelection20setSelectionFromNoneEv
__ZN7WebCore14FrameSelection6modifyENS0_11EAlterationENS_18SelectionDirectionENS_15TextGranularityEb
__ZN7WebCore14FrameSelection5clearEv
__ZN7WebCore14FrameSelection9selectAllEv
__ZN7WebCore14FrameSelectionC1EPNS_5FrameEb
__ZN7WebCore14ResourceHandle12releaseProxyEv
__ZN7WebCore14ResourceHandle20forceContentSniffingEv
__ZN7WebCore14ResourceLoader14cancelledErrorEv
......@@ -520,15 +529,6 @@ __ZN7WebCore19ResourceRequestBase22defaultTimeoutIntervalEv
__ZN7WebCore19ResourceRequestBase24s_defaultTimeoutIntervalE
__ZN7WebCore19ResourceRequestBase25setDefaultTimeoutIntervalEd
__ZN7WebCore19ResourceRequestBase6setURLERKNS_4KURLE
__ZN7WebCore19SelectionController10setFocusedEb
__ZN7WebCore19SelectionController12setSelectionERKNS_16VisibleSelectionEjNS0_19CursorAlignOnScrollENS_15TextGranularityENS_20DirectionalityPolicyE
__ZN7WebCore19SelectionController15revealSelectionERKNS_15ScrollAlignmentEb
__ZN7WebCore19SelectionController16setSelectedRangeEPNS_5RangeENS_9EAffinityEb
__ZN7WebCore19SelectionController20setSelectionFromNoneEv
__ZN7WebCore19SelectionController5clearEv
__ZN7WebCore19SelectionController6modifyENS0_11EAlterationENS_18SelectionDirectionENS_15TextGranularityEb
__ZN7WebCore19SelectionController9selectAllEv
__ZN7WebCore19SelectionControllerC1EPNS_5FrameEb
__ZN7WebCore19TextResourceDecoder5flushEv
__ZN7WebCore19TextResourceDecoder6decodeEPKcm
__ZN7WebCore19TextResourceDecoderC1ERKN3WTF6StringERKNS_12TextEncodingEb
......@@ -1117,6 +1117,12 @@ __ZNK7WebCore14DocumentLoader19originalRequestCopyEv
__ZNK7WebCore14DocumentLoader21isLoadingMainResourceEv
__ZNK7WebCore14DocumentLoader28urlForHistoryReflectsFailureEv
__ZNK7WebCore14DocumentLoader3urlEv
__ZNK7WebCore14FrameSelection11currentFormEv
__ZNK7WebCore14FrameSelection15copyTypingStyleEv
__ZNK7WebCore14FrameSelection17isInPasswordFieldEv
__ZNK7WebCore14FrameSelection18isFocusedAndActiveEv
__ZNK7WebCore14FrameSelection31getClippedVisibleTextRectanglesERN3WTF6VectorINS_9FloatRectELm0EEE
__ZNK7WebCore14FrameSelection6boundsEb
__ZNK7WebCore14RenderListItem10markerTextEv
__ZNK7WebCore14ResourceHandle10connectionEv
__ZNK7WebCore14ResourceLoader11frameLoaderEv
......@@ -1157,12 +1163,6 @@ __ZNK7WebCore19ResourceRequestBase15httpHeaderFieldEPKc
__ZNK7WebCore19ResourceRequestBase3urlEv
__ZNK7WebCore19ResourceRequestBase6isNullEv
__ZNK7WebCore19ResourceRequestBase7isEmptyEv
__ZNK7WebCore19SelectionController11currentFormEv
__ZNK7WebCore19SelectionController15copyTypingStyleEv
__ZNK7WebCore19SelectionController17isInPasswordFieldEv
__ZNK7WebCore19SelectionController18isFocusedAndActiveEv
__ZNK7WebCore19SelectionController31getClippedVisibleTextRectanglesERN3WTF6VectorINS_9FloatRectELm0EEE
__ZNK7WebCore19SelectionController6boundsEb
__ZNK7WebCore20HTMLTableCellElement9cellAboveEv
__ZNK7WebCore20ResourceResponseBase14httpStatusCodeEv
__ZNK7WebCore20ResourceResponseBase14httpStatusTextEv
......
......@@ -573,10 +573,10 @@
'editing/EditorDeleteAction.h',
'editing/EditorInsertAction.h',
'editing/FindOptions.h',
'editing/FrameSelection.h',
'editing/HTMLInterchange.h',
'editing/MoveSelectionCommand.h',
'editing/ReplaceSelectionCommand.h',
'editing/SelectionController.h',
'editing/SmartReplace.h',
'editing/SpellChecker.h',
'editing/TextAffinity.h',
......@@ -2616,6 +2616,7 @@
'editing/EditorCommand.cpp',
'editing/FormatBlockCommand.cpp',
'editing/FormatBlockCommand.h',
'editing/FrameSelection.cpp',
'editing/HTMLInterchange.cpp',
'editing/IndentOutdentCommand.cpp',
'editing/IndentOutdentCommand.h',
......@@ -2651,7 +2652,6 @@
'editing/ReplaceNodeWithSpanCommand.cpp',
'editing/ReplaceNodeWithSpanCommand.h',
'editing/ReplaceSelectionCommand.cpp',
'editing/SelectionController.cpp',
'editing/SetNodeAttributeCommand.cpp',
'editing/SetNodeAttributeCommand.h',
'editing/SetSelectionCommand.cpp',
......@@ -2684,12 +2684,12 @@
'editing/android/EditorAndroid.cpp',
'editing/brew/EditorBrew.cpp',
'editing/chromium/EditorChromium.cpp',
'editing/chromium/SelectionControllerChromium.cpp',
'editing/gtk/SelectionControllerGtk.cpp',
'editing/chromium/FrameSelectionChromium.cpp',
'editing/gtk/FrameSelectionGtk.cpp',
'editing/haiku/EditorHaiku.cpp',
'editing/htmlediting.cpp',
'editing/mac/EditorMac.mm',
'editing/mac/SelectionControllerMac.mm',
'editing/mac/FrameSelectionMac.mm',
'editing/markup.cpp',
'editing/qt/EditorQt.cpp',
'editing/qt/SmartReplaceQt.cpp',
......
......@@ -572,6 +572,7 @@ SOURCES += \
editing/Editor.cpp \
editing/EditorCommand.cpp \
editing/FormatBlockCommand.cpp \
editing/FrameSelection.cpp \
editing/htmlediting.cpp \
editing/HTMLInterchange.cpp \
editing/IndentOutdentCommand.cpp \
......@@ -593,7 +594,6 @@ SOURCES += \
editing/RemoveNodePreservingChildrenCommand.cpp \
editing/ReplaceNodeWithSpanCommand.cpp \
editing/ReplaceSelectionCommand.cpp \
editing/SelectionController.cpp \
editing/SetNodeAttributeCommand.cpp \
editing/SmartReplaceICU.cpp \
editing/SpellChecker.cpp \
......@@ -1544,6 +1544,7 @@ HEADERS += \
editing/Editor.h \
editing/FindOptions.h \
editing/FormatBlockCommand.h \
editing/FrameSelection.h \
editing/htmlediting.h \
editing/HTMLInterchange.h \
editing/IndentOutdentCommand.h \
......@@ -1564,7 +1565,6 @@ HEADERS += \
editing/RemoveNodePreservingChildrenCommand.h \
editing/ReplaceNodeWithSpanCommand.h \
editing/ReplaceSelectionCommand.h \
editing/SelectionController.h \
editing/SetNodeAttributeCommand.h \
editing/SmartReplace.h \
editing/SpellingCorrectionController.h \
......
......@@ -48866,7 +48866,7 @@
>
</File>
<File
RelativePath="..\editing\htmlediting.cpp"
RelativePath="..\editing\FrameSelection.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -48918,11 +48918,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\htmlediting.h"
RelativePath="..\editing\FrameSelection.h"
>
</File>
<File
RelativePath="..\editing\HTMLInterchange.cpp"
RelativePath="..\editing\htmlediting.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -48974,11 +48974,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\HTMLInterchange.h"
RelativePath="..\editing\htmlediting.h"
>
</File>
<File
RelativePath="..\editing\IndentOutdentCommand.cpp"
RelativePath="..\editing\HTMLInterchange.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49030,11 +49030,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\IndentOutdentCommand.h"
RelativePath="..\editing\HTMLInterchange.h"
>
</File>
<File
RelativePath="..\editing\InsertIntoTextNodeCommand.cpp"
RelativePath="..\editing\IndentOutdentCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49086,11 +49086,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertIntoTextNodeCommand.h"
RelativePath="..\editing\IndentOutdentCommand.h"
>
</File>
<File
RelativePath="..\editing\InsertLineBreakCommand.cpp"
RelativePath="..\editing\InsertIntoTextNodeCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49142,11 +49142,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertLineBreakCommand.h"
RelativePath="..\editing\InsertIntoTextNodeCommand.h"
>
</File>
<File
RelativePath="..\editing\InsertListCommand.cpp"
RelativePath="..\editing\InsertLineBreakCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49198,11 +49198,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertListCommand.h"
RelativePath="..\editing\InsertLineBreakCommand.h"
>
</File>
<File
RelativePath="..\editing\InsertNodeBeforeCommand.cpp"
RelativePath="..\editing\InsertListCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49254,11 +49254,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertNodeBeforeCommand.h"
RelativePath="..\editing\InsertListCommand.h"
>
</File>
<File
RelativePath="..\editing\InsertParagraphSeparatorCommand.cpp"
RelativePath="..\editing\InsertNodeBeforeCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49310,11 +49310,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertParagraphSeparatorCommand.h"
RelativePath="..\editing\InsertNodeBeforeCommand.h"
>
</File>
<File
RelativePath="..\editing\InsertTextCommand.cpp"
RelativePath="..\editing\InsertParagraphSeparatorCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49366,11 +49366,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\InsertTextCommand.h"
RelativePath="..\editing\InsertParagraphSeparatorCommand.h"
>
</File>
<File
RelativePath="..\editing\JoinTextNodesCommand.cpp"
RelativePath="..\editing\InsertTextCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49422,11 +49422,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\JoinTextNodesCommand.h"
RelativePath="..\editing\InsertTextCommand.h"
>
</File>
<File
RelativePath="..\editing\markup.cpp"
RelativePath="..\editing\JoinTextNodesCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49478,11 +49478,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\markup.h"
RelativePath="..\editing\JoinTextNodesCommand.h"
>
</File>
<File
RelativePath="..\editing\MarkupAccumulator.cpp"
RelativePath="..\editing\markup.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49534,11 +49534,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\MarkupAccumulator.h"
RelativePath="..\editing\markup.h"
>
</File>
<File
RelativePath="..\editing\MergeIdenticalElementsCommand.cpp"
RelativePath="..\editing\MarkupAccumulator.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49590,11 +49590,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\MergeIdenticalElementsCommand.h"
RelativePath="..\editing\MarkupAccumulator.h"
>
</File>
<File
RelativePath="..\editing\ModifySelectionListLevel.cpp"
RelativePath="..\editing\MergeIdenticalElementsCommand.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49646,11 +49646,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\ModifySelectionListLevel.h"
RelativePath="..\editing\MergeIdenticalElementsCommand.h"
>
</File>
<File
RelativePath="..\editing\MoveSelectionCommand.cpp"
RelativePath="..\editing\ModifySelectionListLevel.cpp"
>
<FileConfiguration
Name="Debug|Win32"
......@@ -49702,11 +49702,11 @@
</FileConfiguration>
</File>
<File
RelativePath="..\editing\MoveSelectionCommand.h"
RelativePath="..\editing\ModifySelectionListLevel.h"
>
</File>
<File
RelativePath="..\editing\RemoveCSSPropertyCommand.cpp"