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

Unified Diff: sky/engine/core/dom/Document.h

Issue 708233002: Remove many attributes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index d147bd528ec74ec9547daec98937b6c0b109ca63..9a3abbdc52fe353bd587f9a76fa4b89df784b96f 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -201,7 +201,6 @@ public:
Length viewportDefaultMinWidth() const { return m_viewportDefaultMinWidth; }
- void setReferrerPolicy(ReferrerPolicy);
ReferrerPolicy referrerPolicy() const { return m_referrerPolicy; }
String outgoingReferrer();
@@ -445,19 +444,6 @@ public:
bool hasMutationObservers() const { return m_mutationObserverTypes; }
void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObserverTypes |= types; }
- /**
- * Handles a HTTP header equivalent set by a meta tag using <meta http-equiv="..." content="...">. This is called
- * when a meta tag is encountered during document parsing, and also when a script dynamically changes or adds a meta
- * tag. This enables scripts to use meta tags to perform refreshes and set expiry dates in addition to them being
- * specified in a HTML file.
- *
- * @param equiv The http header name (value of the meta tag's "equiv" attribute)
- * @param content The header value (value of the meta tag's "content" attribute)
- * @param inDocumentHeadElement Is the element in the document's <head> element?
- */
- void processHttpEquiv(const AtomicString& equiv, const AtomicString& content, bool inDocumentHeadElement);
- void processReferrerPolicy(const String& policy);
-
String title() const { return m_title; }
void setTitle(const String&);
@@ -720,8 +706,6 @@ private:
void clearFocusedElementTimerFired(Timer<Document>*);
void focusAutofocusElementTimerFired(Timer<Document>*);
- void processHttpEquivRefresh(const AtomicString& content);
-
void setHoverNode(PassRefPtr<Node>);
Node* hoverNode() const { return m_hoverNode.get(); }
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698