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

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

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test Created 4 years, 1 month 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/views/notifier_settings_view.cc ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/toast_contents_view.h
diff --git a/ui/message_center/views/toast_contents_view.h b/ui/message_center/views/toast_contents_view.h
index 14aa11660b76be8ded8371069908f999498dc74d..9af7185b5014f4378fb55fa4bc1a0fa6858981ff 100644
--- a/ui/message_center/views/toast_contents_view.h
+++ b/ui/message_center/views/toast_contents_view.h
@@ -81,7 +81,7 @@ class ToastContentsView : public views::WidgetDelegateView,
void OnMouseExited(const ui::MouseEvent& event) override;
void Layout() override;
gfx::Size GetPreferredSize() const override;
- void GetAccessibleState(ui::AXViewState* state) override;
+ void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
private:
friend class test::MessagePopupCollectionTest;
@@ -118,7 +118,8 @@ class ToastContentsView : public views::WidgetDelegateView,
void SetBoundsInstantly(gfx::Rect new_bounds);
// Given the bounds of a toast on the screen, compute the bouds for that
- // toast in 'closed' state. The 'closed' state is used as origin/destination
+ // toast in 'closed' node_data. The 'closed' node_data is used as
+ // origin/destination
// in reveal/closing animations.
gfx::Rect GetClosedToastBounds(gfx::Rect bounds);
« no previous file with comments | « ui/message_center/views/notifier_settings_view.cc ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698