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

Side by Side Diff: Source/WebCore/dom/Document.h

Issue 12703031: Revert 146726 "AXObjectCache gets recreated during document tear..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 9 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/WebCore/dom/ContainerNode.cpp ('k') | Source/WebCore/dom/Document.cpp » ('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) 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, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 RenderView* renderView() const; 552 RenderView* renderView() const;
553 553
554 // Shadow the implementations on Node to provide faster access for documents . 554 // Shadow the implementations on Node to provide faster access for documents .
555 RenderObject* renderer() const { return m_renderer; } 555 RenderObject* renderer() const { return m_renderer; }
556 void setRenderer(RenderObject* renderer) 556 void setRenderer(RenderObject* renderer)
557 { 557 {
558 m_renderer = renderer; 558 m_renderer = renderer;
559 Node::setRenderer(renderer); 559 Node::setRenderer(renderer);
560 } 560 }
561 561
562 AXObjectCache* existingAXObjectCache() const; 562 void clearAXObjectCache();
563 AXObjectCache* axObjectCache() const; 563 AXObjectCache* axObjectCache() const;
564 void clearAXObjectCache(); 564 bool axObjectCacheExists() const;
565 565
566 // to get visually ordered hebrew and arabic pages right 566 // to get visually ordered hebrew and arabic pages right
567 void setVisuallyOrdered(); 567 void setVisuallyOrdered();
568 bool visuallyOrdered() const { return m_visuallyOrdered; } 568 bool visuallyOrdered() const { return m_visuallyOrdered; }
569 569
570 DocumentLoader* loader() const; 570 DocumentLoader* loader() const;
571 571
572 void open(Document* ownerDocument = 0); 572 void open(Document* ownerDocument = 0);
573 void implicitOpen(); 573 void implicitOpen();
574 574
575 // close() is the DOM API document.close() 575 // close() is the DOM API document.close()
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 trackForDebugging(); 1669 trackForDebugging();
1670 #endif 1670 #endif
1671 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1671 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1672 } 1672 }
1673 1673
1674 Node* eventTargetNodeForDocument(Document*); 1674 Node* eventTargetNodeForDocument(Document*);
1675 1675
1676 } // namespace WebCore 1676 } // namespace WebCore
1677 1677
1678 #endif // Document_h 1678 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/ContainerNode.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698