Bug 127875 - Add IsVisibleOrOccluded to ViewState
Summary: Add IsVisibleOrOccluded to ViewState
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Gavin Barraclough
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 17:23 PST by Gavin Barraclough
Modified: 2014-01-29 18:05 PST (History)
0 users

See Also:


Attachments
Fix (7.48 KB, patch)
2014-01-29 17:28 PST, Gavin Barraclough
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2014-01-29 17:23:54 PST
If a plugin is occluded we should not treat it as non-visible, since it may be occluding itself with a fullscreen window! So for plugins we want to know, is the window visible OR occluded.
Comment 1 Gavin Barraclough 2014-01-29 17:28:39 PST
Created attachment 222610 [details]
Fix
Comment 2 Anders Carlsson 2014-01-29 17:34:37 PST
Comment on attachment 222610 [details]
Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=222610&action=review

> Source/WebKit2/UIProcess/PageClient.h:108
> +    // Return whether the view is visible, or occulded by another window.

Occulded.
Comment 3 Gavin Barraclough 2014-01-29 18:05:28 PST
Transmitting file data .........
Committed revision 163061.