webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
IWebPolicyDecisionListener Interface Reference

import"IWebPolicyDelegate.idl";

Inheritance diagram for IWebPolicyDecisionListener:
WebFramePolicyListener

Public Member Functions

HRESULT use ()
 
HRESULT download ()
 
HRESULT ignore ()
 

Member Function Documentation

◆ download()

HRESULT IWebPolicyDecisionListener::download ( )

download Download the resource instead of displaying it. This method is more than just a convenience because it allows an in-progress navigation to be converted to a download based on content type, without having to stop and restart the load.

  • (void)download;

Implemented in WebFramePolicyListener.

◆ ignore()

HRESULT IWebPolicyDecisionListener::ignore ( )

ignore Do nothing (but the client may choose to handle the request itself) A policy of ignore prevents WebKit from doing anything further with the load, however, the client is still free to handle the request in some other way, such as opening a new window, opening a new window behind the current one, opening the URL in an external app, revealing the location in Finder if a file URL, etc.

  • (void)ignore;

Implemented in WebFramePolicyListener.

◆ use()

HRESULT IWebPolicyDecisionListener::use ( )

use Use the resource If there remain more policy decisions to be made, then the next policy delegate method gets to decide. This will be either the next navigation policy delegate if there is a redirect, or the content policy delegate. If there are no more policy decisions to be made, the resource will be displayed inline if possible. If there is no view available to display the resource inline, then unableToImplementPolicyWithError:frame: will be called with an appropriate error.

If a new window is going to be created for this navigation as a result of frame targeting, then it will be created once you call this method.

  • (void)use;

Implemented in WebFramePolicyListener.


The documentation for this interface was generated from the following file: