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

Unified Diff: Source/core/history/HistoryItem.h

Issue 28983004: Split the frame tree logic out of HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/history/HistoryItem.h
diff --git a/Source/core/history/HistoryItem.h b/Source/core/history/HistoryItem.h
index 15793db5257715c5c1aefb330499eba38d72e469..042fadda8f006af7e0284e95e0bfdb5b23fd0aa0 100644
--- a/Source/core/history/HistoryItem.h
+++ b/Source/core/history/HistoryItem.h
@@ -85,7 +85,6 @@ public:
void setStateObject(PassRefPtr<SerializedScriptValue> object);
SerializedScriptValue* stateObject() const { return m_stateObject.get(); }
- void setItemSequenceNumber(long long number) { m_itemSequenceNumber = number; }
long long itemSequenceNumber() const { return m_itemSequenceNumber; }
void setDocumentSequenceNumber(long long number) { m_documentSequenceNumber = number; }
@@ -96,28 +95,15 @@ public:
void setFormContentType(const String&);
void addChildItem(PassRefPtr<HistoryItem>);
- void setChildItem(PassRefPtr<HistoryItem>);
- HistoryItem* childItemWithTarget(const String&) const;
- HistoryItem* childItemWithDocumentSequenceNumber(long long number) const;
const HistoryItemVector& children() const;
void clearChildren();
- bool shouldDoSameDocumentNavigationTo(HistoryItem* otherItem) const;
- bool hasSameFrames(HistoryItem* otherItem) const;
-
bool isCurrentDocument(Document*) const;
-#ifndef NDEBUG
- int showTree() const;
- int showTreeWithIndent(unsigned indentLevel) const;
-#endif
-
private:
HistoryItem();
explicit HistoryItem(const HistoryItem&);
- bool hasSameDocumentTree(HistoryItem* otherItem) const;
-
String m_urlString;
String m_originalURLString;
String m_referrer;
@@ -151,9 +137,4 @@ private:
} //namespace WebCore
-#ifndef NDEBUG
-// Outside the WebCore namespace for ease of invocation from gdb.
-extern "C" int showTree(const WebCore::HistoryItem*);
-#endif
-
#endif // HISTORYITEM_H

Powered by Google App Engine
This is Rietveld 408576698