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

Unified Diff: ui/message_center/views/custom_notification_view.h

Issue 2800373002: Remove hack for handling accessibility action on ARC notifications. (Closed)
Patch Set: "ui/accessibility:accessibility" -> "ui/accessibility" 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/message_center/views/custom_notification_view.h
diff --git a/ui/message_center/views/custom_notification_view.h b/ui/message_center/views/custom_notification_view.h
index 0df481270d7d84eadd42bfcd8e61ad9395b46563..31b7a0d22dc53a15f884e066f10a5add1bc8588b 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -9,6 +9,10 @@
#include "ui/message_center/message_center_export.h"
#include "ui/message_center/views/message_view.h"
+namespace ui {
+struct AXActionData;
+}
+
namespace views {
class Painter;
}
@@ -46,7 +50,7 @@ class MESSAGE_CENTER_EXPORT CustomNotificationView : public MessageView {
void OnPaint(gfx::Canvas* canvas) override;
bool OnKeyPressed(const ui::KeyEvent& event) override;
void ChildPreferredSizeChanged(View* child) override;
- bool OnMousePressed(const ui::MouseEvent& event) override;
+ bool HandleAccessibleAction(const ui::AXActionData& action) override;
private:
friend class CustomNotificationViewTest;
« no previous file with comments | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/message_center/views/custom_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698