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

Unified Diff: ui/views/widget/widget.cc

Issue 1536493002: Working proof of concept of select to speak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drag across multiple objects Created 5 years 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/views/widget/widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 6873cdef533fd482cec2b6a5d2a34a1692fb5bcb..d18193c138b3b9cc11b30a0dcc646e1b4914e133 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -1268,6 +1268,12 @@ void Widget::OnMouseEvent(ui::MouseEvent* event) {
}
}
+void Widget::OnAccessibilityMouseEvent(ui::MouseEvent* event) {
+ View* root_view = GetRootView();
+ if (root_view)
+ root_view->OnAccessibilityMouseEvent(event);
+}
+
void Widget::OnMouseCaptureLost() {
if (ignore_capture_loss_)
return;
« no previous file with comments | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698