[Webkit-unassigned] [Bug 30530] New: Replace QWebFrame::clipContentsToViewport with better API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 19 13:37:42 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30530

           Summary: Replace QWebFrame::clipContentsToViewport with better
                    API
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kenneth at webkit.org



Kenneth Rohde Christiansen <kenneth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41444|                            |review?
               Flag|                            |


Created an attachment (id=41444)
 --> (https://bugs.webkit.org/attachment.cgi?id=41444)
 First part of the clipContentsToViewport fix (introduce paint method,
deprecate render) 

We had a quick round of API review with Matthias here at the DevDays and came
up with the following suggestions for changes:

* QWebFrame::clipContentsToViewport:

    1) Remove the property
    2) Deprecate QWebFrame::render()
    3) Introduce QWebFrame::paint(QWebFrame::PaintOptions opts =
QWebFrame::AllElements), so that one can for eaxmple call

    frame->paint(QWebFrame::Contents);
    frame->paint(QWebFrame::Contents | QWebFrame::ScrollBars);

-- 
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