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

Side by Side Diff: Source/web/WebAXObject.cpp

Issue 491483006: Add accessibilityEnabled and inlineTextBoxAccessiblityEnabled to Settings, but don't use them yet. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 { 84 {
85 return m_private.get() == n.m_private.get(); 85 return m_private.get() == n.m_private.get();
86 } 86 }
87 87
88 // static 88 // static
89 void WebAXObject::enableAccessibility() 89 void WebAXObject::enableAccessibility()
90 { 90 {
91 AXObjectCache::enableAccessibility(); 91 AXObjectCache::enableAccessibility();
92 } 92 }
93 93
94 // static
95 bool WebAXObject::accessibilityEnabled()
96 {
97 return AXObjectCache::accessibilityEnabled();
98 }
99 94
100 // static 95 // static
101 void WebAXObject::enableInlineTextBoxAccessibility() 96 void WebAXObject::enableInlineTextBoxAccessibility()
102 { 97 {
103 AXObjectCache::setInlineTextBoxAccessibility(true); 98 AXObjectCache::setInlineTextBoxAccessibility(true);
104 } 99 }
105 100
106 bool WebAXObject::isDetached() const 101 bool WebAXObject::isDetached() const
107 { 102 {
108 if (m_private.isNull()) 103 if (m_private.isNull())
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 m_private = object; 1170 m_private = object;
1176 return *this; 1171 return *this;
1177 } 1172 }
1178 1173
1179 WebAXObject::operator WTF::PassRefPtr<AXObject>() const 1174 WebAXObject::operator WTF::PassRefPtr<AXObject>() const
1180 { 1175 {
1181 return m_private.get(); 1176 return m_private.get();
1182 } 1177 }
1183 1178
1184 } // namespace blink 1179 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698