- Revision
- 108562
- Author
- [email protected]
- Date
- 2012-02-22 15:40:01 -0800 (Wed, 22 Feb 2012)
Log Message
Remove the remaining uses of CSSStyleDeclaration in Editor
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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (108561 => 108562)
--- trunk/Source/WebCore/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebCore/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,41 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ 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):
+
2012-02-22 Daniel Bates <[email protected]>
Abstract ImageEventSender into a general purpose EventSender
Modified: trunk/Source/WebKit/blackberry/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/blackberry/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/EditorClientBlackBerry.cpp:
+ (WebCore::EditorClientBlackBerry::shouldApplyStyle):
+ * WebCoreSupport/EditorClientBlackBerry.h:
+ (EditorClientBlackBerry):
+
2012-02-22 Mike Fenton <[email protected]>
[BlackBerry] InputHandler has signed vs unsigned comparison.
Modified: trunk/Source/WebKit/chromium/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * src/EditorClientImpl.cpp:
+ (WebKit::EditorClientImpl::shouldApplyStyle):
+ * src/EditorClientImpl.h:
+ (EditorClientImpl):
+
2012-02-22 Daniel Cheng <[email protected]>
[chromium] Cleanup unused WebDragData methods after r107846
Modified: trunk/Source/WebKit/efl/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/efl/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/efl/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/EditorClientEfl.cpp:
+ (WebCore::EditorClientEfl::shouldApplyStyle):
+ * WebCoreSupport/EditorClientEfl.h:
+ (EditorClientEfl):
+
2012-02-22 Ryosuke Niwa <[email protected]>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit/gtk/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/gtk/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/gtk/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/EditorClientGtk.cpp:
+ (WebKit::EditorClient::shouldApplyStyle):
+ * WebCoreSupport/EditorClientGtk.h:
+ (EditorClient):
+
2012-02-22 Philippe Normand <[email protected]>
Unreviewed, rolling out r108522.
Modified: trunk/Source/WebKit/mac/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/mac/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/mac/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,22 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * 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:]):
+
2012-02-22 Ryosuke Niwa <[email protected]>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit/qt/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/qt/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/qt/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::shouldApplyStyle):
+ * WebCoreSupport/EditorClientQt.h:
+ (EditorClientQt):
+
2012-02-22 Mihnea Ovidenie <[email protected]>
[Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
Modified: trunk/Source/WebKit/win/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/win/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/win/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/WebEditorClient.cpp:
+ (WebEditorClient::shouldApplyStyle):
+ * WebCoreSupport/WebEditorClient.h:
+ (WebEditorClient):
+
2012-02-22 Ryosuke Niwa <[email protected]>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit/wince/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/wince/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/wince/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,13 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebCoreSupport/EditorClientWinCE.cpp:
+ (WebKit::EditorClientWinCE::shouldApplyStyle):
+
2012-02-22 Ryosuke Niwa <[email protected]>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit/wx/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit/wx/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit/wx/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebKitSupport/EditorClientWx.cpp:
+ (WebCore::EditorClientWx::shouldApplyStyle):
+ * WebKitSupport/EditorClientWx.h:
+ (EditorClientWx):
+
2012-02-22 Ryosuke Niwa <[email protected]>
Remove the remaining uses of CSSStyleDeclaration in Editor
Modified: trunk/Source/WebKit2/ChangeLog (108561 => 108562)
--- trunk/Source/WebKit2/ChangeLog 2012-02-22 23:28:15 UTC (rev 108561)
+++ trunk/Source/WebKit2/ChangeLog 2012-02-22 23:40:01 UTC (rev 108562)
@@ -1,3 +1,15 @@
+2012-02-21 Ryosuke Niwa <[email protected]>
+
+ Remove the remaining uses of CSSStyleDeclaration in Editor
+ https://bugs.webkit.org/show_bug.cgi?id=78939
+
+ Reviewed by Enrica Casucci.
+
+ * WebProcess/WebCoreSupport/WebEditorClient.cpp:
+ (WebKit::WebEditorClient::shouldApplyStyle):
+ * WebProcess/WebCoreSupport/WebEditorClient.h:
+ (WebEditorClient):
+
2012-02-22 Martin Robinson <[email protected]>
[GTK] Clean build is broken when using make -j