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

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

Issue 2318463002: arc: Make ChromeVox read an ARC custom notification (Closed)
Patch Set: remove unused field and include Created 4 years, 3 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/message_view.h
diff --git a/ui/message_center/views/message_view.h b/ui/message_center/views/message_view.h
index bc53cae29638016018d0e0127017fbf228ab9fb7..3f07cb5dd4903455ae4e699793fab588f4a76899 100644
--- a/ui/message_center/views/message_view.h
+++ b/ui/message_center/views/message_view.h
@@ -62,10 +62,6 @@ class MESSAGE_CENTER_EXPORT MessageView : public views::SlideOutView,
void RequestFocusOnCloseButton();
bool IsPinned();
- void set_accessible_name(const base::string16& accessible_name) {
- accessible_name_ = accessible_name;
- }
-
// Overridden from views::View:
void GetAccessibleState(ui::AXViewState* state) override;
bool OnMousePressed(const ui::MouseEvent& event) override;
@@ -104,6 +100,10 @@ class MESSAGE_CENTER_EXPORT MessageView : public views::SlideOutView,
// a paint.
virtual void SetDrawBackgroundAsActive(bool active);
+ // Creates a text for spoken feedback from the data contained
+ // in the notification.
+ base::string16 CreateAccessibleName(const Notification& notification);
+
views::View* background_view() { return background_view_; }
views::ImageView* small_image() { return small_image_view_.get(); }
views::ImageButton* close_button() { return close_button_.get(); }

Powered by Google App Engine
This is Rietveld 408576698