Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell think a user click happened when it talks to the uriloader. I removed two boolean fields which were representing two load types. Simplified the api by allowing you to pass in any of our load types. r=valeski git-svn-id: svn://10.0.0.236/trunk@72909 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1020,7 +1020,7 @@ nsWebShell::HandleLinkClickEvent(nsIContent *aContent,
|
||||
nsCOMPtr<nsISupports> owner;
|
||||
GetCurrentDocumentOwner(getter_AddRefs(owner));
|
||||
|
||||
InternalLoad(uri, mCurrentURI, owner, target, aPostDataStream, loadLink);
|
||||
InternalLoad(uri, mCurrentURI, owner, target, aPostDataStream, nsIDocShellLoadInfo::loadLink);
|
||||
}
|
||||
break;
|
||||
case eLinkVerb_Embed:
|
||||
|
||||
Reference in New Issue
Block a user