equal
deleted
inserted
replaced
32 #include "ZoomMetaData.h" |
32 #include "ZoomMetaData.h" |
33 #include "GSuperWebPage.h" |
33 #include "GSuperWebPage.h" |
34 #include "ContentViewDelegate.h" |
34 #include "ContentViewDelegate.h" |
35 #include "GContentViewTouchNavigation.h" |
35 #include "GContentViewTouchNavigation.h" |
36 |
36 |
|
37 static const char KBOOKMARKURLFILE[] = "file://"; |
|
38 static const char KBOOKMARKURLFILESLASH[] = "file:///"; |
|
39 static const char KENCODEDBACKSLASH[] = "%5C"; |
|
40 static const char KENCODEDDOUBLEQUOTE[] = "%22"; |
37 class WebViewEventContext; |
41 class WebViewEventContext; |
38 class QContextMenuEvent; |
42 class QContextMenuEvent; |
39 class QWebPage; |
43 class QWebPage; |
40 class QWebFrame; |
44 class QWebFrame; |
41 class QTimeLine; |
45 class QTimeLine; |
88 |
92 |
89 #ifdef BEDROCK_TILED_BACKING_STORE |
93 #ifdef BEDROCK_TILED_BACKING_STORE |
90 qreal getZoomFactor(); |
94 qreal getZoomFactor(); |
91 #else |
95 #else |
92 qreal getZoomFactor() const; |
96 qreal getZoomFactor() const; |
|
97 void setSavedZoomValueInView(qreal zoomValue); |
|
98 qreal getSavedZoomValueInView() const; |
93 #endif |
99 #endif |
94 static ControllableView* createNew(QWidget *parent); |
100 static ControllableView* createNew(QWidget *parent); |
95 |
101 |
96 /*! |
102 /*! |
97 Return the list of public QActions most relevant to the view's current context |
103 Return the list of public QActions most relevant to the view's current context |
259 bool m_currentPageIsSuperPage; |
265 bool m_currentPageIsSuperPage; |
260 QTimer *m_timer; |
266 QTimer *m_timer; |
261 qreal m_value; |
267 qreal m_value; |
262 bool m_gesturesEnabled; |
268 bool m_gesturesEnabled; |
263 bool m_enabled; |
269 bool m_enabled; |
|
270 qreal m_savedZoomValueInView; |
264 }; |
271 }; |
265 |
272 |
266 } |
273 } |
267 |
274 |
268 #endif // GWebContentView_H |
275 #endif // GWebContentView_H |