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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp

Issue 2902133002: Revert of "Implement the inert attribute" (Closed)
Patch Set: 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/AXObjectCacheImpl.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
index 1b6ab5ef6c28c75678b977f027a140049ba61dc1..fb07f28b4abfafacda7581fc879b9c700d00c7a9 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
@@ -39,7 +39,6 @@
#include "core/frame/Settings.h"
#include "core/html/HTMLAreaElement.h"
#include "core/html/HTMLCanvasElement.h"
-#include "core/html/HTMLFrameOwnerElement.h"
#include "core/html/HTMLImageElement.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLLabelElement.h"
@@ -592,8 +591,11 @@ void AXObjectCacheImpl::TextChanged(AXObjectImpl* obj) {
if (!obj)
return;
+ bool parent_already_exists = obj->ParentObjectIfExists();
obj->TextChanged();
PostNotification(obj, AXObjectCacheImpl::kAXTextChanged);
+ if (parent_already_exists)
+ obj->NotifyIfIgnoredValueChanged();
}
void AXObjectCacheImpl::UpdateCacheAfterNodeIsAttached(Node* node) {

Powered by Google App Engine
This is Rietveld 408576698