[Webkit-unassigned] [Bug 43498] [Qt] add an API for QWebPage to get current focused element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 12 20:14:49 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43498
--- Comment #13 from Ariya Hidayat <ariya.hidayat at gmail.com> 2010-08-12 20:14:49 PST ---
> QWebFrame *QWebPage::currentFrame() const
> {
> d->createMainFrame();
> return static_cast<WebCore::FrameLoaderClientQt *>(d->page->focusController()->focusedOrMainFrame()->loader()->client())->webFrame();
> }
>
> looks like it'd work, yes.
Then this patch can't really be justified.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list