Title: [101161] trunk/Source/WebCore
- Revision
- 101161
- Author
- commit-qu...@webkit.org
- Date
- 2011-11-25 02:57:43 -0800 (Fri, 25 Nov 2011)
Log Message
Upstream the QNX/RIM specific HistoryItemViewState
https://bugs.webkit.org/show_bug.cgi?id=73114
Patch by Wei Charles <charles....@torchmobile.com.cn> on 2011-11-25
Reviewed by Daniel Bates.
This patch is to upstream RIM/QNX specific HistoryItemViewState extension
to store some extra view state.
No new tests. It's not built yet.
* history/blackberry: Added.
* history/blackberry/HistoryItemViewState.h: Added.
(WebCore::HistoryItemViewState::HistoryItemViewState):
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (101160 => 101161)
--- trunk/Source/WebCore/ChangeLog 2011-11-25 10:33:14 UTC (rev 101160)
+++ trunk/Source/WebCore/ChangeLog 2011-11-25 10:57:43 UTC (rev 101161)
@@ -1,3 +1,19 @@
+2011-11-25 Wei Charles <charles....@torchmobile.com.cn>
+
+ Upstream the QNX/RIM specific HistoryItemViewState
+ https://bugs.webkit.org/show_bug.cgi?id=73114
+
+ Reviewed by Daniel Bates.
+
+ This patch is to upstream RIM/QNX specific HistoryItemViewState extension
+ to store some extra view state.
+
+ No new tests. It's not built yet.
+
+ * history/blackberry: Added.
+ * history/blackberry/HistoryItemViewState.h: Added.
+ (WebCore::HistoryItemViewState::HistoryItemViewState):
+
2011-11-25 Vsevolod Vlasov <vse...@chromium.org>
Web Inspector: Split scripts panel top status bar into debug toolbar and editor toolbar.
Added: trunk/Source/WebCore/history/blackberry/HistoryItemViewState.h (0 => 101161)
--- trunk/Source/WebCore/history/blackberry/HistoryItemViewState.h (rev 0)
+++ trunk/Source/WebCore/history/blackberry/HistoryItemViewState.h 2011-11-25 10:57:43 UTC (rev 101161)
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef HistoryItemViewState_h
+#define HistoryItemViewState_h
+
+#include "PlatformString.h"
+
+namespace WebCore {
+
+struct HistoryItemViewState {
+
+ HistoryItemViewState()
+ : orientation(0)
+ , scale(1)
+ , isZoomToFitScale(false)
+ , shouldReflowBlock(false)
+ , shouldSaveViewState(true)
+ {
+ }
+
+ int orientation;
+ double scale;
+ bool isZoomToFitScale;
+ bool shouldReflowBlock;
+ bool shouldSaveViewState;
+ String networkToken;
+};
+
+} // namespace WebCore
+
+#endif // HistoryItemViewState_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes