ginebra2/ContentViews/GWebContentView.h
changeset 15 73c48011b8c7
parent 10 232fbd5a2dcb
--- a/ginebra2/ContentViews/GWebContentView.h	Fri Sep 17 08:27:10 2010 +0300
+++ b/ginebra2/ContentViews/GWebContentView.h	Mon Oct 04 00:04:54 2010 +0300
@@ -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;
   };
 
 }