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

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

Issue 2883203002: Revert of Rename AXObject to AXObjectImpl in modules/ and web/ (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 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 4273 matching lines...) Expand 10 before | Expand all | Expand 10 after
4284 focus_change_blocked = true; 4284 focus_change_blocked = true;
4285 goto SetFocusedElementDone; 4285 goto SetFocusedElementDone;
4286 } 4286 }
4287 } 4287 }
4288 4288
4289 if (IsRootEditableElement(*focused_element_)) 4289 if (IsRootEditableElement(*focused_element_))
4290 GetFrame()->GetSpellChecker().DidBeginEditing(focused_element_.Get()); 4290 GetFrame()->GetSpellChecker().DidBeginEditing(focused_element_.Get());
4291 } 4291 }
4292 4292
4293 if (!focus_change_blocked && focused_element_) { 4293 if (!focus_change_blocked && focused_element_) {
4294 // Create the AXObjectImpl cache in a focus change because Chromium relies 4294 // Create the AXObject cache in a focus change because Chromium relies on
4295 // on it. 4295 // it.
4296 if (AXObjectCache* cache = AxObjectCache()) 4296 if (AXObjectCache* cache = AxObjectCache())
4297 cache->HandleFocusedUIElementChanged(old_focused_element, 4297 cache->HandleFocusedUIElementChanged(old_focused_element,
4298 new_focused_element); 4298 new_focused_element);
4299 } 4299 }
4300 4300
4301 if (!focus_change_blocked && GetPage()) { 4301 if (!focus_change_blocked && GetPage()) {
4302 GetPage()->GetChromeClient().FocusedNodeChanged(old_focused_element, 4302 GetPage()->GetChromeClient().FocusedNodeChanged(old_focused_element,
4303 focused_element_.Get()); 4303 focused_element_.Get());
4304 } 4304 }
4305 4305
(...skipping 2508 matching lines...) Expand 10 before | Expand all | Expand 10 after
6814 } 6814 }
6815 6815
6816 void showLiveDocumentInstances() { 6816 void showLiveDocumentInstances() {
6817 WeakDocumentSet& set = liveDocumentSet(); 6817 WeakDocumentSet& set = liveDocumentSet();
6818 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); 6818 fprintf(stderr, "There are %u documents currently alive:\n", set.size());
6819 for (blink::Document* document : set) 6819 for (blink::Document* document : set)
6820 fprintf(stderr, "- Document %p URL: %s\n", document, 6820 fprintf(stderr, "- Document %p URL: %s\n", document,
6821 document->Url().GetString().Utf8().data()); 6821 document->Url().GetString().Utf8().data());
6822 } 6822 }
6823 #endif 6823 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/AXObjectCache.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698