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

Unified Diff: ui/compositor/layer.h

Issue 82283002: Initial cut at layerless windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweaks Created 7 years, 1 month 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: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 4faab1228f680928d6c861146b5e7af903692f77..d02412e4684ab342a237566ca6c84834378d867c 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -287,6 +287,8 @@ class COMPOSITOR_EXPORT Layer
// |compostior_| to repaint the content.
void SendDamagedRects();
+ const SkRegion& damaged_region() const { return damaged_region_; }
+
// Suppresses painting the content by disgarding damaged region and ignoring
// new paint requests.
void SuppressPaint();
« ui/aura/window.cc ('K') | « ui/aura/window_unittest.cc ('k') | ui/views/focus_border.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698