The platform dependent bits are fairly small; this is a step on the way to having ServicesOverlayController work for Legacy WebKit.
<rdar://problem/18546283>
Created attachment 239259 [details] wip
Attachment 239259 [details] did not pass style-queue: ERROR: Source/WebCore/editing/SelectionRectGatherer.cpp:33: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:186: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:392: Should have a space between // and comment [whitespace/comments] [4] ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:405: Should have a space between // and comment [whitespace/comments] [4] Total errors found: 4 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 239360 [details] patch
Attachment 239360 [details] did not pass style-queue: ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:185: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 239360 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=239360&action=review I think this should go on MainFrame instead of Page. > Source/WebCore/page/mac/ServicesOverlayController.h:48 > + ServicesOverlayController(Page&); I think this should be explicit.
Created attachment 239555 [details] move to mainframe
Attachment 239555 [details] did not pass style-queue: ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:194: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 239562 [details] fix mac build
Attachment 239562 [details] did not pass style-queue: ERROR: Source/WebCore/page/mac/ServicesOverlayController.mm:194: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 239562 [details] fix mac build View in context: https://bugs.webkit.org/attachment.cgi?id=239555&action=review > Source/WebCore/editing/Editor.cpp:3347 > + if (!shouldDetectTelephoneNumbers() || !client() || !m_frame.page()) I don't think you need this.
http://trac.webkit.org/changeset/174524