diff -r 79859ed3eea9 -r 919f36ff910f webengine/webkitutils/HistoryProvider/HistoryView.h --- a/webengine/webkitutils/HistoryProvider/HistoryView.h Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/webkitutils/HistoryProvider/HistoryView.h Wed Sep 01 12:28:30 2010 +0100 @@ -37,10 +37,10 @@ // CONSTANTS -const int KCenterThumbnailWidthPercent = 50; -const int KCenterThumbnailHeightPercent = 90; -const int KSideThumbnailWidthPercent = 25; -const int KSideThumbnailHeightPercent = 70; +const int KCenterThumbnailWidthPercent = 60; +const int KCenterThumbnailHeightPercent = 75; +const int KSideThumbnailWidthPercent = 20; +const int KSideThumbnailHeightPercent = 60; // FORWARD DECLARATIONS class HistoryController; @@ -209,6 +209,15 @@ * @return void */ void loadUrl(); + + /** + * Create a mask bitmap for the thumbnail of left and right entry + * left and right entry will use the same mask + * @param aSize The size of the mask bitmap which will be cteated + * @param aDisplayMode The display mode of the mask bitmap + * @param aRgb The color filled in the bitmap + */ + void CreateMaskBitmapForLeftRightThumbnailL(TSize& aSize, TDisplayMode aDisplayMode, TRgb aRgb); private: // Data @@ -258,8 +267,9 @@ THistoryViewComponent m_historyViewComponent; // Timer for repeated scrolling CPeriodic* m_autoScrollPeriodic; - - TPoint m_lastpointerposition; + TPoint m_lastpointerposition; + //Mask bitmap for the thumbnail of left and right entry + CFbsBitmap* m_maskBitmap; }; #endif // HISTORYVIEW_H