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

Unified Diff: components/exo/wm_helper.cc

Issue 2887103002: Revert of Refactor backdrop (Closed)
Patch Set: 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 | « components/exo/wm_helper.h ('k') | components/exo/wm_helper_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/wm_helper.cc
diff --git a/components/exo/wm_helper.cc b/components/exo/wm_helper.cc
index 46faffd93a4954c253c03c39523c9c9a1c59c1b6..7f0cfcffe7264f5d77f685f28bacf65df824f359 100644
--- a/components/exo/wm_helper.cc
+++ b/components/exo/wm_helper.cc
@@ -62,6 +62,14 @@
maximize_mode_observers_.RemoveObserver(observer);
}
+void WMHelper::AddAccessibilityObserver(AccessibilityObserver* observer) {
+ accessibility_observers_.AddObserver(observer);
+}
+
+void WMHelper::RemoveAccessibilityObserver(AccessibilityObserver* observer) {
+ accessibility_observers_.RemoveObserver(observer);
+}
+
void WMHelper::AddInputDeviceEventObserver(InputDeviceEventObserver* observer) {
input_device_event_observers_.AddObserver(observer);
}
@@ -118,6 +126,11 @@
observer.OnMaximizeModeEnded();
}
+void WMHelper::NotifyAccessibilityModeChanged() {
+ for (AccessibilityObserver& observer : accessibility_observers_)
+ observer.OnAccessibilityModeChanged();
+}
+
void WMHelper::NotifyKeyboardDeviceConfigurationChanged() {
for (InputDeviceEventObserver& observer : input_device_event_observers_)
observer.OnKeyboardDeviceConfigurationChanged();
« no previous file with comments | « components/exo/wm_helper.h ('k') | components/exo/wm_helper_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698