Home
last modified time | relevance | path

Searched refs:activeWindow (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/frame/
DLocation.cpp136 void Location::setHref(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& url) in setHref() argument
140 setLocation(url, activeWindow, firstWindow); in setHref()
143 void Location::setProtocol(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& protocol,… in setProtocol() argument
152 setLocation(url.string(), activeWindow, firstWindow); in setProtocol()
155 void Location::setHost(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& host) in setHost() argument
161 setLocation(url.string(), activeWindow, firstWindow); in setHost()
164 void Location::setHostname(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& hostname) in setHostname() argument
170 setLocation(url.string(), activeWindow, firstWindow); in setHostname()
173 void Location::setPort(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& portString) in setPort() argument
179 setLocation(url.string(), activeWindow, firstWindow); in setPort()
[all …]
DLocation.h50 void setHref(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
53 void assign(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
54 void replace(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
55 void reload(DOMWindow* activeWindow);
57 … void setProtocol(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&, ExceptionState&);
59 void setHost(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
61 void setHostname(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
63 void setPort(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
65 void setPathname(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
67 void setSearch(DOMWindow* activeWindow, DOMWindow* firstWindow, const String&);
[all …]
DDOMWindow.cpp1653 void DOMWindow::setLocation(const String& urlString, DOMWindow* activeWindow, DOMWindow* firstWindo… in setLocation() argument
1658 Document* activeDocument = activeWindow->document(); in setLocation()
1673 if (isInsecureScriptAccess(activeWindow, completedURL)) in setLocation()
1696 String DOMWindow::sanitizedCrossDomainAccessErrorMessage(DOMWindow* activeWindow) in sanitizedCrossDomainAccessErrorMessage() argument
1698 if (!activeWindow || !activeWindow->document()) in sanitizedCrossDomainAccessErrorMessage()
1701 const KURL& activeWindowURL = activeWindow->document()->url(); in sanitizedCrossDomainAccessErrorMessage()
1705 ASSERT(!activeWindow->document()->securityOrigin()->canAccess(document()->securityOrigin())); in sanitizedCrossDomainAccessErrorMessage()
1707 SecurityOrigin* activeOrigin = activeWindow->document()->securityOrigin(); in sanitizedCrossDomainAccessErrorMessage()
1715 String DOMWindow::crossDomainAccessErrorMessage(DOMWindow* activeWindow) in crossDomainAccessErrorMessage() argument
1717 if (!activeWindow || !activeWindow->document()) in crossDomainAccessErrorMessage()
[all …]
DDOMWindow.h136 void setLocation(const String& location, DOMWindow* activeWindow, DOMWindow* firstWindow,
150 DOMWindow* activeWindow, DOMWindow* firstWindow);
154 … DOMWindow* activeWindow, DOMWindow* firstWindow, PrepareDialogFunction, void* functionContext);
223 String crossDomainAccessErrorMessage(DOMWindow* activeWindow);
224 String sanitizedCrossDomainAccessErrorMessage(DOMWindow* activeWindow);
312 bool isInsecureScriptAccess(DOMWindow* activeWindow, const String& urlString);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DBindingSecurity.cpp44 static bool isDocumentAccessibleFromDOMWindow(Document* targetDocument, DOMWindow* activeWindow) in isDocumentAccessibleFromDOMWindow() argument
49 if (!activeWindow) in isDocumentAccessibleFromDOMWindow()
52 if (activeWindow->document()->securityOrigin()->canAccess(targetDocument->securityOrigin())) in isDocumentAccessibleFromDOMWindow()
60 DOMWindow* activeWindow = activeDOMWindow(); in canAccessDocument() local
61 if (isDocumentAccessibleFromDOMWindow(targetDocument, activeWindow)) in canAccessDocument()
65 …zedCrossDomainAccessErrorMessage(activeWindow), targetDocument->domWindow()->crossDomainAccessErro… in canAccessDocument()
71 DOMWindow* activeWindow = activeDOMWindow(); in canAccessDocument() local
72 if (isDocumentAccessibleFromDOMWindow(targetDocument, activeWindow)) in canAccessDocument()
77 …dow()->printErrorMessage(targetDocument->domWindow()->crossDomainAccessErrorMessage(activeWindow)); in canAccessDocument()
/external/chromium_org/third_party/WebKit/Source/core/page/
DCreateWindow.cpp115 …DOMWindow* activeWindow, Frame* firstFrame, Frame* openerFrame, DOMWindow::PrepareDialogFunction f… in createWindow() argument
117 Frame* activeFrame = activeWindow->frame(); in createWindow()
122activeWindow->printErrorMessage("Unable to open a window with invalid URL '" + completedURL.string… in createWindow()
131 FrameLoadRequest frameRequest(activeWindow->document(), request, frameName); in createWindow()
143 if (newFrame->domWindow()->isInsecureScriptAccess(activeWindow, completedURL)) in createWindow()
150 FrameLoadRequest request(activeWindow->document(), ResourceRequest(completedURL, referrer)); in createWindow()
153 …newFrame->navigationScheduler().scheduleLocationChange(activeWindow->document(), completedURL.stri… in createWindow()
DCreateWindow.h41 …DOMWindow* activeWindow, Frame* firstFrame, Frame* openerFrame, DOMWindow::PrepareDialogFunction =…
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLDocument.cpp331 void HTMLDocument::write(DOMWindow* activeWindow, const Vector<String>& text) in write() argument
333 ASSERT(activeWindow); in write()
337 write(builder.toString(), activeWindow->document()); in write()
340 void HTMLDocument::writeln(DOMWindow* activeWindow, const Vector<String>& text) in writeln() argument
342 ASSERT(activeWindow); in writeln()
346 writeln(builder.toString(), activeWindow->document()); in writeln()