Bug 38483

Summary: Implement PageClient::isPageVisible on Windows.
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch aroben: review+

Description Anders Carlsson 2010-05-03 13:00:03 PDT
Implement PageClient::isPageVisible on Windows.
Comment 1 Anders Carlsson 2010-05-03 13:06:00 PDT
Created attachment 54956 [details]
Patch
Comment 2 Adam Roben (:aroben) 2010-05-03 13:10:16 PDT
Comment on attachment 54956 [details]
Patch

Is it possible for m_window to be null?

The FIXME seems incorrect if it's possible for m_window to be a top-level window.

You could add a FIXME about checking if the window is clipped out of view.

r=me
Comment 3 Anders Carlsson 2010-05-03 13:11:59 PDT
(In reply to comment #2)
> (From update of attachment 54956 [details])
> Is it possible for m_window to be null?
> 

Nope.

> The FIXME seems incorrect if it's possible for m_window to be a top-level
> window.

It will never be a top-level window.

> 
> You could add a FIXME about checking if the window is clipped out of view.

In that case I think we might still want to update the backing store; this is more to stop updates from web views in hidden tabs from happening.

> 
> r=me

Thanks!
Comment 4 Anders Carlsson 2010-05-03 13:19:58 PDT
Committed r58697: <http://trac.webkit.org/changeset/58697>