[Title] Add select all context menu when showing context menu anytime.
[Issue] P130411-5402
[Problem] There is no select all menu in context menu where called body of document
[Cause] There is no select all item append routine.
[Solution] Add select all context menu when showing context menu anytime.
Change-Id: I7a058f31b497083e770d1403c3f7109d2afc9d62
rects.append(r);
allFixed &= isFixed;
someFixed |= isFixed;
+ } else if (r && node->hasTagName(inputTag)) {
+ RenderBox* renderBox = toRenderBox(r);
+ int startOffset = node == startContainer ? m_start.offset() : 0;
+ int endOffset = node == endContainer ? m_end.offset() : numeric_limits<int>::max();
+ bool isFixed = false;
+ IntRect r = renderBox->absoluteBoundingBoxRect();
+ rects.append(r);
+ allFixed &= isFixed;
+ someFixed |= isFixed;
}
}
if (!m_hitTestResult.isContentEditable()) {
FrameLoader* loader = frame->loader();
KURL linkURL = m_hitTestResult.absoluteLinkURL();
+#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
+ appendItem(SelectAllItem, m_contextMenu.get());
+#endif
if (!linkURL.isEmpty()) {
#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION)
if (m_hitTestResult.isSelected()) {