Bug 137416

Summary: Move ServicesOverlayController to WebCore
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebCore Misc.Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, beidson, commit-queue, enrica, mitz, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
wip
none
patch
none
move to mainframe
none
fix mac build andersca: review+

Description Tim Horton 2014-10-03 19:56:46 PDT
The platform dependent bits are fairly small; this is a step on the way to having ServicesOverlayController work for Legacy WebKit.
Comment 1 Radar WebKit Bug Importer 2014-10-03 19:56:53 PDT
<rdar://problem/18546283>
Comment 2 Tim Horton 2014-10-03 19:57:00 PDT
Created attachment 239259 [details]
wip
Comment 3 WebKit Commit Bot 2014-10-03 19:58:24 PDT
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.
Comment 4 Tim Horton 2014-10-06 14:56:22 PDT
Created attachment 239360 [details]
patch
Comment 5 WebKit Commit Bot 2014-10-06 14:59:20 PDT
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 6 Anders Carlsson 2014-10-09 11:36:52 PDT
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.
Comment 7 Tim Horton 2014-10-09 12:28:24 PDT
Created attachment 239555 [details]
move to mainframe
Comment 8 WebKit Commit Bot 2014-10-09 12:31:06 PDT
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.
Comment 9 Tim Horton 2014-10-09 13:02:06 PDT
Created attachment 239562 [details]
fix mac build
Comment 10 WebKit Commit Bot 2014-10-09 13:04:56 PDT
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 11 Anders Carlsson 2014-10-09 13:22:20 PDT
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.
Comment 12 Tim Horton 2014-10-09 13:53:31 PDT
http://trac.webkit.org/changeset/174524