| Index: ui/views/controls/label.cc
|
| diff --git a/ui/views/controls/label.cc b/ui/views/controls/label.cc
|
| index 717d2e08a445b2af147a964653f10b86a80f5c81..2d12ed10db1c3a168c032fbe949e9d99589bc3bd 100644
|
| --- a/ui/views/controls/label.cc
|
| +++ b/ui/views/controls/label.cc
|
| @@ -289,10 +289,6 @@ View* Label::GetTooltipHandlerForPoint(const gfx::Point& point) {
|
| return this;
|
| }
|
|
|
| -bool Label::HitTestRect(const gfx::Rect& rect) const {
|
| - return false;
|
| -}
|
| -
|
| bool Label::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const {
|
| DCHECK(tooltip);
|
|
|
| @@ -311,6 +307,10 @@ bool Label::GetTooltipText(const gfx::Point& p, base::string16* tooltip) const {
|
| return false;
|
| }
|
|
|
| +bool Label::CanAcceptEvent(const ui::Event& event) {
|
| + return false;
|
| +}
|
| +
|
| void Label::GetAccessibleState(ui::AXViewState* state) {
|
| state->role = ui::AX_ROLE_STATIC_TEXT;
|
| state->AddStateFlag(ui::AX_STATE_READ_ONLY);
|
|
|