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

Unified Diff: ui/arc/notification/arc_custom_notification_view.h

Issue 2800373002: Remove hack for handling accessibility action on ARC notifications. (Closed)
Patch Set: rebase Created 3 years, 8 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: ui/arc/notification/arc_custom_notification_view.h
diff --git a/ui/arc/notification/arc_custom_notification_view.h b/ui/arc/notification/arc_custom_notification_view.h
index 6af56841a2aab374bbb0e1994f76ae85c923d711..d88c689cb37936522e47f0a22d501627ffddf097 100644
--- a/ui/arc/notification/arc_custom_notification_view.h
+++ b/ui/arc/notification/arc_custom_notification_view.h
@@ -26,6 +26,10 @@ namespace gfx {
class LinearAnimation;
}
+namespace ui {
+struct AXActionData;
+}
+
namespace views {
class FocusTraversable;
class Widget;
@@ -93,7 +97,7 @@ class ArcCustomNotificationView
void OnFocus() override;
void OnBlur() override;
views::FocusTraversable* GetFocusTraversable() override;
- bool OnMousePressed(const ui::MouseEvent& event) override;
+ bool HandleAccessibleAction(const ui::AXActionData& action) override;
// views::ButtonListener
void ButtonPressed(views::Button* sender, const ui::Event& event) override;

Powered by Google App Engine
This is Rietveld 408576698