Lines Matching refs:m_impl
84 m_impl = new WebFramePrivate();
93 RefPtr<WebCore::Frame> newFrame = WebCore::Frame::create(container->m_impl->page, parentFrame, loaderClient);
95 m_impl->frame = newFrame.get();
108 m_impl->frame->ref();
110 m_impl->frame->init();
117 if (m_impl)
118 delete m_impl;
123 if (m_impl)
124 return m_impl->frame;
131 if (m_impl->frame && m_impl->frame->loader())
132 m_impl->frame->loader()->stop();
137 if (m_impl->frame && m_impl->frame->loader())
138 m_impl->frame->loader()->reload();
143 if (m_impl->frame) {
144 if (m_impl->frame->view() && m_impl->frame->view()->layoutPending())
145 m_impl->frame->view()->layout();
147 WebCore::Document* doc = m_impl->frame->document();
159 if (m_impl->frame && m_impl->frame->loader()) {
168 m_impl->frame->loader()->stop();
169 m_impl->frame->loader()->load(WebCore::ResourceRequest(url), substituteData, false);
175 if (m_impl->frame->view() && m_impl->frame->view()->layoutPending())
176 m_impl->frame->view()->layout();
178 WebCore::Element *documentElement = m_impl->frame->document()->documentElement();
184 if (!m_impl->frame || !m_impl->frame->document())
187 return createMarkup(m_impl->frame->document());
192 if (m_impl->frame->view() && m_impl->frame->view()->layoutPending())
193 m_impl->frame->view()->layout();
195 return externalRepresentation(m_impl->frame);
200 if (m_impl->frame)
201 return m_impl->frame->selection()->toNormalizedRange()->toHTML();
208 if (m_impl->frame)
209 return m_impl->frame->selection()->toNormalizedRange()->text();
216 if (m_impl->frame)
217 return wxWebKitSelection(m_impl->frame->selection());
225 if (m_impl->frame && m_impl->frame->loader()) {
226 bool hasLoaded = m_impl->frame->loader()->frameHasLoaded();
229 WebCore::ScriptController* controller = m_impl->frame->script();
235 returnValue = wxString(result.toString(m_impl->frame->script()->globalObject(WebCore::mainThreadNormalWorld())->globalExec()).utf8().data(), wxConvUTF8);
244 if (m_impl->frame && IsEditable())
245 return m_impl->frame->editor()->command(command).execute(parameter);
250 if (m_impl->frame && IsEditable()) {
251 WebCore::TriState state = m_impl->frame->editor()->command(command).state();
265 if (m_impl->frame && IsEditable())
266 return m_impl->frame->editor()->command(command).value();
274 if (m_impl->frame)
275 return m_impl->frame->editor()->findString(string, forward, caseSensitive, wrapSelection, startInSelection);
282 if (m_impl->frame && m_impl->frame->loader()) {
298 m_impl->frame->loader()->load(kurl, false);
304 if (m_impl->frame && m_impl->frame->page())
305 return m_impl->frame->page()->goBack();
312 if (m_impl->frame && m_impl->frame->page())
313 return m_impl->frame->page()->goForward();
320 if (m_impl->frame && m_impl->frame->page())
321 return m_impl->frame->page()->canGoBackOrForward(-1);
328 if (m_impl->frame && m_impl->frame->page())
329 return m_impl->frame->page()->canGoBackOrForward(1);
336 if (m_impl->frame && m_impl->frame->editor() && CanUndo())
337 return m_impl->frame->editor()->undo();
342 if (m_impl->frame && m_impl->frame->editor() && CanRedo())
343 return m_impl->frame->editor()->redo();
348 if (m_impl->frame && m_impl->frame->editor())
349 return m_impl->frame->editor()->canUndo();
356 if (m_impl->frame && m_impl->frame->editor())
357 return m_impl->frame->editor()->canRedo();
364 if (m_impl->frame && m_impl->frame->view()) {
375 m_impl->frame->setTextZoomFactor(m_textMagnifier);
381 if (m_impl->frame && m_impl->frame->view()) {
392 m_impl->frame->setTextZoomFactor(m_textMagnifier);
399 if (m_impl->frame)
400 m_impl->frame->setTextZoomFactor(m_textMagnifier);
405 if (enable != IsEditable() && m_impl->frame && m_impl->frame->page())
406 m_impl->frame->page()->setEditable(enable);
411 if (m_impl->frame && m_impl->frame->page())
412 return m_impl->frame->page()->isEditable();
418 if (m_impl->frame && m_impl->frame->view())
419 return (m_impl->frame->editor()->canCopy() || m_impl->frame->editor()->canDHTMLCopy());
427 m_impl->frame->editor()->copy();
432 if (m_impl->frame && m_impl->frame->view())
433 return (m_impl->frame->editor()->canCut() || m_impl->frame->editor()->canDHTMLCut());
441 m_impl->frame->editor()->cut();
446 if (m_impl->frame && m_impl->frame->view())
447 return (m_impl->frame->editor()->canPaste() || m_impl->frame->editor()->canDHTMLPaste());
455 m_impl->frame->editor()->paste();
463 if (m_impl->frame->view()) {
464 WebCore::HitTestResult result = m_impl->frame->eventHandler()->hitTestResultAtPoint(m_impl->frame->view()->windowToContents(pos), false);
478 if (m_impl->frame)
479 return m_impl->frame->loader()->shouldClose();
486 if (m_impl->frame && m_impl->frame->document())
487 return (wxWebKitCompatibilityMode)m_impl->frame->document()->compatibilityMode();
494 if (m_impl->frame && m_impl->frame->document())
495 m_impl->frame->document()->securityOrigin()->grantUniversalAccess();