12011-02-14 Chang Shu <cshu@webkit.org>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Remove the support of Frame::isContentEditable, Editor::clientIsEditable and EditorClient::isEditable.
6 https://bugs.webkit.org/show_bug.cgi?id=54292
7
8 Frame::isContentEditable is currently based on two things: Editor::clientIsEditable and
9 Document::inDesignMode. In fact, it should only rely on Document::inDesignMode. As a result,
10 Editor::clientIsEditable and its client-side implementation can be removed.
11
12 * accessibility/AccessibilityRenderObject.cpp:
13 (WebCore::AccessibilityRenderObject::isReadOnly):
14 * editing/Editor.cpp:
15 * editing/Editor.h:
16 * editing/SelectionController.cpp:
17 (WebCore::SelectionController::setSelectionFromNone):
18 * html/HTMLElement.cpp:
19 (WebCore::HTMLElement::isContentEditable):
20 (WebCore::HTMLElement::isContentRichlyEditable):
21 * page/DragController.cpp:
22 (WebCore::DragController::operationForLoad):
23 * page/EditorClient.h:
24 * page/Frame.cpp:
25 * page/Frame.h:
26