| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index f79ac190fa2164795aebffd83c6c1cf345d9ad68..28b5682a7610872777086567c54c931696d24a1f 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -421,6 +421,13 @@ class CC_EXPORT ResourceProvider
|
| // Indicates if we can currently lock this resource for write.
|
| bool CanLockForWrite(ResourceId id);
|
|
|
| + // Indicates if this resource is currently being used as an overlay by the
|
| + // windowing system.
|
| + // TODO(ccameron): This should be entirely hidden inside CanLockForWrite, but
|
| + // will erratically returns true, potentially breaking DCHECKs.
|
| + // http://crbug.com/577121
|
| + bool IsInUseByMacOSWindowServer(ResourceId id);
|
| +
|
| // Indicates if this resource may be used for a hardware overlay plane.
|
| bool IsOverlayCandidate(ResourceId id);
|
|
|
|
|