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

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

Issue 2790623003: ui: Rework CompositorResizeLock interaction with DelegatedFrameHost (Closed)
Patch Set: shouldskip: allowskipafterframe Created 3 years, 8 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/compositor_resize_lock.h
diff --git a/content/browser/renderer_host/compositor_resize_lock.h b/content/browser/renderer_host/compositor_resize_lock.h
index a49f6c5840516f41356190f37af1bc849b601ec3..4e5a17b4c001788a069d5d6e760f89a5e6538f8c 100644
--- a/content/browser/renderer_host/compositor_resize_lock.h
+++ b/content/browser/renderer_host/compositor_resize_lock.h
@@ -46,6 +46,8 @@ class CONTENT_EXPORT CompositorResizeLock
// prevent locking from happening.
void UnlockCompositor();
+ bool timed_out() const { return timed_out_; }
+
const gfx::Size& expected_size() const { return expected_size_; }
private:
@@ -56,6 +58,7 @@ class CONTENT_EXPORT CompositorResizeLock
const gfx::Size expected_size_;
std::unique_ptr<ui::CompositorLock> compositor_lock_;
bool unlocked_ = false;
+ bool timed_out_ = false;
DISALLOW_COPY_AND_ASSIGN(CompositorResizeLock);
};
« no previous file with comments | « content/browser/renderer_host/browser_compositor_view_mac.mm ('k') | content/browser/renderer_host/compositor_resize_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698