Title: [111819] trunk/Source/WebCore
- Revision
- 111819
- Author
- [email protected]
- Date
- 2012-03-22 20:20:39 -0700 (Thu, 22 Mar 2012)
Log Message
[BlackBerry] Add HistoryItemViewState for BlackBerry port
https://bugs.webkit.org/show_bug.cgi?id=81867
Reviewed by Rob Buis.
HistoryItemViewState is the blackberry specific field of HistoryItem.
It's used to maintain the porting specific view state.
No new test because the port can't be built yet.
* history/HistoryItem.h:
(HistoryItem):
(WebCore::HistoryItem::viewState):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (111818 => 111819)
--- trunk/Source/WebCore/ChangeLog 2012-03-23 03:07:24 UTC (rev 111818)
+++ trunk/Source/WebCore/ChangeLog 2012-03-23 03:20:39 UTC (rev 111819)
@@ -1,3 +1,19 @@
+2012-03-22 Leo Yang <[email protected]>
+
+ [BlackBerry] Add HistoryItemViewState for BlackBerry port
+ https://bugs.webkit.org/show_bug.cgi?id=81867
+
+ Reviewed by Rob Buis.
+
+ HistoryItemViewState is the blackberry specific field of HistoryItem.
+ It's used to maintain the porting specific view state.
+
+ No new test because the port can't be built yet.
+
+ * history/HistoryItem.h:
+ (HistoryItem):
+ (WebCore::HistoryItem::viewState):
+
2012-03-22 SravanKumar Sandela <[email protected]>
Fieldset unexpectedly stretches to minimum intrinsic width
Modified: trunk/Source/WebCore/history/HistoryItem.h (111818 => 111819)
--- trunk/Source/WebCore/history/HistoryItem.h 2012-03-23 03:07:24 UTC (rev 111818)
+++ trunk/Source/WebCore/history/HistoryItem.h 2012-03-23 03:20:39 UTC (rev 111819)
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -44,6 +45,10 @@
#include <QDataStream>
#endif
+#if PLATFORM(BLACKBERRY)
+#include "HistoryItemViewState.h"
+#endif
+
namespace WebCore {
class CachedPage;
@@ -199,6 +204,10 @@
QDataStream& saveState(QDataStream& out, int version) const;
#endif
+#if PLATFORM(BLACKBERRY)
+ HistoryItemViewState& viewState() { return m_viewState; }
+#endif
+
#ifndef NDEBUG
int showTree() const;
int showTreeWithIndent(unsigned indentLevel) const;
@@ -289,6 +298,9 @@
QVariant m_userData;
#endif
+#if PLATFORM(BLACKBERRY)
+ HistoryItemViewState m_viewState;
+#endif
}; //class HistoryItem
} //namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes