Changeset 173542 in webkit
- Timestamp:
- Sep 11, 2014, 3:08:54 PM (12 years ago)
- Location:
- branches/safari-600.1.4.11-branch/Source/WebKit2
- Files:
-
- 5 edited
-
ChangeLog (modified) (1 diff)
-
Shared/InteractionInformationAtPosition.cpp (modified) (2 diffs)
-
Shared/InteractionInformationAtPosition.h (modified) (2 diffs)
-
UIProcess/ios/WKContentViewInteraction.mm (modified) (1 diff)
-
WebProcess/WebPage/ios/WebPageIOS.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-600.1.4.11-branch/Source/WebKit2/ChangeLog
r173489 r173542 1 2014-09-11 Babak Shafiei <bshafiei@apple.com> 2 3 Roll out r173450. 4 1 5 2014-09-10 Babak Shafiei <bshafiei@apple.com> 2 6 -
branches/safari-600.1.4.11-branch/Source/WebKit2/Shared/InteractionInformationAtPosition.cpp
r173489 r173542 39 39 encoder << isSelectable; 40 40 encoder << isNearMarkedText; 41 encoder << touchCalloutEnabled;42 41 encoder << clickableElementName; 43 42 encoder << url; … … 65 64 return false; 66 65 67 if (!decoder.decode(result.touchCalloutEnabled))68 return false;69 70 66 if (!decoder.decode(result.clickableElementName)) 71 67 return false; -
branches/safari-600.1.4.11-branch/Source/WebKit2/Shared/InteractionInformationAtPosition.h
r173489 r173542 41 41 , isSelectable(false) 42 42 , isNearMarkedText(false) 43 , touchCalloutEnabled(true)44 43 { 45 44 } … … 49 48 bool isSelectable; 50 49 bool isNearMarkedText; 51 bool touchCalloutEnabled;52 50 String clickableElementName; 53 51 String url; -
branches/safari-600.1.4.11-branch/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm
r173489 r173542 783 783 - (SEL)_actionForLongPress 784 784 { 785 if (!_positionInformation.touchCalloutEnabled)786 return nil;787 788 785 if (_positionInformation.clickableElementName == "IMG") 789 786 return @selector(_showImageSheet); -
branches/safari-600.1.4.11-branch/Source/WebKit2/WebProcess/WebPage/ios/WebPageIOS.mm
r173489 r173542 1899 1899 if (linkElement && info.title.isEmpty()) 1900 1900 info.title = element->innerText(); 1901 if (element->renderer()) {1901 if (element->renderer()) 1902 1902 info.bounds = element->renderer()->absoluteBoundingBoxRect(true); 1903 info.touchCalloutEnabled = element->renderer()->style().touchCalloutEnabled();1904 }1905 1903 } 1906 1904 }
Note:
See TracChangeset
for help on using the changeset viewer.