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

Side by Side Diff: ui/views/controls/message_box_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/views/controls/menu/submenu_view.cc ('k') | ui/views/controls/message_box_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_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 5 #ifndef UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 6 #define UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void SetCheckBoxLabel(const base::string16& label); 76 void SetCheckBoxLabel(const base::string16& label);
77 77
78 // Sets the state of the check-box. 78 // Sets the state of the check-box.
79 void SetCheckBoxSelected(bool selected); 79 void SetCheckBoxSelected(bool selected);
80 80
81 // Sets the text and the listener of the link. If |text| is empty, the link 81 // Sets the text and the listener of the link. If |text| is empty, the link
82 // is removed. 82 // is removed.
83 void SetLink(const base::string16& text, LinkListener* listener); 83 void SetLink(const base::string16& text, LinkListener* listener);
84 84
85 // View: 85 // View:
86 void GetAccessibleState(ui::AXViewState* state) override; 86 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
87 87
88 protected: 88 protected:
89 // View: 89 // View:
90 void ViewHierarchyChanged( 90 void ViewHierarchyChanged(
91 const ViewHierarchyChangedDetails& details) override; 91 const ViewHierarchyChangedDetails& details) override;
92 // Handles Ctrl-C and writes the message in the system clipboard. 92 // Handles Ctrl-C and writes the message in the system clipboard.
93 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 93 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
94 const char* GetClassName() const override; 94 const char* GetClassName() const override;
95 95
96 private: 96 private:
(...skipping 22 matching lines...) Expand all
119 119
120 // Spacing between rows in the grid layout. 120 // Spacing between rows in the grid layout.
121 int inter_row_vertical_spacing_; 121 int inter_row_vertical_spacing_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(MessageBoxView); 123 DISALLOW_COPY_AND_ASSIGN(MessageBoxView);
124 }; 124 };
125 125
126 } // namespace views 126 } // namespace views
127 127
128 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_ 128 #endif // UI_VIEWS_CONTROLS_MESSAGE_BOX_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/controls/menu/submenu_view.cc ('k') | ui/views/controls/message_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698