Struct xpcom::interfaces::nsIURIFixupInfo [] [src]

#[repr(C)]
pub struct nsIURIFixupInfo { /* fields omitted */ }

interface nsIURIFixupInfo : nsISupports

/**
 * Interface indicating what we found/corrected when fixing up a URI
 */

Methods

impl nsIURIFixupInfo
[src]

[src]

Cast this nsIURIFixupInfo to one of its base interfaces.

impl nsIURIFixupInfo
[src]

[src]

/**
   * Consumer that asked for fixed up URI.
   */

attribute nsISupports consumer;

[src]

/**
   * Consumer that asked for fixed up URI.
   */

attribute nsISupports consumer;

[src]

/**
   * Our best guess as to what URI the consumer will want. Might
   * be null if we couldn't salvage anything (for instance, because
   * the input was invalid as a URI and FIXUP_FLAG_ALLOW_KEYWORD_LOOKUP
   * was not passed)
   */

readonly attribute nsIURI preferredURI;

[src]

/**
   * The fixed-up original input, *never* using a keyword search.
   * (might be null if the original input was not recoverable as
   * a URL, e.g. "foo bar"!)
   */

readonly attribute nsIURI fixedURI;

[src]

/**
   * The name of the keyword search provider used to provide a keyword search;
   * empty string if no keyword search was done.
   */

readonly attribute AString keywordProviderName;

[src]

/**
   * The keyword as used for the search (post trimming etc.)
   * empty string if no keyword search was done.
   */

readonly attribute AString keywordAsSent;

[src]

/**
   * Whether we changed the protocol instead of using one from the input as-is.
   */

readonly attribute boolean fixupChangedProtocol;

[src]

/**
   * Whether we created an alternative URI. We might have added a prefix and/or
   * suffix, the contents of which are controlled by the
   * browser.fixup.alternate.prefix and .suffix prefs, with the defaults being
   * "www." and ".com", respectively.
   */

readonly attribute boolean fixupCreatedAlternateURI;

[src]

/**
   * The original input
   */

readonly attribute AUTF8String originalInput;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIURIFixupInfo
[src]

IID: nsIID = nsID(1209659779, 46386, 18738, [172, 9, 179, 9, 205, 133, 59, 231])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIURIFixupInfo
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIURIFixupInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.