-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. Source/WebCore: Changed the argument types of shouldApplyStyle, applyParagraphStyle, applyStyleToSelection, applyParagraphStyleToSelection, and computeAndSetTypingStyle in Editor from CSSStyleDeclaration to StylePropertySet. * WebCore.exp.in: * WebCore.xcodeproj/project.pbxproj: * editing/Editor.cpp: (WebCore::Editor::applyStyle): (WebCore::Editor::shouldApplyStyle): (WebCore::Editor::applyParagraphStyle): (WebCore::Editor::applyStyleToSelection): (WebCore::Editor::applyParagraphStyleToSelection): (WebCore::Editor::setBaseWritingDirection): (WebCore::Editor::computeAndSetTypingStyle): * editing/Editor.h: (WebCore): (Editor): * editing/EditorCommand.cpp: (WebCore::applyCommandToFrame): (WebCore::executeApplyParagraphStyle): (WebCore::executeMakeTextWritingDirectionLeftToRight): (WebCore::executeMakeTextWritingDirectionNatural): (WebCore::executeMakeTextWritingDirectionRightToLeft): * loader/EmptyClients.h: (WebCore::EmptyEditorClient::shouldApplyStyle): * page/DragController.cpp: (WebCore::DragController::concludeEditDrag): * page/EditorClient.h: (WebCore): (EditorClient): Source/WebKit/blackberry: * WebCoreSupport/EditorClientBlackBerry.cpp: (WebCore::EditorClientBlackBerry::shouldApplyStyle): * WebCoreSupport/EditorClientBlackBerry.h: (EditorClientBlackBerry): Source/WebKit/chromium: * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::shouldApplyStyle): * src/EditorClientImpl.h: (EditorClientImpl): Source/WebKit/efl: * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::shouldApplyStyle): * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): Source/WebKit/gtk: * WebCoreSupport/EditorClientGtk.cpp: (WebKit::EditorClient::shouldApplyStyle): * WebCoreSupport/EditorClientGtk.h: (EditorClient): Source/WebKit/mac: * WebCoreSupport/WebEditorClient.h: (WebEditorClient): * WebCoreSupport/WebEditorClient.mm: (WebEditorClient::shouldApplyStyle): * WebView/WebFrame.mm: (-[WebFrame _setTypingStyle:withUndoAction:]): * WebView/WebHTMLView.mm: (-[WebHTMLView _applyStyleToSelection:withUndoAction:]): (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]): * WebView/WebView.mm: (-[WebView applyStyle:]): Source/WebKit/qt: * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::shouldApplyStyle): * WebCoreSupport/EditorClientQt.h: (EditorClientQt): Source/WebKit/win: * WebCoreSupport/WebEditorClient.cpp: (WebEditorClient::shouldApplyStyle): * WebCoreSupport/WebEditorClient.h: (WebEditorClient): Source/WebKit/wince: * WebCoreSupport/EditorClientWinCE.cpp: (WebKit::EditorClientWinCE::shouldApplyStyle): Source/WebKit/wx: * WebKitSupport/EditorClientWx.cpp: (WebCore::EditorClientWx::shouldApplyStyle): * WebKitSupport/EditorClientWx.h: (EditorClientWx): Source/WebKit2: * WebProcess/WebCoreSupport/WebEditorClient.cpp: (WebKit::WebEditorClient::shouldApplyStyle): * WebProcess/WebCoreSupport/WebEditorClient.h: (WebEditorClient): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9a9656e8