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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2858493002: Rename AXObject to AXObjectImpl in modules/ and web/ (Closed)
Patch Set: Reverted unexpected change to blink rename merge helper 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All
7 * rights reserved. 7 * rights reserved.
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved.
(...skipping 4240 matching lines...) Expand 10 before | Expand all | Expand 10 after
4251 focus_change_blocked = true; 4251 focus_change_blocked = true;
4252 goto SetFocusedElementDone; 4252 goto SetFocusedElementDone;
4253 } 4253 }
4254 } 4254 }
4255 4255
4256 if (IsRootEditableElement(*focused_element_)) 4256 if (IsRootEditableElement(*focused_element_))
4257 GetFrame()->GetSpellChecker().DidBeginEditing(focused_element_.Get()); 4257 GetFrame()->GetSpellChecker().DidBeginEditing(focused_element_.Get());
4258 } 4258 }
4259 4259
4260 if (!focus_change_blocked && focused_element_) { 4260 if (!focus_change_blocked && focused_element_) {
4261 // Create the AXObject cache in a focus change because Chromium relies on 4261 // Create the AXObjectImpl cache in a focus change because Chromium relies
dmazzoni 2017/05/05 05:18:46 A couple instances of "AXObject cache" being chang
aboxhall 2017/05/05 05:22:18 Bad replace :) Maybe update to AXObjectCache inste
4262 // it. 4262 // on it.
4263 if (AXObjectCache* cache = AxObjectCache()) 4263 if (AXObjectCache* cache = AxObjectCache())
4264 cache->HandleFocusedUIElementChanged(old_focused_element, 4264 cache->HandleFocusedUIElementChanged(old_focused_element,
4265 new_focused_element); 4265 new_focused_element);
4266 } 4266 }
4267 4267
4268 if (!focus_change_blocked && GetPage()) { 4268 if (!focus_change_blocked && GetPage()) {
4269 GetPage()->GetChromeClient().FocusedNodeChanged(old_focused_element, 4269 GetPage()->GetChromeClient().FocusedNodeChanged(old_focused_element,
4270 focused_element_.Get()); 4270 focused_element_.Get());
4271 } 4271 }
4272 4272
(...skipping 2508 matching lines...) Expand 10 before | Expand all | Expand 10 after
6781 } 6781 }
6782 6782
6783 void showLiveDocumentInstances() { 6783 void showLiveDocumentInstances() {
6784 WeakDocumentSet& set = liveDocumentSet(); 6784 WeakDocumentSet& set = liveDocumentSet();
6785 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6785 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6786 for (blink::Document* document : set) 6786 for (blink::Document* document : set)
6787 fprintf(stderr, "- Document %p URL: %s\n", document, 6787 fprintf(stderr, "- Document %p URL: %s\n", document,
6788 document->Url().GetString().Utf8().data()); 6788 document->Url().GetString().Utf8().data());
6789 } 6789 }
6790 #endif 6790 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698