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

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

Issue 690593002: Remove deprecated updateBackingStoreAndCheckValidity from WebAXObject (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 Document* document = m_private->document(); 105 Document* document = m_private->document();
106 if (!document || !document->topDocument().view()) 106 if (!document || !document->topDocument().view())
107 return false; 107 return false;
108 document->topDocument().view()->updateLayoutAndStyleIfNeededRecursive(); 108 document->topDocument().view()->updateLayoutAndStyleIfNeededRecursive();
109 } 109 }
110 110
111 // Doing a layout can cause this object to be invalid, so check again. 111 // Doing a layout can cause this object to be invalid, so check again.
112 return !isDetached(); 112 return !isDetached();
113 } 113 }
114 114
115 bool WebAXObject::updateBackingStoreAndCheckValidity()
116 {
117 return updateLayoutAndCheckValidity();
118 }
119
120 WebString WebAXObject::accessibilityDescription() const 115 WebString WebAXObject::accessibilityDescription() const
121 { 116 {
122 if (isDetached()) 117 if (isDetached())
123 return WebString(); 118 return WebString();
124 119
125 ASSERT(isLayoutClean(m_private->document())); 120 ASSERT(isLayoutClean(m_private->document()));
126 121
127 return m_private->accessibilityDescription(); 122 return m_private->accessibilityDescription();
128 } 123 }
129 124
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 m_private = object; 1214 m_private = object;
1220 return *this; 1215 return *this;
1221 } 1216 }
1222 1217
1223 WebAXObject::operator WTF::PassRefPtr<AXObject>() const 1218 WebAXObject::operator WTF::PassRefPtr<AXObject>() const
1224 { 1219 {
1225 return m_private.get(); 1220 return m_private.get();
1226 } 1221 }
1227 1222
1228 } // namespace blink 1223 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/web/WebAXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698