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

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

Issue 235933008: Move 'dir' attribute from HTMLDocument to Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move methods to a better location in Document.cpp Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/dom/dir-non-html-document-expected.txt ('k') | Source/core/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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 // Returns 0 if this is the top level document. 742 // Returns 0 if this is the top level document.
743 HTMLFrameOwnerElement* ownerElement() const; 743 HTMLFrameOwnerElement* ownerElement() const;
744 744
745 String title() const { return m_title; } 745 String title() const { return m_title; }
746 void setTitle(const String&); 746 void setTitle(const String&);
747 747
748 Element* titleElement() const { return m_titleElement.get(); } 748 Element* titleElement() const { return m_titleElement.get(); }
749 void setTitleElement(const String& title, Element* titleElement); 749 void setTitleElement(const String& title, Element* titleElement);
750 void removeTitle(Element* titleElement); 750 void removeTitle(Element* titleElement);
751 751
752 const AtomicString& dir();
753 void setDir(const AtomicString&);
754
752 String cookie(ExceptionState&) const; 755 String cookie(ExceptionState&) const;
753 void setCookie(const String&, ExceptionState&); 756 void setCookie(const String&, ExceptionState&);
754 757
755 const AtomicString& referrer() const; 758 const AtomicString& referrer() const;
756 759
757 String domain() const; 760 String domain() const;
758 void setDomain(const String& newDomain, ExceptionState&); 761 void setDomain(const String& newDomain, ExceptionState&);
759 762
760 String lastModified() const; 763 String lastModified() const;
761 764
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
1427 inline bool Node::isDocumentNode() const 1430 inline bool Node::isDocumentNode() const
1428 { 1431 {
1429 return this == document(); 1432 return this == document();
1430 } 1433 }
1431 1434
1432 Node* eventTargetNodeForDocument(Document*); 1435 Node* eventTargetNodeForDocument(Document*);
1433 1436
1434 } // namespace WebCore 1437 } // namespace WebCore
1435 1438
1436 #endif // Document_h 1439 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/dir-non-html-document-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698