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

Side by Side Diff: ui/views/controls/link.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/label_unittest.cc ('k') | ui/views/controls/link.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_LINK_H_ 5 #ifndef UI_VIEWS_CONTROLS_LINK_H_
6 #define UI_VIEWS_CONTROLS_LINK_H_ 6 #define UI_VIEWS_CONTROLS_LINK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 25 matching lines...) Expand all
36 const char* GetClassName() const override; 36 const char* GetClassName() const override;
37 gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override; 37 gfx::NativeCursor GetCursor(const ui::MouseEvent& event) override;
38 bool CanProcessEventsWithinSubtree() const override; 38 bool CanProcessEventsWithinSubtree() const override;
39 bool OnMousePressed(const ui::MouseEvent& event) override; 39 bool OnMousePressed(const ui::MouseEvent& event) override;
40 bool OnMouseDragged(const ui::MouseEvent& event) override; 40 bool OnMouseDragged(const ui::MouseEvent& event) override;
41 void OnMouseReleased(const ui::MouseEvent& event) override; 41 void OnMouseReleased(const ui::MouseEvent& event) override;
42 void OnMouseCaptureLost() override; 42 void OnMouseCaptureLost() override;
43 bool OnKeyPressed(const ui::KeyEvent& event) override; 43 bool OnKeyPressed(const ui::KeyEvent& event) override;
44 void OnGestureEvent(ui::GestureEvent* event) override; 44 void OnGestureEvent(ui::GestureEvent* event) override;
45 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override; 45 bool SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) override;
46 void GetAccessibleState(ui::AXViewState* state) override; 46 void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
47 void OnEnabledChanged() override; 47 void OnEnabledChanged() override;
48 void OnFocus() override; 48 void OnFocus() override;
49 void OnBlur() override; 49 void OnBlur() override;
50 void SetFontList(const gfx::FontList& font_list) override; 50 void SetFontList(const gfx::FontList& font_list) override;
51 void SetText(const base::string16& text) override; 51 void SetText(const base::string16& text) override;
52 void OnNativeThemeChanged(const ui::NativeTheme* theme) override; 52 void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
53 void SetEnabledColor(SkColor color) override; 53 void SetEnabledColor(SkColor color) override;
54 54
55 // TODO(estade): almost all the places that call this pass false. With 55 // TODO(estade): almost all the places that call this pass false. With
56 // Harmony, false is already the default so those callsites can be removed. 56 // Harmony, false is already the default so those callsites can be removed.
(...skipping 28 matching lines...) Expand all
85 // The color when the link is pressed. 85 // The color when the link is pressed.
86 SkColor requested_pressed_color_; 86 SkColor requested_pressed_color_;
87 bool requested_pressed_color_set_; 87 bool requested_pressed_color_set_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(Link); 89 DISALLOW_COPY_AND_ASSIGN(Link);
90 }; 90 };
91 91
92 } // namespace views 92 } // namespace views
93 93
94 #endif // UI_VIEWS_CONTROLS_LINK_H_ 94 #endif // UI_VIEWS_CONTROLS_LINK_H_
OLDNEW
« no previous file with comments | « ui/views/controls/label_unittest.cc ('k') | ui/views/controls/link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698