[Webkit-unassigned] [Bug 116049] Add a DisplayAndPowerController class to handle IOKit Display and Power notifications

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 14 08:19:52 PDT 2013


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





--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org>  2013-05-14 08:18:18 PST ---
(In reply to comment #5)
>
> I wanted to leave s_screenDimmed as a part of DisplayAndPowerController because I felt natural that a display controller should keep the current state of the display. In addition, FrameSelection.cpp will be calling isScreenDimmed() to determine whether or not to invalidate the caret rect. I suppose then that I could leave the implementation of isScreenDimmed up to the platform as well instead of just returning s_screenDimmed but that seems rather odd to me.

But everything else can be moved into the internals, right?   Maybe DisplayController needs to be split into itws own class/file.

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