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

Side by Side Diff: ui/message_center/views/message_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 unified diff | Download patch
« no previous file with comments | « ui/message_center/views/bounded_label.cc ('k') | ui/message_center/views/message_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 static gfx::Insets GetShadowInsets(); 56 static gfx::Insets GetShadowInsets();
57 57
58 // Creates a shadow around the notification. 58 // Creates a shadow around the notification.
59 void CreateShadowBorder(); 59 void CreateShadowBorder();
60 60
61 bool IsCloseButtonFocused(); 61 bool IsCloseButtonFocused();
62 void RequestFocusOnCloseButton(); 62 void RequestFocusOnCloseButton();
63 bool IsPinned(); 63 bool IsPinned();
64 64
65 // Overridden from views::View: 65 // Overridden from views::View:
66 void GetAccessibleState(ui::AXViewState* state) override; 66 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
67 bool OnMousePressed(const ui::MouseEvent& event) override; 67 bool OnMousePressed(const ui::MouseEvent& event) override;
68 bool OnKeyPressed(const ui::KeyEvent& event) override; 68 bool OnKeyPressed(const ui::KeyEvent& event) override;
69 bool OnKeyReleased(const ui::KeyEvent& event) override; 69 bool OnKeyReleased(const ui::KeyEvent& event) override;
70 void OnPaint(gfx::Canvas* canvas) override; 70 void OnPaint(gfx::Canvas* canvas) override;
71 void OnFocus() override; 71 void OnFocus() override;
72 void OnBlur() override; 72 void OnBlur() override;
73 void Layout() override; 73 void Layout() override;
74 74
75 // Overridden from ui::EventHandler: 75 // Overridden from ui::EventHandler:
76 void OnGestureEvent(ui::GestureEvent* event) override; 76 void OnGestureEvent(ui::GestureEvent* event) override;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 base::string16 display_source_; 120 base::string16 display_source_;
121 121
122 std::unique_ptr<views::Painter> focus_painter_; 122 std::unique_ptr<views::Painter> focus_painter_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(MessageView); 124 DISALLOW_COPY_AND_ASSIGN(MessageView);
125 }; 125 };
126 126
127 } // namespace message_center 127 } // namespace message_center
128 128
129 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_ 129 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/bounded_label.cc ('k') | ui/message_center/views/message_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698