Searched refs:callingWindow (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DBindingSecurity.cpp44 static bool isDocumentAccessibleFromDOMWindow(Document* targetDocument, LocalDOMWindow* callingWindow) argument
49 if (!callingWindow)
52 if (callingWindow->document()->securityOrigin()->canAccess(targetDocument->securityOrigin()))
60 LocalDOMWindow* callingWindow = callingDOMWindow(isolate); local
61 if (isDocumentAccessibleFromDOMWindow(targetDocument, callingWindow))
65 exceptionState.throwSecurityError(targetDocument->domWindow()->sanitizedCrossDomainAccessErrorMessage(callingWindow), targetDocument->domWindow()->crossDomainAccessErrorMessage(callingWindow));
71 LocalDOMWindow* callingWindow = callingDOMWindow(isolate); local
72 if (isDocumentAccessibleFromDOMWindow(targetDocument, callingWindow))
77 frame->domWindow()->printErrorMessage(targetDocument->domWindow()->crossDomainAccessErrorMessage(callingWindow));
[all...]
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DLocation.h55 void setHref(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
58 void assign(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
59 void replace(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
60 void reload(LocalDOMWindow* callingWindow);
62 void setProtocol(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&, ExceptionState&);
64 void setHost(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
66 void setHostname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
68 void setPort(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
70 void setPathname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String&);
72 void setSearch(LocalDOMWindow* callingWindow, LocalDOMWindo
[all...]
H A DLocation.cpp143 void Location::setHref(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& url) argument
147 setLocation(url, callingWindow, enteredWindow);
150 void Location::setProtocol(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& protocol, ExceptionState& exceptionState) argument
159 setLocation(url.string(), callingWindow, enteredWindow);
162 void Location::setHost(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& host) argument
168 setLocation(url.string(), callingWindow, enteredWindow);
171 void Location::setHostname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& hostname) argument
177 setLocation(url.string(), callingWindow, enteredWindow);
180 void Location::setPort(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& portString) argument
186 setLocation(url.string(), callingWindow, enteredWindo
189 setPathname(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& pathname) argument
198 setSearch(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& search) argument
207 setHash(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& hash) argument
225 assign(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& url) argument
232 replace(LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, const String& url) argument
240 reload(LocalDOMWindow* callingWindow) argument
249 setLocation(const String& url, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow) argument
[all...]
H A DLocalDOMWindow.cpp1627 void LocalDOMWindow::setLocation(const String& urlString, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, SetLocationLocking locking) argument
1632 Document* activeDocument = callingWindow->document();
1648 if (isInsecureScriptAccess(*callingWindow, completedURL))
1684 String LocalDOMWindow::sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) argument
1686 if (!callingWindow || !callingWindow->document())
1689 const KURL& callingWindowURL = callingWindow->document()->url();
1693 ASSERT(!callingWindow->document()->securityOrigin()->canAccess(document()->securityOrigin()));
1695 SecurityOrigin* activeOrigin = callingWindow->document()->securityOrigin();
1703 String LocalDOMWindow::crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow) argument
1747 isInsecureScriptAccess(LocalDOMWindow& callingWindow, const String& urlString) argument
1771 open(const String& urlString, const AtomicString& frameName, const String& windowFeaturesString, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow) argument
1833 showModalDialog(const String& urlString, const String& dialogFeaturesString, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, PrepareDialogFunction function, void* functionContext) argument
[all...]
H A DLocalDOMWindow.h134 void setLocation(const String& location, LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow,
148 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow);
152 LocalDOMWindow* callingWindow, LocalDOMWindow* enteredWindow, PrepareDialogFunction, void* functionContext);
218 String crossDomainAccessErrorMessage(LocalDOMWindow* callingWindow);
219 String sanitizedCrossDomainAccessErrorMessage(LocalDOMWindow* callingWindow);
304 bool isInsecureScriptAccess(LocalDOMWindow& callingWindow, const String& urlString);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DCreateWindow.h41 LocalDOMWindow& callingWindow, LocalFrame& firstFrame, LocalFrame& openerFrame, LocalDOMWindow::PrepareDialogFunction = 0, void* functionContext = 0);
H A DCreateWindow.cpp119 LocalDOMWindow& callingWindow, LocalFrame& firstFrame, LocalFrame& openerFrame, LocalDOMWindow::PrepareDialogFunction function, void* functionContext)
121 LocalFrame* activeFrame = callingWindow.frame();
127 callingWindow.printErrorMessage("Unable to open a window with invalid URL '" + completedURL.string() + "'.\n");
136 FrameLoadRequest frameRequest(callingWindow.document(), request, frameName);
150 if (newFrame->domWindow()->isInsecureScriptAccess(callingWindow, completedURL))
157 FrameLoadRequest request(callingWindow.document(), ResourceRequest(completedURL, referrer));
160 newFrame->navigationScheduler().scheduleLocationChange(callingWindow.document(), completedURL.string(), referrer, false);
118 createWindow(const String& urlString, const AtomicString& frameName, const WindowFeatures& windowFeatures, LocalDOMWindow& callingWindow, LocalFrame& firstFrame, LocalFrame& openerFrame, LocalDOMWindow::PrepareDialogFunction function, void* functionContext) argument
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDocument.cpp274 void HTMLDocument::write(LocalDOMWindow* callingWindow, const Vector<String>& text, ExceptionState& exceptionState) argument
276 ASSERT(callingWindow);
280 write(builder.toString(), callingWindow->document(), exceptionState);
283 void HTMLDocument::writeln(LocalDOMWindow* callingWindow, const Vector<String>& text, ExceptionState& exceptionState) argument
285 ASSERT(callingWindow);
289 writeln(builder.toString(), callingWindow->document(), exceptionState);

Completed in 134 milliseconds