epoc32/include/mw/browseruisdkcrkeys.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     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.
   127 const TUint32 KBrowserNGShowSecurityWarnings= 	0x0000002D;
   127 const TUint32 KBrowserNGShowSecurityWarnings= 	0x0000002D;
   128 
   128 
   129 // Show Page Overview.
   129 // Show Page Overview.
   130 // Valid values: 0 = off 1 = on
   130 // Valid values: 0 = off 1 = on
   131 const TUint32 KBrowserNGPageOverview = 		  	0x0000002E;
   131 const TUint32 KBrowserNGPageOverview = 		  	0x0000002E;
       
   132 
       
   133 // Valid values for KBrowserNGHomepageType
       
   134 enum TBrowserCenRepHomePageTypeValue
       
   135 {
       
   136      EBrowserCenRepAccessPoint = 0,         // AccessPoint
       
   137      EBrowserCenRepUserDefinedHomePage = 1, // User defined home page address
       
   138      EBrowserCenRepCurrentURL = 2,          // Current URL
       
   139      EBrowserCenRepBookmarks = 3            // Bookmarks
       
   140 };
       
   141 
       
   142 // Integer type value to indicate what type of Home Page
       
   143 // should be launched when "Home" option is activated.
       
   144 // Valid values:
       
   145 // AccessPoint = 0,
       
   146 // User defined home page address = 1,
       
   147 // Current URL = 2,
       
   148 // Bookmarks = 3
       
   149 // Enums for these valid values are as defined in TBrowserCenRepHomePageTypeValue
       
   150 const TUint32 KBrowserNGHomepageType =          0x00000031;
   132 
   151 
   133 // Mime types for HTTP accept header.
   152 // Mime types for HTTP accept header.
   134 // Any String value
   153 // Any String value
   135 const TUint32 KBrowserNGMimeTypes = 		  	0x00000032;
   154 const TUint32 KBrowserNGMimeTypes = 		  	0x00000032;
   136 
   155 
   159 
   178 
   160 // Short cut keys for function: Navigates to home page
   179 // Short cut keys for function: Navigates to home page
   161 // Any String value
   180 // Any String value
   162 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
   181 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
   163 
   182 
   164 // Short cut keys for function: Go to bookmark 
   183 // Short cut keys for function: Go to bookmark
   165 // Any String value
   184 // Any String value
   166 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
   185 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
   167 
   186 
   168 // Short cut keys for function: Find keyword
   187 // Short cut keys for function: Find keyword
   169 // Any String value
   188 // Any String value
   198 
   217 
   199 // Setting to enable "Rotate display" menu item
   218 // Setting to enable "Rotate display" menu item
   200 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
   219 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
   201 
   220 
   202 // Setting to enable "Open download" menu item
   221 // Setting to enable "Open download" menu item
   203 // Valid value 0 = no, 1 = yes 
   222 // Valid value 0 = no, 1 = yes
   204 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
   223 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
   205 
   224 
   206 //DEPRECATED/OBSOLETE: Smart Link.
   225 //DEPRECATED/OBSOLETE: Smart Link.
   207 // Valid values: 0 = off 1 = on
   226 // Valid values: 0 = off 1 = on
   208 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;    
   227 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;
   209 
   228 
   210 // Setting to enable updating while roaming
   229 // Setting to enable updating while roaming
   211 // Valid values: 0 = off 1 = on
   230 // Valid values: 0 = off 1 = on
   212 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
   231 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
   213 
   232 
   244 //Setting for Toolbar Button 1 Command
   263 //Setting for Toolbar Button 1 Command
   245 const TUint32 KToolbarButton1Cmd =            0x00000056;
   264 const TUint32 KToolbarButton1Cmd =            0x00000056;
   246 
   265 
   247 //Setting for Toolbar Button 2 Command
   266 //Setting for Toolbar Button 2 Command
   248 const TUint32 KToolbarButton2Cmd =            0x00000057;
   267 const TUint32 KToolbarButton2Cmd =            0x00000057;
   249              
   268 
   250 //Setting for Toolbar Button 3 Command
   269 //Setting for Toolbar Button 3 Command
   251 const TUint32 KToolbarButton3Cmd =            0x00000058;
   270 const TUint32 KToolbarButton3Cmd =            0x00000058;
   252 
   271 
   253 //Setting for Toolbar Button 4 Command
   272 //Setting for Toolbar Button 4 Command
   254 const TUint32 KToolbarButton4Cmd =            0x00000059;
   273 const TUint32 KToolbarButton4Cmd =            0x00000059;
   306 // Int value which determines if and how
   325 // Int value which determines if and how
   307 // script console is enabled in Browser.
   326 // script console is enabled in Browser.
   308 // 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
   309 const TUint32 KBrowserNGScriptLog =   	0x00000070;
   328 const TUint32 KBrowserNGScriptLog =   	0x00000070;
   310 
   329 
   311 // KBrowserNGZoomMin represents the minimum percentage zoom level to be 
   330 // KBrowserNGZoomMin represents the minimum percentage zoom level to be
   312 // supported by the browser. 
   331 // supported by the browser.
   313 // Valid values: 10 to 2000, default value for this field 10
   332 // Valid values: 10 to 2000, default value for this field 10
   314 const TUint32 KBrowserNGZoomMin =   	0x00000071;
   333 const TUint32 KBrowserNGZoomMin =   	0x00000071;
   315 
   334 
   316 // The browser supports zoom levels between 10-2000 percent.
   335 // The browser supports zoom levels between 10-2000 percent.
   317 // KBrowserNGZoomMax represents the maximum percentage zoom level to be 
   336 // KBrowserNGZoomMax represents the maximum percentage zoom level to be
   318 // supported by the browser.
   337 // supported by the browser.
   319 // Valid values: 10 to 2000, default value for this field 200
   338 // Valid values: 10 to 2000, default value for this field 200
   320 const TUint32 KBrowserNGZoomMax =   	0x00000072;
   339 const TUint32 KBrowserNGZoomMax =   	0x00000072;
   321 
   340 
   322 // KBrowserNGZoomDefault represents the default percentage zoom level to be 
   341 // KBrowserNGZoomDefault represents the default percentage zoom level to be
   323 // 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.
   324 // Valid values: 10 to 2000, default value for this field 100
   343 // Valid values: 10 to 2000, default value for this field 100
   325 const TUint32 KBrowserNGZoomDefault =  0x00000073;
   344 const TUint32 KBrowserNGZoomDefault =  0x00000073;
   326 
   345 
   327 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in 
   346 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in
   328 // the pop up list 
   347 // the pop up list
   329 // 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
   330 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
   349 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
   331 
   350 
   332 // Short cut keys for function: Toggles Full Screen Mode on/off
   351 // Short cut keys for function: Toggles Full Screen Mode on/off
   333 // Any String value
   352 // Any String value
   359 // KBrowserServiceUrl Browser Service url
   378 // KBrowserServiceUrl Browser Service url
   360 // Used to lauch service application through scheme handler
   379 // Used to lauch service application through scheme handler
   361 const TUint32 KBrowserServiceUrl = 0x0000007B;
   380 const TUint32 KBrowserServiceUrl = 0x0000007B;
   362 
   381 
   363 // KBrowserFirstBoot
   382 // KBrowserFirstBoot
   364 // 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
   365 const TUint32 KBrowserFirstBoot = 0x0000007C;
   384 const TUint32 KBrowserFirstBoot = 0x0000007C;
   366 
   385 
   367 // KBrowserSearch TInt if browser search is present 
   386 // KBrowserSearch TInt if browser search is present
   368 // Valid values: 0, 1
   387 // Valid values: 0, 1
   369 const TUint32 KBrowserSearch = 0x0000007D;
   388 const TUint32 KBrowserSearch = 0x0000007D;
   370 
   389 
   371 // KBrowserServices TInt if browser service is present
   390 // KBrowserServices TInt if browser service is present
   372 // Valid values: 0,1 
   391 // Valid values: 0,1
   373 const TUint32 KBrowserServices = 0x0000007E;
   392 const TUint32 KBrowserServices = 0x0000007E;
   374 
   393 
   375 // KBrowserSearchAppUid - browser Search Application UID
   394 // KBrowserSearchAppUid - browser Search Application UID
   376 // Valid values:any positive 32-bit integer value
   395 // Valid values:any positive 32-bit integer value
   377 const TUint32 KBrowserSearchAppUid= 0x0000007F;
   396 const TUint32 KBrowserSearchAppUid= 0x0000007F;
   378 
   397 
   379 // Search Application View UID for selection of Default 
   398 // Search Application View UID for selection of Default
   380 // Search Provider.
   399 // Search Provider.
   381 // Valid values:any positive 32-bit integer value.
   400 // Valid values:any positive 32-bit integer value.
   382 const TUint32 KBrowserSearchProviderSettingViewId = 0x00000080;
   401 const TUint32 KBrowserSearchProviderSettingViewId = 0x00000080;
   383 
   402 
   384 // KBrowserSearchProviderUrl Browser Search url
   403 // KBrowserSearchProviderUrl Browser Search url
   385 // Used by Search Scheme Handler.
   404 // Used by Search Scheme Handler.
   386 const TUint32 KBrowserSearchProviderUrl = 0x00000081;
   405 const TUint32 KBrowserSearchProviderUrl = 0x00000081;
   387 
   406 
       
   407 // Cursormode which defines the cursor display supported status depends on phones.
       
   408 const TUint32 KBrowserCursorShowMode =          0x00000082;
       
   409 
       
   410 // Controls whether enter key can activate a link, ot just has a default behavior. 
       
   411 const TUint32 KBrowserEnterKeyMode = 0x00000083;
       
   412 
   388 #endif      // BROWSERUISDKCRKEYS_H
   413 #endif      // BROWSERUISDKCRKEYS_H