Bug 127939

Summary: Begin fleshing out the navigation delegate
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

Anders Carlsson
Reported 2014-01-30 12:57:03 PST
Begin fleshing out the navigation delegate
Attachments
Patch (14.94 KB, patch)
2014-01-30 13:02 PST, Anders Carlsson
mitz: review+
Anders Carlsson
Comment 1 2014-01-30 13:02:17 PST
WebKit Commit Bot
Comment 2 2014-01-30 13:03:42 PST
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.
mitz
Comment 3 2014-01-30 13:14:22 PST
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.
mitz
Comment 4 2014-01-30 13:16:13 PST
Also, this looks like it breaks the tests.
Anders Carlsson
Comment 5 2014-01-30 13:23:30 PST
Note You need to log in before you can comment on or make changes to this bug.