Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1594)

Unified Diff: content/browser/renderer_host/delegated_frame_evictor.h

Issue 174323003: Expose locks for CopyFromCompositingSurface/CopyFromBackingStore API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/delegated_frame_evictor.h
diff --git a/content/browser/renderer_host/delegated_frame_evictor.h b/content/browser/renderer_host/delegated_frame_evictor.h
index d52b2d315a5de490533e13d2831bcefabd2b4b1f..5bc838eb0390fee95be06c6110b8e49dac0202a7 100644
--- a/content/browser/renderer_host/delegated_frame_evictor.h
+++ b/content/browser/renderer_host/delegated_frame_evictor.h
@@ -27,6 +27,8 @@ class CONTENT_EXPORT DelegatedFrameEvictor : public RendererFrameManagerClient {
void SetVisible(bool visible);
void LockFrame();
void UnlockFrame();
+ size_t FrameLockCount();
+ bool HasFrame() { return has_frame_; }
private:
// RendererFrameManagerClient implementation.

Powered by Google App Engine
This is Rietveld 408576698