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

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

Issue 2577203002: Remove use of WebNode/WebElement in translate_helper (Closed)
Patch Set: Minor changes Created 4 years 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, 2010, 2012 Apple Inc. All 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 void setContent(const String&); 364 void setContent(const String&);
365 365
366 String suggestedMIMEType() const; 366 String suggestedMIMEType() const;
367 void setMimeType(const AtomicString&); 367 void setMimeType(const AtomicString&);
368 AtomicString contentType() const; // DOM 4 document.contentType 368 AtomicString contentType() const; // DOM 4 document.contentType
369 369
370 const AtomicString& contentLanguage() const { return m_contentLanguage; } 370 const AtomicString& contentLanguage() const { return m_contentLanguage; }
371 void setContentLanguage(const AtomicString&); 371 void setContentLanguage(const AtomicString&);
372 372
373 const AtomicString& documentLanguage() const;
374
375 Vector<AtomicString> getMetaValues(const AtomicString& name) const;
jbroman 2016/12/16 16:17:42 Comment (here, and possibly also in WebDocument.h)
adithyas 2016/12/16 21:57:17 Done.
376
373 String xmlEncoding() const { return m_xmlEncoding; } 377 String xmlEncoding() const { return m_xmlEncoding; }
374 String xmlVersion() const { return m_xmlVersion; } 378 String xmlVersion() const { return m_xmlVersion; }
375 enum StandaloneStatus { StandaloneUnspecified, Standalone, NotStandalone }; 379 enum StandaloneStatus { StandaloneUnspecified, Standalone, NotStandalone };
376 bool xmlStandalone() const { return m_xmlStandalone == Standalone; } 380 bool xmlStandalone() const { return m_xmlStandalone == Standalone; }
377 StandaloneStatus xmlStandaloneStatus() const { 381 StandaloneStatus xmlStandaloneStatus() const {
378 return static_cast<StandaloneStatus>(m_xmlStandalone); 382 return static_cast<StandaloneStatus>(m_xmlStandalone);
379 } 383 }
380 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; } 384 bool hasXMLDeclaration() const { return m_hasXMLDeclaration; }
381 385
382 void setXMLEncoding(const String& encoding) { 386 void setXMLEncoding(const String& encoding) {
(...skipping 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1721 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1718 1722
1719 } // namespace blink 1723 } // namespace blink
1720 1724
1721 #ifndef NDEBUG 1725 #ifndef NDEBUG
1722 // Outside the WebCore namespace for ease of invocation from gdb. 1726 // Outside the WebCore namespace for ease of invocation from gdb.
1723 CORE_EXPORT void showLiveDocumentInstances(); 1727 CORE_EXPORT void showLiveDocumentInstances();
1724 #endif 1728 #endif
1725 1729
1726 #endif // Document_h 1730 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698