Skip to content
  • kjk's avatar
    Reviewed by Adam Roben. · db1e270a
    kjk authored
            Linux/gdk build fixes.
    
            * platform/gdk/EditorClientGdk.cpp: Added. Based on qt version.
            (WebCore::EditorClientGdk::shouldDeleteRange):
            (WebCore::EditorClientGdk::shouldShowDeleteInterface):
            (WebCore::EditorClientGdk::isContinuousSpellCheckingEnabled):
            (WebCore::EditorClientGdk::isGrammarCheckingEnabled):
            (WebCore::EditorClientGdk::spellCheckerDocumentTag):
            (WebCore::EditorClientGdk::shouldBeginEditing):
            (WebCore::EditorClientGdk::shouldEndEditing):
            (WebCore::EditorClientGdk::shouldInsertText):
            (WebCore::EditorClientGdk::shouldApplyStyle):
            (WebCore::EditorClientGdk::didBeginEditing):
            (WebCore::EditorClientGdk::respondToChangedContents):
            (WebCore::EditorClientGdk::didEndEditing):
            (WebCore::EditorClientGdk::didWriteSelectionToPasteboard):
            (WebCore::EditorClientGdk::didSetSelectionTypesForPasteboard):
            (WebCore::EditorClientGdk::selectWordBeforeMenuEvent):
            (WebCore::EditorClientGdk::isEditable):
            (WebCore::EditorClientGdk::registerCommandForUndo):
            (WebCore::EditorClientGdk::registerCommandForRedo):
            (WebCore::EditorClientGdk::clearUndoRedoOperations):
            (WebCore::EditorClientGdk::canUndo):
            (WebCore::EditorClientGdk::canRedo):
            (WebCore::EditorClientGdk::undo):
            (WebCore::EditorClientGdk::redo):
            (WebCore::EditorClientGdk::shouldInsertNode):
            (WebCore::EditorClientGdk::pageDestroyed):
            (WebCore::EditorClientGdk::smartInsertDeleteEnabled):
            (WebCore::EditorClientGdk::toggleContinuousSpellChecking):
            (WebCore::EditorClientGdk::toggleGrammarChecking):
            (WebCore::EditorClientGdk::handleKeyPress):
            (WebCore::EditorClientGdk::EditorClientGdk):
            (WebCore::EditorClientGdk::setPage):
            * platform/gdk/EditorClientGdk.h: Added. Ditto.
            * platform/gdk/FrameGdk.cpp: Add exitAfterLoading and dumpRenderTreeAfterLoading
            as small debugging features. Remove FrameGdkClient as no other platform has Frame*Client
            anymore. Adjust for new APIs.
            (WebCore::FrameGdk::FrameGdk):
            (WebCore::FrameGdk::onDidFinishLoad):
            (WebCore::FrameGdk::dumpRenderTree):
            (WebCore::FrameGdk::keyPress):
            (WebCore::FrameGdk::handleGdkEvent):
            (WebCore::FrameGdk::focusWindow):
            (WebCore::FrameGdk::unfocusWindow):
            (WebCore::FrameGdk::getObjectInstanceForWidget):
            (WebCore::FrameGdk::getEmbedInstanceForWidget):
            (WebCore::FrameGdk::bindingRootObject):
            (WebCore::FrameGdk::print):
            (WebCore::FrameGdk::getAppletInstanceForWidget):
            (WebCore::FrameGdk::issueCutCommand):
            (WebCore::FrameGdk::issueCopyCommand):
            (WebCore::FrameGdk::issuePasteCommand):
            (WebCore::FrameGdk::issueTransposeCommand):
            (WebCore::FrameGdk::issuePasteAndMatchStyleCommand):
            (WebCore::FrameGdk::markedTextRange):
            (WebCore::FrameGdk::shouldChangeSelection):
            (WebCore::FrameGdk::respondToChangedSelection):
            (WebCore::FrameGdk::mimeTypeForFileName):
            * platform/gdk/FrameGdk.h: Ditto.
            (WebCore::FrameGdk::setExitAfterLoading):
            (WebCore::FrameGdk::exitAfterLoading):
            (WebCore::FrameGdk::setDumpRenderTreeAfterLoading):
            (WebCore::FrameGdk::dumpRenderTreeAfterLoading):
            (WebCore::GdkFrame):
            * platform/gdk/TemporaryLinkStubs.cpp: Adjust to new APIs. Small cleanups.
            (FrameView::updateBorder):
            (Widget::setEnabled):
            (Widget::isEnabled):
            (Widget::enableFlushDrawing):
            (Widget::removeFromParent):
            (Widget::paint):
            (Widget::setIsSelected):
            (Widget::invalidate):
            (Widget::invalidateRect):
            (PlatformMouseEvent::PlatformMouseEvent):
            (WebCore::findWordBoundary):
            (ChromeClientGdk::chromeDestroyed):
            (ChromeClientGdk::closeWindowSoon):
            (ChromeClientGdk::canTakeFocus):
            (ChromeClientGdk::takeFocus):
            (ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
            (ChromeClientGdk::addMessageToConsole):
            (ChromeClientGdk::runBeforeUnloadConfirmPanel):
            (ChromeClientGdk::runJavaScriptAlert):
            (ChromeClientGdk::runJavaScriptConfirm):
            (ChromeClientGdk::runJavaScriptPrompt):
            (ChromeClientGdk::setStatusbarText):
            (ChromeClientGdk::shouldInterruptJavaScript):
            (WebCore::inputElementAltText):
            (WebCore::resetButtonDefaultLabel):
            (WebCore::searchableIndexIntroduction):
            (WebCore::fileButtonChooseFileLabel):
            (WebCore::fileButtonNoFileSelectedLabel):
            (WebCore::contextMenuItemTagOpenLinkInNewWindow):
            (WebCore::contextMenuItemTagDownloadLinkToDisk):
            (WebCore::contextMenuItemTagCopyLinkToClipboard):
            (WebCore::contextMenuItemTagOpenImageInNewWindow):
            (WebCore::contextMenuItemTagDownloadImageToDisk):
            (WebCore::contextMenuItemTagCopyImageToClipboard):
            (WebCore::contextMenuItemTagOpenFrameInNewWindow):
            (WebCore::contextMenuItemTagCopy):
            (WebCore::contextMenuItemTagGoBack):
            (WebCore::contextMenuItemTagGoForward):
            (WebCore::contextMenuItemTagStop):
            (WebCore::contextMenuItemTagReload):
            (WebCore::contextMenuItemTagCut):
            (WebCore::contextMenuItemTagPaste):
            (WebCore::contextMenuItemTagNoGuessesFound):
            (WebCore::contextMenuItemTagIgnoreSpelling):
            (WebCore::contextMenuItemTagLearnSpelling):
            (WebCore::contextMenuItemTagSearchWeb):
            (WebCore::contextMenuItemTagLookUpInDictionary):
            (WebCore::contextMenuItemTagOpenLink):
            (WebCore::contextMenuItemTagIgnoreGrammar):
            (WebCore::contextMenuItemTagSpellingMenu):
            (WebCore::contextMenuItemTagShowSpellingPanel):
            (WebCore::contextMenuItemTagCheckSpelling):
            (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
            (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
            (WebCore::contextMenuItemTagFontMenu):
            (WebCore::contextMenuItemTagBold):
            (WebCore::contextMenuItemTagItalic):
            (WebCore::contextMenuItemTagUnderline):
            (WebCore::contextMenuItemTagOutline):
            (WebCore::contextMenuItemTagWritingDirectionMenu):
            (WebCore::contextMenuItemTagDefaultDirection):
            (WebCore::contextMenuItemTagLeftToRight):
            (WebCore::contextMenuItemTagRightToLeft):
            (PlugInInfoStore::createPluginInfoForPluginAtIndex):
            (PlugInInfoStore::pluginCount):
            (WebCore::PlugInInfoStore::supportsMIMEType):
            (WebCore::refreshPlugins):
            (SearchPopupMenu::saveRecentSearches):
            (SearchPopupMenu::loadRecentSearches):
            (SearchPopupMenu::SearchPopupMenu):
            (Path::apply):
            (PlatformScrollbar::PlatformScrollbar):
            (PlatformScrollbar::~PlatformScrollbar):
            (PlatformScrollbar::width):
            (PlatformScrollbar::height):
            (PlatformScrollbar::setEnabled):
            (PlatformScrollbar::paint):
            (PlatformScrollbar::updateThumbPosition):
            (PlatformScrollbar::updateThumbProportion):
            (PlatformScrollbar::setRect):
            (ResourceHandle::willLoadFromCache):
            (ResourceHandle::loadsBlocked):
            (ResourceHandle::loadResourceSynchronously):
            (PageCache::close):
            (Editor::ignoreSpelling):
            (Editor::learnSpelling):
            (Editor::isSelectionUngrammatical):
            (Editor::isSelectionMisspelled):
            (Editor::guessesForMisspelledSelection):
            (Editor::guessesForUngrammaticalSelection):
            (Editor::markMisspellingsAfterTypingToPosition):
            (Editor::newGeneralClipboard):
            (Pasteboard::generalPasteboard):
            (Pasteboard::writeSelection):
            (Pasteboard::writeURL):
            (Pasteboard::clear):
            (Pasteboard::canSmartReplace):
            (Pasteboard::documentFragment):
            (Pasteboard::plainText):
            (Pasteboard::Pasteboard):
            (Pasteboard::~Pasteboard):
            (ContextMenu::ContextMenu):
            (ContextMenu::~ContextMenu):
            (ContextMenu::appendItem):
            (ContextMenu::setPlatformDescription):
            (ContextMenu::platformDescription):
            (ContextMenuItem::ContextMenuItem):
            (ContextMenuItem::~ContextMenuItem):
            (ContextMenuItem::releasePlatformDescription):
            (ContextMenuItem::type):
            (ContextMenuItem::setType):
            (ContextMenuItem::action):
            (ContextMenuItem::setAction):
            (ContextMenuItem::title):
            (ContextMenuItem::setTitle):
            (ContextMenuItem::platformSubMenu):
            (ContextMenuItem::setSubMenu):
            (ContextMenuItem::setChecked):
            (ContextMenuItem::setEnabled):
            (WebCore::systemBeep):
            (WebCore::userIdleTime):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    db1e270a