web_pub/settings_api/inc/BrowserUiSDKCRKeys.h
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 15 60c5402cb945
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 #ifndef BROWSERUISDKCRKEYS_H
    17 #ifndef BROWSERUISDKCRKEYS_H
    18 #define BROWSERUISDKCRKEYS_H
    18 #define BROWSERUISDKCRKEYS_H
    19 
    19 
    67 
    67 
    68 // These content types will be handled specially like descriptor contents
    68 // These content types will be handled specially like descriptor contents
    69 // Any String value
    69 // Any String value
    70 const TUint32 KBrowserSelfDownloadContentTypes = 0x0000001D;
    70 const TUint32 KBrowserSelfDownloadContentTypes = 0x0000001D;
    71 
    71 
    72 enum TBrowserCenRepApSelectionModeValues 
    72 enum TBrowserCenRepApSelectionModeValues
    73     {
    73     {
    74     EBrowserCenRepApSelModeUserDefined = 0, // User defined
    74     EBrowserCenRepApSelModeUserDefined = 0, // User defined
    75     EBrowserCenRepApSelModeAlwaysAsk = 1,   // Always ask
    75     EBrowserCenRepApSelModeAlwaysAsk = 1,   // Always ask
    76     EBrowserCenRepApSelModeDestination = 2  // Destination
    76     EBrowserCenRepApSelModeDestination = 2  // Destination
    77     };
    77     };
    97 *
    97 *
    98 * OSS Browser Keys
    98 * OSS Browser Keys
    99 *
    99 *
   100 */
   100 */
   101 
   101 
   102 // Load Content 
   102 // Load Content
   103 // Valid values: 
   103 // Valid values:
   104 // If flash plugin is present: 0 = Text only, 1 = Images,No flash, 2 = All
   104 // If flash plugin is present: 0 = Text only, 1 = Images,No flash, 2 = All
   105 // If flash plugin is not present 0 = Text only, 1 = All
   105 // If flash plugin is not present 0 = Text only, 1 = All
   106 const TUint32 KBrowserNGImagesEnabled =       	0x00000025;
   106 const TUint32 KBrowserNGImagesEnabled =       	0x00000025;
   107 
   107 
   108 // Browser font size.
   108 // Browser font size.
   137      EBrowserCenRepUserDefinedHomePage = 1, // User defined home page address
   137      EBrowserCenRepUserDefinedHomePage = 1, // User defined home page address
   138      EBrowserCenRepCurrentURL = 2,          // Current URL
   138      EBrowserCenRepCurrentURL = 2,          // Current URL
   139      EBrowserCenRepBookmarks = 3            // Bookmarks
   139      EBrowserCenRepBookmarks = 3            // Bookmarks
   140 };
   140 };
   141 
   141 
   142 // Integer type value to indicate what type of Home Page 
   142 // Integer type value to indicate what type of Home Page
   143 // should be launched when "Home" option is activated.
   143 // should be launched when "Home" option is activated.
   144 // Valid values:
   144 // Valid values:
   145 // AccessPoint = 0,
   145 // AccessPoint = 0,
   146 // User defined home page address = 1,
   146 // User defined home page address = 1,
   147 // Current URL = 2,
   147 // Current URL = 2,
   178 
   178 
   179 // Short cut keys for function: Navigates to home page
   179 // Short cut keys for function: Navigates to home page
   180 // Any String value
   180 // Any String value
   181 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
   181 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
   182 
   182 
   183 // Short cut keys for function: Go to bookmark 
   183 // Short cut keys for function: Go to bookmark
   184 // Any String value
   184 // Any String value
   185 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
   185 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
   186 
   186 
   187 // Short cut keys for function: Find keyword
   187 // Short cut keys for function: Find keyword
   188 // Any String value
   188 // Any String value
   217 
   217 
   218 // Setting to enable "Rotate display" menu item
   218 // Setting to enable "Rotate display" menu item
   219 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
   219 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
   220 
   220 
   221 // Setting to enable "Open download" menu item
   221 // Setting to enable "Open download" menu item
   222 // Valid value 0 = no, 1 = yes 
   222 // Valid value 0 = no, 1 = yes
   223 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
   223 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
   224 
   224 
   225 //DEPRECATED/OBSOLETE: Smart Link.
   225 //DEPRECATED/OBSOLETE: Smart Link.
   226 // Valid values: 0 = off 1 = on
   226 // Valid values: 0 = off 1 = on
   227 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;    
   227 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;
   228 
   228 
   229 // Setting to enable updating while roaming
   229 // Setting to enable updating while roaming
   230 // Valid values: 0 = off 1 = on
   230 // Valid values: 0 = off 1 = on
   231 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
   231 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
   232 
   232 
   263 //Setting for Toolbar Button 1 Command
   263 //Setting for Toolbar Button 1 Command
   264 const TUint32 KToolbarButton1Cmd =            0x00000056;
   264 const TUint32 KToolbarButton1Cmd =            0x00000056;
   265 
   265 
   266 //Setting for Toolbar Button 2 Command
   266 //Setting for Toolbar Button 2 Command
   267 const TUint32 KToolbarButton2Cmd =            0x00000057;
   267 const TUint32 KToolbarButton2Cmd =            0x00000057;
   268              
   268 
   269 //Setting for Toolbar Button 3 Command
   269 //Setting for Toolbar Button 3 Command
   270 const TUint32 KToolbarButton3Cmd =            0x00000058;
   270 const TUint32 KToolbarButton3Cmd =            0x00000058;
   271 
   271 
   272 //Setting for Toolbar Button 4 Command
   272 //Setting for Toolbar Button 4 Command
   273 const TUint32 KToolbarButton4Cmd =            0x00000059;
   273 const TUint32 KToolbarButton4Cmd =            0x00000059;
   325 // Int value which determines if and how
   325 // Int value which determines if and how
   326 // script console is enabled in Browser.
   326 // script console is enabled in Browser.
   327 // Valid values: 0 = disabled 1 = log to file 1 = log to UI console
   327 // Valid values: 0 = disabled 1 = log to file 1 = log to UI console
   328 const TUint32 KBrowserNGScriptLog =   	0x00000070;
   328 const TUint32 KBrowserNGScriptLog =   	0x00000070;
   329 
   329 
   330 // KBrowserNGZoomMin represents the minimum percentage zoom level to be 
   330 // KBrowserNGZoomMin represents the minimum percentage zoom level to be
   331 // supported by the browser. 
   331 // supported by the browser.
   332 // Valid values: 10 to 2000, default value for this field 10
   332 // Valid values: 10 to 2000, default value for this field 10
   333 const TUint32 KBrowserNGZoomMin =   	0x00000071;
   333 const TUint32 KBrowserNGZoomMin =   	0x00000071;
   334 
   334 
   335 // The browser supports zoom levels between 10-2000 percent.
   335 // The browser supports zoom levels between 10-2000 percent.
   336 // KBrowserNGZoomMax represents the maximum percentage zoom level to be 
   336 // KBrowserNGZoomMax represents the maximum percentage zoom level to be
   337 // supported by the browser.
   337 // supported by the browser.
   338 // Valid values: 10 to 2000, default value for this field 200
   338 // Valid values: 10 to 2000, default value for this field 200
   339 const TUint32 KBrowserNGZoomMax =   	0x00000072;
   339 const TUint32 KBrowserNGZoomMax =   	0x00000072;
   340 
   340 
   341 // KBrowserNGZoomDefault represents the default percentage zoom level to be 
   341 // KBrowserNGZoomDefault represents the default percentage zoom level to be
   342 // supported by the browser when opening a webpage for the first time.
   342 // supported by the browser when opening a webpage for the first time.
   343 // Valid values: 10 to 2000, default value for this field 100
   343 // Valid values: 10 to 2000, default value for this field 100
   344 const TUint32 KBrowserNGZoomDefault =  0x00000073;
   344 const TUint32 KBrowserNGZoomDefault =  0x00000073;
   345 
   345 
   346 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in 
   346 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in
   347 // the pop up list 
   347 // the pop up list
   348 // Valid values: 1 to 10, default value for this field is 6
   348 // Valid values: 1 to 10, default value for this field is 6
   349 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
   349 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
   350 
   350 
   351 // Short cut keys for function: Toggles Full Screen Mode on/off
   351 // Short cut keys for function: Toggles Full Screen Mode on/off
   352 // Any String value
   352 // Any String value
   378 // KBrowserServiceUrl Browser Service url
   378 // KBrowserServiceUrl Browser Service url
   379 // Used to lauch service application through scheme handler
   379 // Used to lauch service application through scheme handler
   380 const TUint32 KBrowserServiceUrl = 0x0000007B;
   380 const TUint32 KBrowserServiceUrl = 0x0000007B;
   381 
   381 
   382 // KBrowserFirstBoot
   382 // KBrowserFirstBoot
   383 // Valid values: 1 if browser first boot is not done yet, other 0  
   383 // Valid values: 1 if browser first boot is not done yet, other 0
   384 const TUint32 KBrowserFirstBoot = 0x0000007C;
   384 const TUint32 KBrowserFirstBoot = 0x0000007C;
   385 
   385 
   386 // KBrowserSearch TInt if browser search is present 
   386 // KBrowserSearch TInt if browser search is present
   387 // Valid values: 0, 1
   387 // Valid values: 0, 1
   388 const TUint32 KBrowserSearch = 0x0000007D;
   388 const TUint32 KBrowserSearch = 0x0000007D;
   389 
   389 
   390 // KBrowserServices TInt if browser service is present
   390 // KBrowserServices TInt if browser service is present
   391 // Valid values: 0,1 
   391 // Valid values: 0,1
   392 const TUint32 KBrowserServices = 0x0000007E;
   392 const TUint32 KBrowserServices = 0x0000007E;
   393 
   393 
   394 // KBrowserSearchAppUid - browser Search Application UID
   394 // KBrowserSearchAppUid - browser Search Application UID
   395 // Valid values:any positive 32-bit integer value
   395 // Valid values:any positive 32-bit integer value
   396 const TUint32 KBrowserSearchAppUid= 0x0000007F;
   396 const TUint32 KBrowserSearchAppUid= 0x0000007F;
   397 
   397 
   398 // Search Application View UID for selection of Default 
   398 // Search Application View UID for selection of Default
   399 // Search Provider.
   399 // Search Provider.
   400 // Valid values:any positive 32-bit integer value.
   400 // Valid values:any positive 32-bit integer value.
   401 const TUint32 KBrowserSearchProviderSettingViewId = 0x00000080;
   401 const TUint32 KBrowserSearchProviderSettingViewId = 0x00000080;
   402 
   402 
   403 // KBrowserSearchProviderUrl Browser Search url
   403 // KBrowserSearchProviderUrl Browser Search url
   404 // Used by Search Scheme Handler.
   404 // Used by Search Scheme Handler.
   405 const TUint32 KBrowserSearchProviderUrl = 0x00000081;
   405 const TUint32 KBrowserSearchProviderUrl = 0x00000081;
   406 
   406 
       
   407 // Cursormode which defines the cursor display supported status depends on phones.
       
   408 const TUint32 KBrowserCursorShowMode =          0x00000082;
   407 #endif      // BROWSERUISDKCRKEYS_H
   409 #endif      // BROWSERUISDKCRKEYS_H