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

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

Issue 242513009: Removing empty function definitions and WebAXObject interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « Source/core/accessibility/AXObjectCache.cpp ('k') | public/web/WebAXObject.h » ('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 AXObjectCache::accessibilityEnabled(); 85 return AXObjectCache::accessibilityEnabled();
86 } 86 }
87 87
88 // static 88 // static
89 void WebAXObject::enableInlineTextBoxAccessibility() 89 void WebAXObject::enableInlineTextBoxAccessibility()
90 { 90 {
91 AXObjectCache::setInlineTextBoxAccessibility(true); 91 AXObjectCache::setInlineTextBoxAccessibility(true);
92 } 92 }
93 93
94 void WebAXObject::startCachingComputedObjectAttributesUntilTreeMutates()
95 {
96 m_private->axObjectCache()->startCachingComputedObjectAttributesUntilTreeMut ates();
97 }
98
99 void WebAXObject::stopCachingComputedObjectAttributes()
100 {
101 m_private->axObjectCache()->stopCachingComputedObjectAttributes();
102 }
103
104 bool WebAXObject::isDetached() const 94 bool WebAXObject::isDetached() const
105 { 95 {
106 if (m_private.isNull()) 96 if (m_private.isNull())
107 return true; 97 return true;
108 98
109 return m_private->isDetached(); 99 return m_private->isDetached();
110 } 100 }
111 101
112 int WebAXObject::axID() const 102 int WebAXObject::axID() const
113 { 103 {
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 m_private = object; 1150 m_private = object;
1161 return *this; 1151 return *this;
1162 } 1152 }
1163 1153
1164 WebAXObject::operator WTF::PassRefPtr<WebCore::AXObject>() const 1154 WebAXObject::operator WTF::PassRefPtr<WebCore::AXObject>() const
1165 { 1155 {
1166 return m_private.get(); 1156 return m_private.get();
1167 } 1157 }
1168 1158
1169 } // namespace blink 1159 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXObjectCache.cpp ('k') | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698