[Webkit-unassigned] [Bug 67750] Create a delegate class to help cleanly isolate the chromium compositor API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 10:28:21 PDT 2011


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





--- Comment #16 from Shawn Singh <shawnsingh at chromium.org>  2011-09-21 10:28:21 PST ---
Now that we have this CCLayerDelegate... 

The CCLayerDelegate has a drawsContent() interface which the user should provide.

The base class "LayerChromium" default implementation returns false.

should it return  "(m_delegate) ? m_delegate->drawsContent() : false"   instead?

I can imagine that users may want to explicitly create a new type of layer, so they use the delegate to implement their own paintContents function... and set drawsContent() to true thinking that it will be called appropriately.   But as the code is now, it wouldn't be called.

Thoughts?

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