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

Unified Diff: ash/system/chromeos/screen_layout_observer.h

Issue 2644593003: Fix bugs in the display notification (Closed)
Patch Set: Adding 2 more test stories Created 3 years, 11 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: ash/system/chromeos/screen_layout_observer.h
diff --git a/ash/system/chromeos/screen_layout_observer.h b/ash/system/chromeos/screen_layout_observer.h
index 3324f7ce21858b03bd485a53990b2874f7a8a94f..8b94e0518469eb5a76efc4dfbf4af0e38a64f496 100644
--- a/ash/system/chromeos/screen_layout_observer.h
+++ b/ash/system/chromeos/screen_layout_observer.h
@@ -60,6 +60,12 @@ class ASH_EXPORT ScreenLayoutObserver : public WmDisplayObserver {
DisplayInfoMap display_info_;
+ bool old_is_in_mirrored_mode_ = false;
+ bool current_is_in_mirrored_mode_ = false;
+
+ bool old_is_in_unified_mode_ = false;
+ bool current_is_in_unified_mode_ = false;
oshima 2017/01/24 17:49:42 can you use state instead of bools?
afakhry 2017/01/24 22:13:22 Done.
+
bool show_notifications_for_testing = true;
DISALLOW_COPY_AND_ASSIGN(ScreenLayoutObserver);

Powered by Google App Engine
This is Rietveld 408576698