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

Unified Diff: chrome/browser/chromeos/accessibility/chromevox_panel.cc

Issue 1696443002: Re-land: Implement ChromeVox Next menus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/chromevox_panel.cc
diff --git a/chrome/browser/chromeos/accessibility/chromevox_panel.cc b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
index 740972d12347e3c466ffcc72780e63e3b187ea34..01c98055d5b715e3ac94ec776a397e9793dd55cb 100644
--- a/chrome/browser/chromeos/accessibility/chromevox_panel.cc
+++ b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
@@ -111,10 +111,14 @@ void ChromeVoxPanel::DidFirstVisuallyNonEmptyPaint() {
void ChromeVoxPanel::EnterFullscreen() {
fullscreen_ = true;
+ widget_->widget_delegate()->set_can_activate(true);
+ widget_->Activate();
+ web_view_->RequestFocus();
UpdateWidgetBounds();
}
void ChromeVoxPanel::ExitFullscreen() {
+ widget_->widget_delegate()->set_can_activate(false);
fullscreen_ = false;
UpdateWidgetBounds();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698