Summary: | Begin fleshing out the navigation delegate | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, mitz | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2014-01-30 12:57:03 PST
Created attachment 222718 [details]
Patch
Attachment 222718 [details] did not pass style-queue:
ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.h:64: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5]
ERROR: Source/WebKit2/UIProcess/API/APIPolicyClient.h:54: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5]
Total errors found: 2 in 8 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 222718 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222718&action=review > Source/WebKit2/UIProcess/Cocoa/NavigationState.h:73 > + WKWebView* m_webView; Star on the wrong side. > Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:110 > + case WKNavigationPolicyDecisionAllow: > + listener->use(); > + break; > + > + case WKNavigationPolicyDecisionCancel: > + listener->ignore(); > + break; > + > + case WKNavigationPolicyDecisionDownload: > + listener->download(); This is over-indented. Also, this looks like it breaks the tests. Committed r163108: <http://trac.webkit.org/changeset/163108> |