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

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

Issue 2581703003: Defer focus handling to the content if it claims to have focus. (Closed)
Patch Set: Created 4 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
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 949cdee886780f87be21b0e7f4391a858a2387aa..fa05cc06aced74ebb5e0f7baebf77531f0e11865 100644
--- a/ui/arc/notification/arc_custom_notification_view.h
+++ b/ui/arc/notification/arc_custom_notification_view.h
@@ -22,6 +22,7 @@ class NotificationSurface;
namespace views {
class ImageButton;
+class Painter;
class Widget;
}
@@ -62,6 +63,8 @@ class ArcCustomNotificationView
void OnGestureEvent(ui::GestureEvent* event) override;
void OnMouseEntered(const ui::MouseEvent& event) override;
void OnMouseExited(const ui::MouseEvent& event) override;
+ void OnFocus() override;
+ void OnBlur() override;
// views::ButtonListener
void ButtonPressed(views::Button* sender, const ui::Event& event) override;

Powered by Google App Engine
This is Rietveld 408576698