Title: [92970] trunk/Source/WebKit/chromium
Revision
92970
Author
[email protected]
Date
2011-08-12 10:28:12 -0700 (Fri, 12 Aug 2011)

Log Message

Expose pageScaleFactor in Chromium's WebHistoryItem
https://bugs.webkit.org/show_bug.cgi?id=66139

Reviewed by Darin Fisher.

* public/WebHistoryItem.h:
* src/WebHistoryItem.cpp:
(WebKit::WebHistoryItem::pageScaleFactor):
(WebKit::WebHistoryItem::setPageScaleFactor):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (92969 => 92970)


--- trunk/Source/WebKit/chromium/ChangeLog	2011-08-12 17:22:25 UTC (rev 92969)
+++ trunk/Source/WebKit/chromium/ChangeLog	2011-08-12 17:28:12 UTC (rev 92970)
@@ -1,3 +1,15 @@
+2011-08-12  Fady Samuel  <[email protected]>
+
+        Expose pageScaleFactor in Chromium's WebHistoryItem
+        https://bugs.webkit.org/show_bug.cgi?id=66139
+
+        Reviewed by Darin Fisher.
+
+        * public/WebHistoryItem.h:
+        * src/WebHistoryItem.cpp:
+        (WebKit::WebHistoryItem::pageScaleFactor):
+        (WebKit::WebHistoryItem::setPageScaleFactor):
+
 2011-08-10  Nat Duca  <[email protected]>
 
         [chromium] Add WebThread to WebKitClient

Modified: trunk/Source/WebKit/chromium/public/WebHistoryItem.h (92969 => 92970)


--- trunk/Source/WebKit/chromium/public/WebHistoryItem.h	2011-08-12 17:22:25 UTC (rev 92969)
+++ trunk/Source/WebKit/chromium/public/WebHistoryItem.h	2011-08-12 17:28:12 UTC (rev 92970)
@@ -93,6 +93,9 @@
     WEBKIT_EXPORT WebPoint scrollOffset() const;
     WEBKIT_EXPORT void setScrollOffset(const WebPoint&);
 
+    WEBKIT_EXPORT float pageScaleFactor() const;
+    WEBKIT_EXPORT void setPageScaleFactor(float);
+
     WEBKIT_EXPORT bool isTargetItem() const;
     WEBKIT_EXPORT void setIsTargetItem(bool);
 

Modified: trunk/Source/WebKit/chromium/src/WebHistoryItem.cpp (92969 => 92970)


--- trunk/Source/WebKit/chromium/src/WebHistoryItem.cpp	2011-08-12 17:22:25 UTC (rev 92969)
+++ trunk/Source/WebKit/chromium/src/WebHistoryItem.cpp	2011-08-12 17:28:12 UTC (rev 92970)
@@ -165,6 +165,17 @@
     m_private->setScrollPoint(scrollOffset);
 }
 
+float WebHistoryItem::pageScaleFactor() const
+{
+    return m_private->pageScaleFactor();
+}
+
+void WebHistoryItem::setPageScaleFactor(float scale)
+{
+    ensureMutable();
+    return m_private->setPageScaleFactor(scale);
+}
+
 bool WebHistoryItem::isTargetItem() const
 {
     return m_private->isTargetItem();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to