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

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

Issue 2670213002: Pass BS/Return Key Events to EditBox in Custom Notification (Closed)
Patch Set: Added tests Created 3 years, 11 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 | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/custom_notification_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ff9d2a7240f5a8f29dfd6b950d1ce14d9adb9edb..fd8b7600d26b967e395f7816c33be76184f420af 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -40,6 +40,7 @@ class MESSAGE_CENTER_EXPORT CustomNotificationView : public MessageView {
bool HasFocus() const override;
void RequestFocus() override;
void OnPaint(gfx::Canvas* canvas) override;
+ bool OnKeyPressed(const ui::KeyEvent& event) override;
private:
friend class CustomNotificationViewTest;
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/custom_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698