Home
last modified time | relevance | path

Searched refs:domWindow (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DBindingSecurity.cpp64 if (targetDocument->domWindow()) in canAccessDocument()
65 …SecurityError(targetDocument->domWindow()->sanitizedCrossDomainAccessErrorMessage(activeWindow), t… in canAccessDocument()
75 if (reportingOption == ReportSecurityError && targetDocument->domWindow()) { in canAccessDocument()
77 …frame->domWindow()->printErrorMessage(targetDocument->domWindow()->crossDomainAccessErrorMessage(a… in canAccessDocument()
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
DVideoPlaybackQuality.cpp53 if (document.domWindow() && document.domWindow()->performance()) in VideoPlaybackQuality()
54 m_creationTime = document.domWindow()->performance()->now(); in VideoPlaybackQuality()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMWindow.cpp174 static void addUnloadEventListener(DOMWindow* domWindow) in addUnloadEventListener() argument
179 set.add(domWindow); in addUnloadEventListener()
182 static void removeUnloadEventListener(DOMWindow* domWindow) in removeUnloadEventListener() argument
185 DOMWindowSet::iterator it = set.find(domWindow); in removeUnloadEventListener()
193 static void removeAllUnloadEventListeners(DOMWindow* domWindow) in removeAllUnloadEventListeners() argument
196 DOMWindowSet::iterator it = set.find(domWindow); in removeAllUnloadEventListeners()
204 static void addBeforeUnloadEventListener(DOMWindow* domWindow) in addBeforeUnloadEventListener() argument
209 set.add(domWindow); in addBeforeUnloadEventListener()
212 static void removeBeforeUnloadEventListener(DOMWindow* domWindow) in removeBeforeUnloadEventListener() argument
215 DOMWindowSet::iterator it = set.find(domWindow); in removeBeforeUnloadEventListener()
[all …]
DUseCounter.cpp580 void UseCounter::count(const DOMWindow* domWindow, Feature feature) in count() argument
582 ASSERT(domWindow); in count()
583 if (!domWindow->document()) in count()
585 count(*domWindow->document(), feature); in count()
DDOMWindowProperty.cpp44 m_associatedDOMWindow = m_frame->domWindow(); in DOMWindowProperty()
DLocation.cpp230 … m_frame->domWindow()->setLocation(url, activeWindow, firstWindow, LockHistoryAndBackForwardList); in replace()
249 frame->domWindow()->setLocation(url, activeWindow, firstWindow); in setLocation()
DFrame.h135 DOMWindow* domWindow() const;
275 inline DOMWindow* Frame::domWindow() const in domWindow() function
/external/chromium_org/third_party/WebKit/Source/modules/speech/testing/
DInternalsSpeechSynthesis.cpp44 ASSERT(internals && document && document->domWindow()); in enableMockSpeechSynthesizer()
46 SpeechSynthesis* synthesis = DOMWindowSpeechSynthesis::speechSynthesis(document->domWindow()); in enableMockSpeechSynthesizer()
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
DDeviceSensorEventController.cpp62 if (m_document && m_document->domWindow() in dispatchDeviceEvent()
65 m_document->domWindow()->dispatchEvent(event); in dispatchDeviceEvent()
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventDispatcher.cpp86 …SimulatedMouseEvent::create(EventTypeNames::mouseover, node->document().domWindow(), underlyingEve… in dispatchSimulatedClick()
89 …SimulatedMouseEvent::create(EventTypeNames::mousedown, node->document().domWindow(), underlyingEve… in dispatchSimulatedClick()
92 …, SimulatedMouseEvent::create(EventTypeNames::mouseup, node->document().domWindow(), underlyingEve… in dispatchSimulatedClick()
96 …de, SimulatedMouseEvent::create(EventTypeNames::click, node->document().domWindow(), underlyingEve… in dispatchSimulatedClick()
DWindowEventContext.cpp49 m_window = toDocument(topLevelContainer)->domWindow(); in WindowEventContext()
/external/chromium_org/third_party/WebKit/Source/web/
DStorageAreaProxy.cpp163 Storage* storage = frame->domWindow()->optionalLocalStorage(); in dispatchLocalStorageEvent()
165 …frame->domWindow()->enqueueWindowEvent(StorageEvent::create(EventTypeNames::storage, key, oldValue… in dispatchLocalStorageEvent()
193 Storage* storage = frame->domWindow()->optionalSessionStorage(); in dispatchSessionStorageEvent()
195 …frame->domWindow()->enqueueWindowEvent(StorageEvent::create(EventTypeNames::storage, key, oldValue… in dispatchSessionStorageEvent()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebInputEventConversionTest.cpp111 DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->domWindow(); in TEST() local
245 …nt> mouseEvent = MouseEvent::create(WebCore::EventTypeNames::mousemove, domWindow, platformMouseEv… in TEST()
258 …nt> mouseEvent = MouseEvent::create(WebCore::EventTypeNames::mousemove, domWindow, platformMouseEv… in TEST()
265 RefPtr<GestureEvent> gestureEvent = GestureEvent::create(domWindow, platformGestureEvent); in TEST()
280 …, touchList.get(), touchList.get(), WebCore::EventTypeNames::touchmove, domWindow, 10, 10, 10, 10,… in TEST()
456 DOMWindow* domWindow = webViewImpl->page()->mainFrame()->document()->domWindow(); in TEST() local
477 …RefPtr<WebCore::GestureEvent> coreGestureEvent = WebCore::GestureEvent::create(domWindow, platform… in TEST()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInputMethodController.cpp195 …Event> event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text); in finishComposition()
254 …vent(CompositionEvent::create(EventTypeNames::compositionstart, m_frame.domWindow(), m_frame.selec… in setComposition()
255 … event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text); in setComposition()
259 … event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text); in setComposition()
261 … event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text); in setComposition()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorCanvasAgent.cpp213 DOMWindow* domWindow = 0; in notifyRenderingContextWasWrapped() local
215 domWindow = scriptState->domWindow(); in notifyRenderingContextWasWrapped()
216 Frame* frame = domWindow ? domWindow->frame() : 0; in notifyRenderingContextWasWrapped()
DInjectedScriptManager.cpp125 if (window != scriptState->domWindow()) in discardInjectedScriptsFor()
138 if (window == scriptState->domWindow()) in discardInjectedScriptsFor()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPointerLockController.cpp156 if (document && document->domWindow()) in enqueueEvent()
157 document->domWindow()->enqueueDocumentEvent(Event::create(type)); in enqueueEvent()
DCreateWindow.cpp143 if (newFrame->domWindow()->isInsecureScriptAccess(activeWindow, completedURL)) in createWindow()
147 function(newFrame->domWindow(), functionContext); in createWindow()
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
DCustomElement.cpp125 if (!document.domWindow()) in didEnterDocument()
133 if (!document.domWindow()) in didLeaveDocument()
/external/chromium_org/third_party/WebKit/Source/core/html/
DImageDocument.cpp206 if (DOMWindow* domWindow = this->domWindow()) in createDocumentStructure() local
207 domWindow->addEventListener("resize", listener, false); in createDocumentStructure()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DNamedFlow.cpp215 …EventTypeNames::webkitregionlayoutupdate, false, false, m_flowManager->document()->domWindow(), 0); in dispatchRegionLayoutUpdateEvent()
228 …ventTypeNames::webkitregionoversetchange, false, false, m_flowManager->document()->domWindow(), 0); in dispatchRegionOversetChangeEvent()
/external/chromium_org/third_party/WebKit/Source/modules/speech/
DDOMWindowSpeechSynthesis.cpp74 m_speechSynthesis = SpeechSynthesis::create(frame()->domWindow()->executionContext()); in speechSynthesis()
/external/chromium_org/third_party/WebKit/Source/core/testing/
DDummyPageHolder.cpp86 return *m_frame->domWindow()->document(); in document()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFrameLoader.cpp292 InspectorInstrumentation::frameWindowDiscarded(m_frame, m_frame->domWindow()); in clear()
293 m_frame->domWindow()->reset(); in clear()
368 m_frame->domWindow()->statePopped(m_currentItem->stateObject()); in didBeginDocument()
589 m_frame->domWindow()->enqueueHashchangeEvent(oldURL, url); in loadInSameDocument()
607 … m_frame->domWindow()->statePopped(stateObject ? stateObject : SerializedScriptValue::nullValue()); in loadInSameDocument()
895 DOMWindow* window = m_frame->domWindow(); in commitProvisionalLoad()
1379 UseCounter::count(m_frame->domWindow(), UseCounter::XFrameOptions); in shouldInterruptLoadForXFrameOptions()
1389 UseCounter::count(m_frame->domWindow(), UseCounter::XFrameOptionsSameOrigin); in shouldInterruptLoadForXFrameOptions()
1395 … UseCounter::count(m_frame->domWindow(), UseCounter::XFrameOptionsSameOriginWithBadAncestorChain); in shouldInterruptLoadForXFrameOptions()
/external/chromium_org/third_party/WebKit/Source/core/workers/
DSharedWorker.cpp60 UseCounter::count(toDocument(context)->domWindow(), UseCounter::SharedWorkerStart); in create()

123