RESOLVED FIXED140982
Add API::{FrameInfo, NavigationAction, NavigationResponse} types
https://bugs.webkit.org/show_bug.cgi?id=140982
Summary Add API::{FrameInfo, NavigationAction, NavigationResponse} types
Tim Horton
Reported 2015-01-27 20:12:03 PST
Add API::{FrameInfo, NavigationAction, NavigationResponse} types
Attachments
Patch (48.89 KB, patch)
2015-01-27 20:12 PST, Tim Horton
no flags
Patch (48.94 KB, patch)
2015-01-28 03:11 PST, Tim Horton
sam: review+
Tim Horton
Comment 1 2015-01-27 20:12:23 PST
WebKit Commit Bot
Comment 2 2015-01-27 20:14:49 PST
Attachment 245512 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm:115: The parameter name "frameInfo" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm:122: The parameter name "frameInfo" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:153: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:173: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:271: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:329: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 6 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 3 2015-01-28 03:11:47 PST
WebKit Commit Bot
Comment 4 2015-01-28 03:12:53 PST
Attachment 245529 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm:115: The parameter name "frameInfo" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.mm:122: The parameter name "frameInfo" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:153: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:173: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:271: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebKit2/UIProcess/Cocoa/NavigationState.mm:329: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 6 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 5 2015-01-28 11:58:30 PST
Comment on attachment 245529 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=245529&action=review > Source/WebKit2/UIProcess/API/APIFrameInfo.h:45 > + FrameInfo(const WebKit::WebFrameProxy&); I would mark this as explicit. > Source/WebKit2/UIProcess/API/APIFrameInfo.h:47 > + ~FrameInfo() I would mark this as virtual. I'm actually not sure if you need it at all. > Source/WebKit2/UIProcess/API/APINavigationAction.h:54 > + ~NavigationAction() Same comment as the FrameInfo destructor. > Source/WebKit2/UIProcess/API/APINavigationResponse.h:52 > + ~NavigationResponse() Same comment as the FrameInfo destructor.
Tim Horton
Comment 6 2015-01-28 19:05:45 PST
Note You need to log in before you can comment on or make changes to this bug.