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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h

Issue 2890723003: Slider events with valuetext (Closed)
Patch Set: Fix test Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
index 836f8ad90008241e40dc20835c3da20b4a92a361..df06360f645266bb2497e7396df46f5532ec7174 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
@@ -1,3 +1,4 @@
+
/*
* Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2008 Nuanti Ltd.
@@ -675,11 +676,12 @@ class MODULES_EXPORT AXObjectImpl
bool IsRange() const {
return RoleValue() == kProgressIndicatorRole ||
RoleValue() == kScrollBarRole || RoleValue() == kSliderRole ||
- RoleValue() == kSpinButtonRole;
+ RoleValue() == kSpinButtonRole || IsMoveableSplitter();
}
bool IsScrollbar() const { return RoleValue() == kScrollBarRole; }
virtual bool IsSlider() const { return false; }
virtual bool IsNativeSlider() const { return false; }
+ virtual bool IsMoveableSplitter() const { return false; }
virtual bool IsSpinButton() const { return RoleValue() == kSpinButtonRole; }
virtual bool IsSpinButtonPart() const { return false; }
bool IsTabItem() const { return RoleValue() == kTabRole; }

Powered by Google App Engine
This is Rietveld 408576698