• Home
  • Raw
  • Download

Lines Matching full:link

5 #include "ui/views/controls/link.h"
23 const char Link::kViewClassName[] = "Link";
25 Link::Link() : Label(base::string16()) { in Link() function in views::Link
29 Link::Link(const base::string16& title) : Label(title) { in Link() function in views::Link
33 Link::~Link() { in ~Link()
36 SkColor Link::GetDefaultEnabledColor() { in GetDefaultEnabledColor()
44 const char* Link::GetClassName() const { in GetClassName()
48 gfx::NativeCursor Link::GetCursor(const ui::MouseEvent& event) { in GetCursor()
54 bool Link::CanProcessEventsWithinSubtree() const { in CanProcessEventsWithinSubtree()
60 bool Link::OnMousePressed(const ui::MouseEvent& event) { in OnMousePressed()
68 bool Link::OnMouseDragged(const ui::MouseEvent& event) { in OnMouseDragged()
75 void Link::OnMouseReleased(const ui::MouseEvent& event) { in OnMouseReleased()
82 // Focus the link on click. in OnMouseReleased()
90 void Link::OnMouseCaptureLost() { in OnMouseCaptureLost()
94 bool Link::OnKeyPressed(const ui::KeyEvent& event) { in OnKeyPressed()
102 // Focus the link on key pressed. in OnKeyPressed()
111 void Link::OnGestureEvent(ui::GestureEvent* event) { in OnGestureEvent()
128 bool Link::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) { in SkipDefaultKeyEventProcessing()
134 void Link::GetAccessibleState(ui::AXViewState* state) { in GetAccessibleState()
139 void Link::OnEnabledChanged() { in OnEnabledChanged()
144 void Link::OnFocus() { in OnFocus()
150 void Link::OnBlur() { in OnBlur()
156 void Link::SetFontList(const gfx::FontList& font_list) { in SetFontList()
161 void Link::SetText(const base::string16& text) { in SetText()
169 void Link::SetEnabledColor(SkColor color) { in SetEnabledColor()
175 void Link::SetPressedColor(SkColor color) { in SetPressedColor()
181 void Link::SetUnderline(bool underline) { in SetUnderline()
188 void Link::Init() { in Init()
205 // only a Label at the moment, not yet a Link). So so the set_focusable() in Init()
210 void Link::SetPressed(bool pressed) { in SetPressed()
220 void Link::RecalculateFont() { in RecalculateFont()
221 // Underline the link iff it is enabled and |underline_| is true. in RecalculateFont()