|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Browser content view |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __BROWSERCONTENTVIEW_H |
|
22 #define __BROWSERCONTENTVIEW_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <apparc.h> |
|
26 #include <sendui.h> |
|
27 #include <FindItemDialog.h> |
|
28 #include <BrCtlInterface.h> |
|
29 |
|
30 #include "BrowserAppViewBase.h" |
|
31 #include "BrowserGotoPane.h" |
|
32 #include <AknToolbar.h> |
|
33 #include <AknToolbarObserver.h> |
|
34 #include <aknappui.h> |
|
35 #include "WindowObserver.h" |
|
36 |
|
37 // FORWARD DECLARATIONS |
|
38 |
|
39 class TVwsViewId; |
|
40 class CBrowserContentViewContainer; |
|
41 class CBrowserContentViewZoomModeTimer; |
|
42 class CBrowserBookmarksModel; |
|
43 class CAknNavigationControlContainer; |
|
44 class CFindItemMenu; |
|
45 class CAknInfoPopupNoteController; |
|
46 class CAknStylusPopUpMenu; |
|
47 class CBrowserContentViewToolbar; |
|
48 class CBrowserShortcutKeyMap; |
|
49 |
|
50 // CONSTANTS |
|
51 |
|
52 const TInt KStatusMessageMaxLength=40; |
|
53 |
|
54 //The Zoom tooltip won't disappear |
|
55 const TInt KZoomModeShowDisableTime( 5* 1000 * 1000 ); // 5000 seconds - disable the timer |
|
56 |
|
57 |
|
58 // STRUCTS |
|
59 |
|
60 struct TWindowsMenuItemsDimCheck |
|
61 { |
|
62 TBool dimOpenInNewWin; |
|
63 TBool dimSwitchWin ; |
|
64 TBool dimCloseWin ; |
|
65 TBool dimAllowPopups ; |
|
66 TBool dimBlockPopups ; |
|
67 }; |
|
68 |
|
69 /** |
|
70 * Declaration for Browser's content view. |
|
71 * |
|
72 * @lib Browser.app |
|
73 * @since Series 60 1.2 |
|
74 */ |
|
75 class CBrowserContentView : public CBrowserViewBase, |
|
76 public MGotoPaneObserver, |
|
77 public MBrCtlStateChangeObserver, |
|
78 public MBrCtlCommandObserver, |
|
79 public MAknToolbarObserver, |
|
80 public MWindowObserver |
|
81 { |
|
82 public: |
|
83 |
|
84 /** |
|
85 * Two-phased constructor. |
|
86 * @param aApiProvider Reference to the API provider. |
|
87 * @param aRect |
|
88 */ |
|
89 static CBrowserContentView* NewLC( MApiProvider& aApiProvider, TRect& aRect ); |
|
90 |
|
91 /** |
|
92 * Destructor. |
|
93 */ |
|
94 ~CBrowserContentView(); |
|
95 |
|
96 /** |
|
97 * Callback - we should initialize the list of DO elements. |
|
98 * @since 1.2 |
|
99 */ |
|
100 void OptionListInitL(); |
|
101 |
|
102 /** |
|
103 * Callback - we should add an element to the list of DO elements. |
|
104 * @since 1.2 |
|
105 */ |
|
106 void OptionListAddItemL( |
|
107 const TDesC& aText, |
|
108 TUint32 aElemID, |
|
109 TBool aIsPrevType ); |
|
110 |
|
111 /** |
|
112 * Update the title. |
|
113 * @since 1.2 |
|
114 */ |
|
115 void UpdateTitleL( MApiProvider& aApiProvider ); |
|
116 |
|
117 CBrowserContentViewContainer* Container() const{ return iContainer; }; |
|
118 |
|
119 void ResetPreviousViewFlag() { iWasInFeedsView = EFalse; } |
|
120 /** |
|
121 * Get the top left position of the application window. |
|
122 * This is used to place the toolbar. |
|
123 * @return The top left point of the application rect on the screen |
|
124 */ |
|
125 TPoint OnScreenPosition(); |
|
126 |
|
127 /** |
|
128 * Get a pointer to the instance of the class handling the toolbar state. |
|
129 * This is used when the Browser is shut down, to save the user settings |
|
130 * @return A pointer to the class handling the toolbar |
|
131 */ |
|
132 CBrowserContentViewToolbar* BrowserContentViewToolbar() { return iBrowserContentViewToolbar; } |
|
133 |
|
134 /** |
|
135 * Find if the platform spports touch |
|
136 * @return ETrue if the platform supports touch, EFalse otherwise |
|
137 */ |
|
138 TBool PenEnabled() { return iPenEnabled; } |
|
139 |
|
140 /** |
|
141 * Find if the Full Screen mode is on |
|
142 * @return ETrue if the Full Screen mode is on, EFalse otherwise |
|
143 */ |
|
144 TBool FullScreenMode() { return iContentFullScreenMode; } |
|
145 public: // from MEikStatusPaneObserver |
|
146 |
|
147 /** |
|
148 * Handles status pane size change. |
|
149 */ |
|
150 void HandleStatusPaneSizeChange(); |
|
151 |
|
152 public: // from MBrCtlStateChangeObserver |
|
153 |
|
154 /** |
|
155 * State change event handling for ImageMapView changes. |
|
156 * @param aState which state we are in |
|
157 * @param aValue state specific value |
|
158 * @return void |
|
159 */ |
|
160 void StateChanged( TBrCtlDefs::TBrCtlState aState, TInt aValue ); |
|
161 |
|
162 public: // from MBrCtlCommandObserver |
|
163 |
|
164 /** |
|
165 * Executes commands requested by the webengine |
|
166 * @param aCommand which state we are in |
|
167 * @param aAttributesNames name list |
|
168 * @param aAttributeValues value list |
|
169 * @return void |
|
170 */ |
|
171 void HandleCommandL(TBrCtlDefs::TBrCtlClientCommands aCommand, const CArrayFix<TPtrC>& aAttributesNames, |
|
172 const CArrayFix<TPtrC>& aAttributeValues) ; |
|
173 /* Handle Goto Pane event. |
|
174 * @since 1.2 |
|
175 * @param aGotoPane The Goto Pane in which the event occurred. |
|
176 * @param aEvent Goto Pane event |
|
177 */ |
|
178 void HandleGotoPaneEventL( |
|
179 CBrowserGotoPane* aGotoPane, |
|
180 MGotoPaneObserver::TEvent aEvent ); |
|
181 |
|
182 /** |
|
183 * Set Last visited bookmark. |
|
184 * @since 1.2 |
|
185 */ |
|
186 void SetLastVisitedBookmarkL(); |
|
187 |
|
188 /** |
|
189 * Update navi pane. |
|
190 * @since 1.2 |
|
191 * @param aStatusMsg Status message |
|
192 */ |
|
193 void UpdateNaviPaneL( TDesC& aStatusMsg ); |
|
194 |
|
195 /** |
|
196 * Update navi pane. |
|
197 * @since 1.2 |
|
198 * @param aLeftScrollBar Will the left scrollbar be updated |
|
199 * @param aRightScrollBar Will the right scrollbar be updated |
|
200 */ |
|
201 void UpdateNaviPaneL( TBool aLeftScrollBar, TBool aRightScrollBar ); |
|
202 |
|
203 /** |
|
204 * Get the id. |
|
205 * @since 1.2 |
|
206 * @return UID |
|
207 */ |
|
208 TUid Id() const; |
|
209 |
|
210 /** |
|
211 * Is find item in progress. |
|
212 * @since 1.2 |
|
213 * @return ETrue if the find item is in progress, otherwise EFalse |
|
214 */ |
|
215 TBool FindItemIsInProgress(); |
|
216 |
|
217 /** |
|
218 * Handles client rect changes |
|
219 */ |
|
220 void HandleClientRectChange(); |
|
221 |
|
222 /** |
|
223 * Zoom page in zoom mode |
|
224 * @since 3.2.3 |
|
225 */ |
|
226 void ZoomModeImagesL(); |
|
227 |
|
228 /** |
|
229 * Zoom page in |
|
230 * @since 3.0 |
|
231 */ |
|
232 void ZoomImagesInL( TInt aDuration = KZoomModeShowDisableTime ); |
|
233 |
|
234 /** |
|
235 * Zoom page out |
|
236 * @since 3.0 |
|
237 */ |
|
238 void ZoomImagesOutL( TInt aDuration = KZoomModeShowDisableTime ); |
|
239 |
|
240 /** |
|
241 * Zoom slider is to be visible or not in Content View. |
|
242 * @param aVisible. ETrue if the slider is to visible, EFalse if not. |
|
243 * @since 5.0 |
|
244 */ |
|
245 void MakeZoomSliderVisibleL( TBool aVisible ); |
|
246 |
|
247 /** |
|
248 * Is ZoomSlider is up? |
|
249 * @since 5.0 |
|
250 * @return ETrue if the ZoomSlider is up, otherwise EFalse |
|
251 */ |
|
252 TBool ZoomSliderVisible() { return iZoomSliderVisible; } |
|
253 |
|
254 /** |
|
255 * Is History view is up? |
|
256 * @since 3.0 |
|
257 * @return ETrue if the History View is up, otherwise EFalse |
|
258 */ |
|
259 TBool IsHistoryViewUp(); |
|
260 |
|
261 /** |
|
262 * Is History view at the beginning i.e. first page in history |
|
263 * @since 5.0 |
|
264 * @return ETrue if the History is at the beginning, otherwise EFalse |
|
265 */ |
|
266 TBool IsHistoryAtBeginning(); |
|
267 |
|
268 /** |
|
269 * Is History view at the end i.e. last page in history |
|
270 * @since 5.0 |
|
271 * @return ETrue if the History is at the end, otherwise EFalse |
|
272 */ |
|
273 TBool IsHistoryAtEnd(); |
|
274 |
|
275 /** |
|
276 * Is Shortcut Keymap view is up? |
|
277 * @since 5.0 |
|
278 * @return ETrue if the Shortcut Keymap is up, otherwise EFalse |
|
279 */ |
|
280 TBool KeymapIsUp(); |
|
281 |
|
282 /** |
|
283 * Return true if we're in zoom mode |
|
284 */ |
|
285 TBool isZoomMode(); |
|
286 |
|
287 /** |
|
288 * Gets Miniature view ( old name: Thumbnail view ) status. |
|
289 * @since 3.0 |
|
290 * @return True if Miniature view is active, othervise False. |
|
291 */ |
|
292 inline TBool IsMiniatureViewUp() { return iThumbnailViewIsUp; } |
|
293 |
|
294 /** |
|
295 * check if the plugin player is up |
|
296 * @since 3.2 |
|
297 * @return True if Miniature view is active, othervise False. |
|
298 */ |
|
299 inline TBool IsPluginPlayerUp() const { return iPluginPlayerIsUp; } |
|
300 |
|
301 |
|
302 /** |
|
303 * Find specifies keyword on page. Set aFindString to NULL if |
|
304 * searching in directions. |
|
305 * @since 3.0 |
|
306 * @param aFindString The string to find on page. If seaching for direction |
|
307 * this must be NULL. |
|
308 * @param aFindDirection Search direction. True: next, otherwise: previous. |
|
309 */ |
|
310 void FindKeywordL( HBufC* aFindString, TBool aFindDirection = EFalse ); |
|
311 |
|
312 /** |
|
313 * Handles opening a feed with the url |
|
314 * @since 3.1 |
|
315 * @param aUrl - the url of the feed |
|
316 * @return void |
|
317 */ |
|
318 void HandleSubscribeToWithUrlL(TPtrC aUrl); |
|
319 |
|
320 /** |
|
321 * Check status of contentview fullscreen mode |
|
322 * @since 7.x |
|
323 * @return True if currently in fullscreen mode, othervise False. |
|
324 */ |
|
325 inline TBool FullScreenMode() const { return iContentFullScreenMode; } |
|
326 |
|
327 public: // from MAknToolbarObserver |
|
328 /** |
|
329 * Should be used to set the properties of some toolbar components |
|
330 * before it is drawn. |
|
331 * @param aResourceId The resource ID for particular toolbar |
|
332 * @param aToolbar The toolbar object pointer |
|
333 */ |
|
334 void DynInitToolbarL( TInt /*aResourceId*/, CAknToolbar* /*aToolbar*/ ); |
|
335 |
|
336 /** |
|
337 * Handles toolbar events for a certain toolbar item. |
|
338 * @param aCommand The command ID of some toolbar item. |
|
339 */ |
|
340 void OfferToolbarEventL( TInt aCommand ) { HandleCommandL(aCommand);} |
|
341 |
|
342 public: // from MWindowObserver |
|
343 void WindowEventHandlerL( TWindowEvent aEvent, TInt aWindowId ); |
|
344 |
|
345 // from CAknView |
|
346 |
|
347 /** |
|
348 * Handles commands. |
|
349 * @param aCommand Command to be handled |
|
350 */ |
|
351 void HandleCommandL( TInt aCommand ); |
|
352 |
|
353 // from CAknView |
|
354 |
|
355 /** |
|
356 * From @c MEikMenuObserver. Menu emphasising or de-emphasising function. |
|
357 * @c CEikMenuBar objects call this on their observer. Updates the value of |
|
358 * the flags for the (@c aMenuControl) on the control stack. |
|
359 * @param aMenuControl The control to be emphasised or de-emphasisied. |
|
360 * @param aEmphasis @c ETrue to emphasize the menu, @c EFalse to refuse the |
|
361 * focus. |
|
362 */ |
|
363 void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis); |
|
364 private: |
|
365 |
|
366 /** |
|
367 * Generic Zoom function |
|
368 * @since 3.0 |
|
369 * @param aDirection 1 for In, -1 for Out |
|
370 * @param aLow low boundary for zoom level checking |
|
371 * @param aHigh high boundary for zoom level checking |
|
372 * @param aDuration the time to display zoom indicator |
|
373 */ |
|
374 void ZoomImagesL( TInt aDirection, TUint aLow, TUint aHigh, TInt aDuration ); |
|
375 |
|
376 TInt FindCurrentZoomIndex(TInt aCurrentZoomLevel); |
|
377 |
|
378 void SaveCurrentZoomLevel(TBool saveZoom); |
|
379 |
|
380 protected: // from CAknView |
|
381 |
|
382 /** |
|
383 * @since 1.2 |
|
384 * @param aPrevViewId Previous view id |
|
385 * @param aCustomMessageId |
|
386 * @param aCustomMessage |
|
387 */ |
|
388 void DoActivateL( |
|
389 const TVwsViewId& aPrevViewId, |
|
390 TUid aCustomMessageId, |
|
391 const TDesC8& aCustomMessage ); |
|
392 |
|
393 /** |
|
394 * @since 1.2 |
|
395 */ |
|
396 void DoDeactivate(); |
|
397 |
|
398 protected: // from CBrowserViewBase |
|
399 |
|
400 /** |
|
401 * @since 1.2 |
|
402 */ |
|
403 TInt CommandSetResourceIdL(); |
|
404 |
|
405 /** |
|
406 * Set command set lsk,rsk,msk dynamically via pointers. |
|
407 * Derived classes should implement, though it can be empty. |
|
408 * If it does nothing, empty softkeys will be assigned |
|
409 * @since 5.0 |
|
410 */ |
|
411 void CommandSetResourceDynL(TSKPair& /*lsk*/, TSKPair& /*rsk*/, TSKPair& /*msk*/) {}; |
|
412 |
|
413 |
|
414 private: |
|
415 |
|
416 /** |
|
417 * @param aApiProvider Reference to API provider |
|
418 */ |
|
419 CBrowserContentView( MApiProvider& aApiProvider ); |
|
420 |
|
421 /** |
|
422 * Symbian OS contructor. |
|
423 * @param aRect |
|
424 */ |
|
425 void ConstructL( TRect& aRect ); |
|
426 |
|
427 /** |
|
428 * Send address. |
|
429 */ |
|
430 void SendAddressL( ); |
|
431 |
|
432 /** |
|
433 * This method is used to update the Option menu label text |
|
434 * @param aMenuPane Menu pane to be configured. |
|
435 * @param aCommandId Identifies the menu item (as defined in .hrh file) to be updated. |
|
436 * @param aResourceId New label resource ID |
|
437 */ |
|
438 void UpdateOptionMenuItemLabelL( |
|
439 CEikMenuPane* aMenuPane, |
|
440 const TInt aCommandId, |
|
441 const TInt aResourceId ); |
|
442 |
|
443 /** |
|
444 * Do search for specified items in current page. |
|
445 * @param aSearchCase items to be searched for |
|
446 */ |
|
447 void DoSearchL( CFindItemEngine::TFindItemSearchCase aSearchCase ); |
|
448 |
|
449 /** |
|
450 * |
|
451 */ |
|
452 void SetNavipaneViewL(); |
|
453 |
|
454 /** |
|
455 * Force updating the Goto Pane. Does nothing if Goto Pane is not |
|
456 * visible. |
|
457 */ |
|
458 void UpdateGotoPaneL(); |
|
459 |
|
460 /** |
|
461 * View history pane |
|
462 */ |
|
463 void ViewHistoryL(); |
|
464 |
|
465 /** |
|
466 * Dynamically initialize menu panes. |
|
467 * @param aResourceId ID for the resource to be loaded |
|
468 * @param aMenuPane Menu pane |
|
469 */ |
|
470 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
471 |
|
472 /** |
|
473 * Handles a selection from the subscribe to sub-menu. |
|
474 * @since 3.0 |
|
475 * @param aCommand - A menu command |
|
476 * @return void |
|
477 */ |
|
478 void HandleSubscribeToL(TInt aCommand); |
|
479 |
|
480 /** |
|
481 * Deals with menu items for Multiple Windows Support |
|
482 * @since 3.1 |
|
483 * @param aWindowMenuItems - bool for each window submenu item that is set to true if it should be dimmed ; false if not |
|
484 * @return true is all items were true otherwise false is returned. |
|
485 */ |
|
486 TBool CheckForEmptyWindowsMenuL(TWindowsMenuItemsDimCheck* aWindowMenuItems); |
|
487 |
|
488 /** |
|
489 * Deals with dimming menu items for Multiple Windows Support |
|
490 * @since 3.1 |
|
491 * @param aMenuPane - A menu pane |
|
492 * @param aWindowMenuItems - lists each window submenu item and whether it should be dimmed |
|
493 * @return void |
|
494 */ |
|
495 void DimMultipleWindowsMenuItems( CEikMenuPane& aMenuPane, TWindowsMenuItemsDimCheck aWindowMenuItems); |
|
496 |
|
497 /** |
|
498 * Check if the input is activate |
|
499 * @param none |
|
500 * @return ETrue if input is |
|
501 */ |
|
502 TBool IsEditMode(); |
|
503 private: |
|
504 |
|
505 void ProcessCommandL( TInt aCommand ); |
|
506 |
|
507 void GotoUrlInGotoPaneL(); |
|
508 |
|
509 /** |
|
510 * Adds the saved bookmark's id to the bottom of the list. |
|
511 * @param aUid Uid of the bookmark |
|
512 */ |
|
513 void AddBMUidToLastPlaceToCurrentListL( const TInt aUid ); |
|
514 |
|
515 /** |
|
516 * callback handler for fullscreen status pane timer |
|
517 */ |
|
518 static TInt CallHideFsStatusPane(TAny* aCBrowserContentView ); |
|
519 |
|
520 /** |
|
521 * Hides the status pane for fullscreen mode and cancels timer |
|
522 */ |
|
523 void HideFsStatusPane(); |
|
524 |
|
525 /** |
|
526 * Callback handler for auto fullscreen mode timer |
|
527 */ |
|
528 static TInt CallActivateAutoFullScreen(TAny* aCBrowserContentView); |
|
529 |
|
530 /** |
|
531 * Activate Automatic Full screen mode |
|
532 */ |
|
533 void ActivateAutoFullScreenMode(); |
|
534 |
|
535 /** |
|
536 * Start auto fullscreen timer |
|
537 */ |
|
538 void StartAutoFullScreenTimer(); |
|
539 |
|
540 /** |
|
541 * Suspend auto fullscreen timer |
|
542 */ |
|
543 void SuspendAutoFullScreenTimer(); |
|
544 |
|
545 /** |
|
546 * Start auto fullscreen Idle timer |
|
547 */ |
|
548 void StartAutoFullScreenIdleTimer(); |
|
549 |
|
550 /** |
|
551 * Suspend auto fullscreen Idle timer |
|
552 */ |
|
553 void SuspendAutoFullScreenIdleTimer(); |
|
554 public: |
|
555 |
|
556 // BrowserContentViewContainer can use this method to pop up 'Go to' pane. |
|
557 void LaunchGotoAddressEditorL(); |
|
558 |
|
559 void UpdateFullScreenL(); |
|
560 |
|
561 void SetFullScreenOffL(); |
|
562 |
|
563 /** |
|
564 * Launches the Find keyword pane. |
|
565 * @since 3.0 |
|
566 */ |
|
567 void LaunchFindKeywordEditorL(); |
|
568 |
|
569 /** |
|
570 * Initializes iZoomLevelArray, iCurrentZoomLevelIndex, iCurrentZoomLevel, |
|
571 * iZoomInVisible, iZoomOutVisible members. |
|
572 * |
|
573 * Note: these members must be initialized later, after the BrowserContentView was constructed |
|
574 * in BrowserAppUi, because initializing zooming, requires iBrowserControl, which is created in |
|
575 * BrowserAppUi::ConstructL(), and creating iBrowserControl requires a created BrowserContentView |
|
576 * object. So zoom levels must be initialized after BrowserAppUi created the iBrowserControl member. |
|
577 * @since 3.0 |
|
578 */ |
|
579 void SetZoomLevelL(); |
|
580 |
|
581 /** |
|
582 * Shows zoom level text in title pane for aDuration seconds. |
|
583 * @since 3.0 |
|
584 * @param aResourceId Resource of the zoom level string |
|
585 * @param aLevel The zoom level which will be shown formatting |
|
586 * with the resource string. |
|
587 */ |
|
588 void SetZoomLevelTitleTextL( TInt aResourceId , TInt aDuration = KZoomModeShowDisableTime ); |
|
589 |
|
590 |
|
591 /** |
|
592 * Gets the text zoom levels. |
|
593 */ |
|
594 void GetTextZoomLevelsL(); |
|
595 |
|
596 /** |
|
597 * Handle zoom mode command |
|
598 */ |
|
599 void SetZoomModeL( TBool aZoomMode ); |
|
600 |
|
601 /** |
|
602 * Handle pointer events when Goto pane is visible |
|
603 */ |
|
604 void HandlePointerCommand(TInt aCommand) { TRAP_IGNORE(HandleCommandL(aCommand)); } |
|
605 |
|
606 /** |
|
607 * Add new bookmark to the database. |
|
608 * @param aAsLastVisited ETrue if the meaning is to update "Last visited" bookmark |
|
609 * @param aUrl The URL that should be bookmarked |
|
610 */ |
|
611 void AddNewBookmarkL( TBool aAsLastVisited, HBufC* aUrl = NULL ); |
|
612 |
|
613 void ShowKeymap(); |
|
614 |
|
615 void HideKeymap(); |
|
616 |
|
617 void RedrawKeymap(); |
|
618 |
|
619 /** |
|
620 * Set whether in content view full screen mode or not. |
|
621 * @since 5.0 |
|
622 * @param aEnableFullScreen boolean. True: Enter fullscreen, False: Exit |
|
623 * @return void |
|
624 */ |
|
625 void EnableFullScreenModeL( TBool aEnableFullScreen ); |
|
626 |
|
627 void HandlePluginFullScreen(TBool aFullScreen); |
|
628 |
|
629 /** |
|
630 * Show or hide status pane for fullscreen mode |
|
631 * @since 7.x |
|
632 * @param aShow boolean. True: show status pane, False: start timer that hides status pane on timeout |
|
633 * @return void |
|
634 */ |
|
635 void ShowFsStatusPane(TBool aShow); |
|
636 |
|
637 private: |
|
638 |
|
639 CAknNavigationControlContainer* iNaviPane; |
|
640 CAknNavigationDecorator* iNaviDecorator; |
|
641 TBufC<KStatusMessageMaxLength> iStatusMsg; |
|
642 CBrowserBookmarksModel* iBookmarksModel; |
|
643 CBrowserContentViewContainer* iContainer; |
|
644 |
|
645 |
|
646 // Goto Pane's entered URL |
|
647 HBufC* iEnteredURL; |
|
648 |
|
649 // Find keyword pane's keyword |
|
650 HBufC* iEnteredKeyword; |
|
651 |
|
652 // Zoom images... |
|
653 // Array contains the zoom levels. ( 30%, 40%, ... defined in webengine) |
|
654 RArray<TUint>* iZoomLevelArray; |
|
655 |
|
656 // The index of the zoom level in iZoomLevelArray. |
|
657 TUint iCurrentZoomLevelIndex; |
|
658 // Zoom text... |
|
659 // Array contains the text zoom levels. ( All small,Small,Normal ) |
|
660 CArrayFixFlat<TInt>* iTextZoomLevelArray; |
|
661 // The index of the zoom level in iTextZoomLevelArray. |
|
662 // This index equals to text sizes in EAllSmall... |
|
663 TUint iCurrentTextZoomLevelIndex; |
|
664 CArrayFixFlat<TInt>* iFontSizeArray; |
|
665 |
|
666 TBool iHistoryViewIsUp; |
|
667 TBool iThumbnailViewIsUp; |
|
668 TBool iSynchRequestViewIsUp; |
|
669 TBool iImageMapActive; |
|
670 CAknInfoPopupNoteController* iToolBarInfoNote; |
|
671 |
|
672 TBool iPluginPlayerIsUp; |
|
673 TBool iSmartTextViewIsUp; |
|
674 |
|
675 TBool iFindItemIsInProgress; |
|
676 //Flag to check if the last view was Feeds engine |
|
677 TBool iWasInFeedsView; |
|
678 CAknStylusPopUpMenu* iStylusPopupMenu; // owned |
|
679 CBrowserContentViewToolbar* iBrowserContentViewToolbar; // owned |
|
680 TBool iPenEnabled; |
|
681 CBrowserShortcutKeyMap* iShortcutKeyMap; // owned |
|
682 |
|
683 // True if the ZoomSlider is currently visible |
|
684 TBool iZoomSliderVisible; |
|
685 // True if in zoom mode, zoom indicator (tooltip or slider) displayed |
|
686 TBool iZoomMode; |
|
687 CBrowserContentViewZoomModeTimer *iZoomModeTimer; |
|
688 |
|
689 // True if the browser is in Full Screen Mode in ContentView |
|
690 TBool iContentFullScreenMode; |
|
691 TBool iHistoryAtBeginning; |
|
692 TBool iHistoryAtEnd; |
|
693 TBool iIsPluginFullScreenMode; |
|
694 |
|
695 CAknAppUiBase::TAppUiOrientation iOrientation; |
|
696 TBool iWasContentFullScreenMode; |
|
697 CPeriodic *iPeriodic; |
|
698 TUint iCurrentZoomLevel; |
|
699 TUint iSavedZoomLevel; |
|
700 TBool iOptionsMenuActive; |
|
701 CPeriodic *iAutoFSPeriodic; |
|
702 CPeriodic *iIdlePeriodic; |
|
703 |
|
704 }; |
|
705 |
|
706 #endif |
|
707 |
|
708 // End of File |