Index: chrome/browser/ui/views/exclusive_access_bubble_views.cc |
diff --git a/chrome/browser/ui/views/exclusive_access_bubble_views.cc b/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
index b67c9378e3143485cdbf322024e9a3a57890a220..4409e18c870ef5a596bd3e5862e9d777ebd9d212 100644 |
--- a/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
+++ b/chrome/browser/ui/views/exclusive_access_bubble_views.cc |
@@ -22,6 +22,7 @@ |
#include "chrome/browser/ui/views/subtle_notification_view.h" |
#include "chrome/grit/generated_resources.h" |
#include "content/public/browser/notification_service.h" |
+#include "ui/accessibility/ax_view_state.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/events/keycodes/keyboard_codes.h" |
#include "ui/gfx/animation/slide_animation.h" |
@@ -84,7 +85,11 @@ ExclusiveAccessBubbleViews::ExclusiveAccessBubbleViews( |
bubble_view_context_->GetExclusiveAccessManager() |
->fullscreen_controller())); |
+ UpdateForImmersiveState(); |
UpdateMouseWatcher(); |
+ |
+ LOG(ERROR) << "ExclusiveAccessBubbleViews: NotifyAccessibilityEvent"; |
+ view_->NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, false); |
} |
ExclusiveAccessBubbleViews::~ExclusiveAccessBubbleViews() { |
@@ -125,6 +130,10 @@ void ExclusiveAccessBubbleViews::UpdateContent( |
StopWatchingMouse(); |
UpdateMouseWatcher(); |
+ |
+ LOG(ERROR) |
+ << "ExclusiveAccessBubbleViews::UpdateContent: NotifyAccessibilityEvent"; |
+ view_->NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, false); |
} |
void ExclusiveAccessBubbleViews::RepositionIfVisible() { |