Use a pull model for view state changes
Created attachment 78465 [details] Patch
Comment on attachment 78465 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=78465&action=review > WebKit2/UIProcess/WebPageProxy.h:176 > + enum ViewStateFlags { > + IsViewWindowActive = 1 << 0, > + IsViewFocused = 1 << 1, > + IsViewVisible = 1 << 2, > + IsViewInWindow = 1 << 3 > + }; Itβs not good that the value names read like questions. > WebKit2/UIProcess/WebPageProxy.h:177 > + void viewStateDidChange(unsigned flags); It would be better to have a typedef for this instead of using unsigned.
Comment on attachment 78465 [details] Patch r=me, though please consider making the changes mitz advised.
Committed r75452: <http://trac.webkit.org/changeset/75452>