Changeset 166731 in webkit
- Timestamp:
- Apr 3, 2014 11:06:50 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r166730 r166731 1 2014-04-02 Anders Carlsson <andersca@apple.com> 2 3 Document WKNavigationAction and WKNavigationResponse 4 https://bugs.webkit.org/show_bug.cgi?id=131138 5 6 Reviewed by Sam Weinig. 7 8 * UIProcess/API/Cocoa/WKFrameInfo.h: 9 * UIProcess/API/Cocoa/WKNavigationAction.h: 10 * UIProcess/API/Cocoa/WKNavigationResponse.h: 11 1 12 2014-04-03 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h
r163501 r166731 29 29 #if WK_API_ENABLED 30 30 31 /*! A @link WKFrameInfo @/link object contains information about a frame on a web page. 32 @discussion WKFrameInfo objects are transient data only objects, they can not be used to uniquely 33 identify a frame across multiple delegate method calls. 34 */ 31 35 WK_API_CLASS 32 36 @interface WKFrameInfo : NSObject 33 37 38 /*! @abstract Whether the frame is the main frame or a subframe. 39 */ 34 40 @property (nonatomic, readonly, getter=isMainFrame) BOOL mainFrame; 41 42 /*! @abstract The current NSURLRequest of this frame. 43 */ 35 44 @property (nonatomic, readonly) NSURLRequest *request; 36 45 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h
r166546 r166731 31 31 @class WKFrameInfo; 32 32 33 /*! @enum WKNavigationType 34 @abstract the type of action that triggered a possible navigation. 35 @constant WKNavigationTypeLinkActivated A link with an href activated by the user. 36 @constant WKNavigationTypeFormSubmitted A form was submitted. 37 @constant WKNavigationTypeBackForward The user requested an item from the back forward list. 38 @constant WKNavigationTypeReload The user reloaded a page. 39 @constant WKNavigationTypeFormResubmitted A form as resubmitted (for example by going back, forward or reloading). 40 @constant WKNavigationTypeOther Navigation is taking place for some other reason. 41 */ 33 42 typedef NS_ENUM(NSInteger, WKNavigationType) { 34 43 WKNavigationTypeLinkActivated, … … 40 49 }; 41 50 51 52 /*! Contains information about an action that may cause a navigation, used for making policy decisions. 53 */ 42 54 WK_API_CLASS 43 55 @interface WKNavigationAction : NSObject 44 56 57 /*! @abstract Represents the frame that is requesting the navigation. 58 */ 45 59 @property (nonatomic, readonly) WKFrameInfo *sourceFrame; 60 61 /*! @abstract Represents the target frame. If this is a new window navigation, targetFrame will be nil. 62 */ 46 63 @property (nonatomic, readonly) WKFrameInfo *targetFrame; 47 64 65 /*! @abstract The type of the navigation. 66 */ 48 67 @property (nonatomic, readonly) WKNavigationType navigationType; 68 69 /*! @abstract The NSURLRequest of the navigation. 70 */ 49 71 @property (nonatomic, readonly) NSURLRequest *request; 50 72 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h
r165678 r166731 31 31 @class WKFrameInfo; 32 32 33 /*! Contains information about a navigation response, used for making policy decisions. 34 */ 33 35 WK_API_CLASS 34 36 @interface WKNavigationResponse : NSObject 35 37 38 /*! @abstract Represents the frame that is being navigated. 39 */ 36 40 @property (nonatomic, readonly) WKFrameInfo *frame; 41 42 /*! @abstract The NSURLResponse of the frame. 43 */ 37 44 @property (nonatomic, readonly) NSURLResponse *response; 45 46 /*! @abstract Whether WebKit can show the MIME type natively or not. 47 */ 38 48 @property (nonatomic, readonly) BOOL canShowMIMEType; 39 49
Note: See TracChangeset
for help on using the changeset viewer.