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

Unified Diff: ui/display/display_list.h

Issue 2904993003: chromeos: changes how DisplayManagerObservers are notified (Closed)
Patch Set: cleanup Created 3 years, 7 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
« no previous file with comments | « ui/display/display.h ('k') | ui/display/display_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display_list.h
diff --git a/ui/display/display_list.h b/ui/display/display_list.h
index 20a454d462520de777b0ad0ef15e3eede0c19c2f..295dc3fb57a0510f6c9088e6a2c1fa0da4d4e9d3 100644
--- a/ui/display/display_list.h
+++ b/ui/display/display_list.h
@@ -64,6 +64,8 @@ class DISPLAY_EXPORT DisplayList {
// callers release the last lock they call the observers appropriately.
std::unique_ptr<DisplayListObserverLock> SuspendObserverUpdates();
+ void AddOrUpdateDisplay(const Display& display, Type type);
+
// Updates the cached display based on display.id(). This returns a bitmask
// of the changed values suitable for passing to
// DisplayObserver::OnDisplayMetricsChanged().
« no previous file with comments | « ui/display/display.h ('k') | ui/display/display_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698