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

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

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/config.h ('k') | Source/WebCore/html/HTMLCanvasElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/history/HistoryItem.h
diff --git a/Source/WebCore/history/HistoryItem.h b/Source/WebCore/history/HistoryItem.h
index bece46381a5c36ee1d92bbed664779e5479f5267..a242d87766f293d4eaa2545dfeccc7b612db53ce 100644
--- a/Source/WebCore/history/HistoryItem.h
+++ b/Source/WebCore/history/HistoryItem.h
@@ -40,12 +40,6 @@
typedef struct objc_object* id;
#endif
-#if PLATFORM(QT)
-#include <QVariant>
-#include <QByteArray>
-#include <QDataStream>
-#endif
-
#if PLATFORM(BLACKBERRY)
#include "HistoryItemViewState.h"
#endif
@@ -198,14 +192,6 @@ public:
void setTransientProperty(const String&, id);
#endif
-#if PLATFORM(QT)
- QVariant userData() const { return m_userData; }
- void setUserData(const QVariant& userData) { m_userData = userData; }
-
- static PassRefPtr<HistoryItem> restoreState(QDataStream& buffer, int version);
- QDataStream& saveState(QDataStream& out, int version) const;
-#endif
-
#if PLATFORM(BLACKBERRY)
HistoryItemViewState& viewState() { return m_viewState; }
#endif
@@ -237,10 +223,6 @@ private:
void encodeBackForwardTreeNode(Encoder&) const;
- /* When adding new member variables to this class, please notify the Qt team.
- * qt/HistoryItemQt.cpp contains code to serialize history items.
- */
-
String m_urlString;
String m_originalURLString;
String m_referrer;
@@ -294,13 +276,6 @@ private:
OwnPtr<HashMap<String, RetainPtr<id> > > m_transientProperties;
#endif
-#if PLATFORM(QT)
- QVariant m_userData;
-#endif
-
-#if PLATFORM(BLACKBERRY)
- HistoryItemViewState m_viewState;
-#endif
}; //class HistoryItem
} //namespace WebCore
« no previous file with comments | « Source/WebCore/config.h ('k') | Source/WebCore/html/HTMLCanvasElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698