ginebra2/ContentViews/GWebContentView.h
changeset 12 afcd8e6d025b
parent 9 b39122337a00
child 16 3c88a81ff781
--- a/ginebra2/ContentViews/GWebContentView.h	Wed Sep 01 13:56:21 2010 -0400
+++ b/ginebra2/ContentViews/GWebContentView.h	Fri Sep 17 12:11:40 2010 -0400
@@ -34,6 +34,10 @@
 #include "ContentViewDelegate.h"
 #include "GContentViewTouchNavigation.h"
 
+static const char KBOOKMARKURLFILE[]            = "file://";
+static const char KBOOKMARKURLFILESLASH[]       = "file:///";
+static const char KENCODEDBACKSLASH[]           = "%5C";
+static const char KENCODEDDOUBLEQUOTE[]         = "%22";
 class WebViewEventContext;
 class QContextMenuEvent;
 class QWebPage;
@@ -90,6 +94,8 @@
       qreal getZoomFactor();
 #else
       qreal getZoomFactor() const;
+      void setSavedZoomValueInView(qreal zoomValue);
+      qreal getSavedZoomValueInView() const;
 #endif
       static ControllableView* createNew(QWidget *parent);
 
@@ -261,6 +267,7 @@
     qreal m_value;
     bool m_gesturesEnabled;
     bool m_enabled;
+    qreal m_savedZoomValueInView;
   };
 
 }