epoc32/include/mw/browseruisdkcrkeys.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2009 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 *
    16 */
    17 #ifndef BROWSERUISDKCRKEYS_H
    18 #define BROWSERUISDKCRKEYS_H
    19 
    20 const TUid KCRUidBrowserUiLV = {0x101F861B};
    21 const TUid KCRUidBrowser   = {0x10008D39};
    22 
    23 // Users should be able to select the volume for plugins
    24 // Valid Values: (mute)0,2,5,8,10(maximum)
    25 const TUint32 KBrowserMediaVolumeControl =  0x0000001C;
    26 
    27 // The setting for CSS fetching.
    28 // Valid values: 0 = disabled, 1 = enabled
    29 const TUint32 KBrowserCSSFetch =            0x00000003;
    30 
    31 // Boolean value which determines if text inside <nowrap>
    32 // tags on a wml page should be wrapped.
    33 // Valid values: 0 = On, 1 = Off
    34 const TUint32 KBrowserTextWrapEnabled =     0x00000004;
    35 
    36 // Browser Security Dialog suppression setting.
    37 // Valid values: 0 = off 1 = on
    38 const TUint32 KBrowserSecurityUI =          0x00000008;
    39 
    40 // Variant specific Browser encoding setting.
    41 // Valid values: any positive 32-bit integer value
    42 const TUint32 KBrowserDefaultCharset =      0x00000009;
    43 
    44 // Default access point, UID of the AP record.
    45 // Valid values:any positive 32-bit integer value
    46 const TUint32 KBrowserDefaultAccessPoint =  0x0000000E;
    47 
    48 // Indicates whether the user has to confirm DTFM sending or not.
    49 // Valid values: 0 = off 1 = on
    50 const TUint32 KBrowserConfirmDTMFSending =  0x00000017;
    51 
    52 // Browser IMEI notification setting. UAProf filter uses
    53 // this key to decide whether to send phone's IMEI code
    54 // within User-Agent header. IMEI notification feature is
    55 // only ON if the operator requests it.#
    56 // Valid values: 0 = disable 1 = enable
    57 const TUint32 KBrowserIMEINotification =    0x00000018;
    58 
    59 // Integer value to turn on or off the send referrer
    60 // header option.
    61 // Valid values: 0 = off 1 = on
    62 const TUint32 KBrowserSendReferrerHeader =  0x00000019;
    63 
    64 // Flags for variating Browser engine
    65 // Any Integer value
    66 const TUint32 KBrowserEngineFlags =         0x00000001;
    67 
    68 // These content types will be handled specially like descriptor contents
    69 // Any String value
    70 const TUint32 KBrowserSelfDownloadContentTypes = 0x0000001D;
    71 
    72 enum TBrowserCenRepApSelectionModeValues
    73     {
    74     EBrowserCenRepApSelModeUserDefined = 0, // User defined
    75     EBrowserCenRepApSelModeAlwaysAsk = 1,   // Always ask
    76     EBrowserCenRepApSelModeDestination = 2  // Destination
    77     };
    78 
    79 // Defines the access point selection mode (User defined, Always ask, Destination)
    80 // Valid values: See above TBrowserCenRepApSelectionModeValues.
    81 // User defined is also what so called Connection Method after SNAP introduction
    82 const TUint32 KBrowserAccessPointSelectionMode = 0x0000001E;
    83 
    84 // Setting for DownloadManager to indicate the available drives on harware.
    85 // Valid values: constant string with maximum length of 52bytes,
    86 const TUint32 KBrowserDrivePrefListForDownloadedContent = 0x00000021;
    87 
    88 // The flag that's set if Browser build is to be used in United States (USA)
    89 // Valid values: 0 = not set (non-US build)  1 = set (US build)
    90 const TUint32 KBrowserUsBuild =             0x00000023;
    91 
    92 // Indicates whether the user has confirmed DTFM once or not.
    93 // Valid values: 0 = no 1 = yes
    94 const TUint32 KBrowserConfirmedDTMFOnce =  0x00000024;
    95 
    96 /**
    97 *
    98 * OSS Browser Keys
    99 *
   100 */
   101 
   102 // Load Content
   103 // Valid values:
   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
   106 const TUint32 KBrowserNGImagesEnabled =       	0x00000025;
   107 
   108 // Browser font size.
   109 // Valid values:any positive 32-bit integer value
   110 const TUint32 KBrowserNGFontSize =            	0x00000026;
   111 
   112 // Browser encoding setting.
   113 // Valid values: any positive 32-bit integer value
   114 const TUint32 KBrowserNGEncoding =            	0x00000027;
   115 
   116 // Browser uses cookies.
   117 // Valid values: 0 = reject 1 = allow
   118 const TUint32 KBrowserNGCookiesEnabled =      	0x0000002B;
   119 
   120 // Boolean value which determines whether ECMA Script
   121 // setting is enabled or disabled in Browser.
   122 // Valid values: 0 = disabled 1 = enabled
   123 const TUint32 KBrowserNGECMAScriptSupport =   	0x0000002C;
   124 
   125 // Show HTTP security warnings.
   126 // Valid values: 0 = off 1 = on
   127 const TUint32 KBrowserNGShowSecurityWarnings= 	0x0000002D;
   128 
   129 // Show Page Overview.
   130 // Valid values: 0 = off 1 = on
   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;
   151 
   152 // Mime types for HTTP accept header.
   153 // Any String value
   154 const TUint32 KBrowserNGMimeTypes = 		  	0x00000032;
   155 
   156 // Show History view on back softkey press.
   157 // Valid values: 0 = off 1 = on
   158 const TUint32 KBrowserNGBackList = 		  		0x00000033;
   159 
   160 // Auto refresh.
   161 // Valid values: 0 = off 1 = on
   162 const TUint32 KBrowserNGAutoRefresh = 		  	0x00000034;
   163 
   164 // The setting for encoding a URL with UTF-8 or the original encoding.
   165 // Valid values: 0 = off 1 = on
   166 const TUint32 KBrowserNGUtf8Encoding = 	  		0x00000036;
   167 
   168 // With this setting automatic updating of
   169 // Wen Feeds can be set on (with anupdate interval) or off.
   170 // Valid values:
   171 // 0 = Every week
   172 // 1 = Every day
   173 // 2 = Every 4 hours
   174 // 3 = Every hour
   175 // 4 = Every 15 minutes
   176 // 5 = Off
   177 const TUint32 KBrowserNGAutomaticUpdating = 	0x00000037;
   178 
   179 // Short cut keys for function: Navigates to home page
   180 // Any String value
   181 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
   182 
   183 // Short cut keys for function: Go to bookmark
   184 // Any String value
   185 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
   186 
   187 // Short cut keys for function: Find keyword
   188 // Any String value
   189 const TUint32 KBrowserNGShortCutFuncFindKeyWord  =    0x0000003C;
   190 
   191 // Short cut keys for function: Go to the previous page
   192 // Any String value
   193 const TUint32 KBrowserNGShortCutFuncPrePage =    0x0000003D;
   194 
   195 // Short cut keys for function: Switch window
   196 // Any String value
   197 const TUint32 KBrowserNGShortCutFuncSwitchWin =    0x0000003E;
   198 
   199 // Short cut keys for function: Toggles miniature image on/off
   200 // Any String value
   201 const TUint32 KBrowserNGShortCutFuncMiniImage =    0x0000003F;
   202 
   203 // Short cut keys for function: Go to address
   204 // Any String value
   205 const TUint32 KBrowserNGShortCutFuncGoAddr =    0x00000040;
   206 
   207 // Short cut keys for function: Zoom in
   208 // Any String value
   209 const TUint32 KBrowserNGShortCutFuncZoomIn =    0x00000041;
   210 
   211 // Short cut keys for function: Zoom out
   212 // Any String value
   213 const TUint32 KBrowserNGShortCutFuncZoomOut =    0x00000042;
   214 
   215 // The access point used when Web Feeds was updated automatically
   216 const TUint32 KBrowserNGAutomaticUpdatingAccessPoint =     0x00000043;
   217 
   218 // Setting to enable "Rotate display" menu item
   219 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
   220 
   221 // Setting to enable "Open download" menu item
   222 // Valid value 0 = no, 1 = yes
   223 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
   224 
   225 //DEPRECATED/OBSOLETE: Smart Link.
   226 // Valid values: 0 = off 1 = on
   227 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;
   228 
   229 // Setting to enable updating while roaming
   230 // Valid values: 0 = off 1 = on
   231 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
   232 
   233 // DEPRECATED/OBSOLETE: Show platform toolbar
   234 // Valid value int
   235 //const TUInt32 KBrowserNGShowPlatformToolbar = 0x00000048;
   236 
   237 // Last visible toolbar
   238 // Valid values: basic toolbar = 0 address toolbar = 1
   239 //const TUint32 KBrowserNGLastVisibleToolbar = 0x00000049;
   240 
   241 // Setting to enable the Http Optimisations (HttpFilterOptB)
   242 // Valid values: 0 = disabled, 1 = enabled
   243 const TUint32 KBrowserNGHttpOptBEnabled	=        0x00000050;
   244 
   245 // Setting to determines if the Access keys feature is enabled or disabled
   246 // Valid values: 0 = off 1 = on
   247 //const TUint32 KBrowserNGAccessKeys =            0x00000051;
   248 
   249 // The FileManager UID
   250 const TUint32 KFileManagerUid =               0x00000052;
   251 
   252 //the key used to get the default snap id
   253 const TUint32 KBrowserNGDefaultSnapId =    0x00000053;
   254 
   255 // User configurable suffixes for URL completion
   256 // Any String value
   257 const TUint32 KBrowserUrlSuffix =    0x00000054;
   258 
   259 //Setting for Toolbar On/Off configuration
   260 // Turns Toolbar On or Off ( 0 = Off ; 1 = On)
   261 const TUint32 KToolbarOnOff =                 0x00000055;
   262 
   263 //Setting for Toolbar Button 1 Command
   264 const TUint32 KToolbarButton1Cmd =            0x00000056;
   265 
   266 //Setting for Toolbar Button 2 Command
   267 const TUint32 KToolbarButton2Cmd =            0x00000057;
   268 
   269 //Setting for Toolbar Button 3 Command
   270 const TUint32 KToolbarButton3Cmd =            0x00000058;
   271 
   272 //Setting for Toolbar Button 4 Command
   273 const TUint32 KToolbarButton4Cmd =            0x00000059;
   274 
   275 //Setting for Toolbar Button 5 Command
   276 const TUint32 KToolbarButton5Cmd =            0x00000060;
   277 
   278 //Setting for Toolbar Button 6 Command
   279 const TUint32 KToolbarButton6Cmd =            0x00000061;
   280 
   281 //Setting for Toolbar Button 7 Command
   282 const TUint32 KToolbarButton7Cmd =            0x00000062;
   283 
   284 //Setting for Shortcut Key 1 Command
   285 const TUint32 KShortcutKey1Cmd =            0x00000063;
   286 
   287 //Setting for Shortcut Key 2 Command
   288 const TUint32 KShortcutKey2Cmd =            0x00000064;
   289 
   290 //Setting for Shortcut Key 3 Command
   291 const TUint32 KShortcutKey3Cmd =            0x00000065;
   292 
   293 //Setting for Shortcut Key 4 Command
   294 const TUint32 KShortcutKey4Cmd =            0x00000066;
   295 
   296 //Setting for Shortcut Key 5 Command
   297 const TUint32 KShortcutKey5Cmd =            0x00000067;
   298 
   299 //Setting for Shortcut Key 6 Command
   300 const TUint32 KShortcutKey6Cmd =            0x00000068;
   301 
   302 //Setting for Shortcut Key 7 Command
   303 const TUint32 KShortcutKey7Cmd =            0x00000069;
   304 
   305 //Setting for Shortcut Key 8 Command
   306 const TUint32 KShortcutKey8Cmd =            0x0000006A;
   307 
   308 //Setting for Shortcut Key 9 Command
   309 const TUint32 KShortcutKey9Cmd =            0x0000006B;
   310 
   311 //Setting for Shortcut Key 0 Command
   312 const TUint32 KShortcutKey0Cmd =            0x0000006C;
   313 
   314 //Setting for Shortcut Key Star Command
   315 const TUint32 KShortcutKeyStarCmd =            0x0000006D;
   316 
   317 //Setting for Shortcut Key Hash Command
   318 const TUint32 KShortcutKeyHashCmd =            0x0000006E;
   319 
   320 //Setting for Shortcut Keys for QWERTY keypad
   321 // (1 = On = QWERTY keypad)
   322 // (0 = Off = Numeric keypad)
   323 const TUint32 KShortcutKeysForQwerty =            0x0000006F;
   324 
   325 // Int value which determines if and how
   326 // script console is enabled in Browser.
   327 // Valid values: 0 = disabled 1 = log to file 1 = log to UI console
   328 const TUint32 KBrowserNGScriptLog =   	0x00000070;
   329 
   330 // KBrowserNGZoomMin represents the minimum percentage zoom level to be
   331 // supported by the browser.
   332 // Valid values: 10 to 2000, default value for this field 10
   333 const TUint32 KBrowserNGZoomMin =   	0x00000071;
   334 
   335 // The browser supports zoom levels between 10-2000 percent.
   336 // KBrowserNGZoomMax represents the maximum percentage zoom level to be
   337 // supported by the browser.
   338 // Valid values: 10 to 2000, default value for this field 200
   339 const TUint32 KBrowserNGZoomMax =   	0x00000072;
   340 
   341 // KBrowserNGZoomDefault represents the default percentage zoom level to be
   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
   344 const TUint32 KBrowserNGZoomDefault =  0x00000073;
   345 
   346 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in
   347 // the pop up list
   348 // Valid values: 1 to 10, default value for this field is 6
   349 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
   350 
   351 // Short cut keys for function: Toggles Full Screen Mode on/off
   352 // Any String value
   353 const TUint32 KBrowserNGShortCutFuncFullScreen =    0x00000075;
   354 
   355 // Short cut keys for function: Zoom Mode
   356 // Any String value
   357 const TUint32 KBrowserNGShortCutFuncZoomMode =      0x00000076;
   358 
   359 // KBrowserSearchIconPath path to mif file saving search icons
   360 // Given and updated by search application
   361 // like z:\\resource\\apps\\xxx.mif
   362 const TUint32 KBrowserSearchIconPath = 0x00000077;
   363 
   364 // KBrowserSearchIconId Current search iconId From search mif file
   365 // Given and updated by search application
   366 // Valid values: TInt
   367 const TUint32 KBrowserSearchIconId = 0x00000078;
   368 
   369 // KBrowserSearchIconMaskId Current search iconMaskId From search mif file
   370 // Given and updated by search application
   371 // Valid values: TInt
   372 const TUint32 KBrowserSearchIconMaskId = 0x00000079;
   373 
   374 // KBrowserSearchProviderTitle Title to current search provider
   375 // Given and updated by search application
   376 const TUint32 KBrowserSearchProviderTitle = 0x0000007A;
   377 
   378 // KBrowserServiceUrl Browser Service url
   379 // Used to lauch service application through scheme handler
   380 const TUint32 KBrowserServiceUrl = 0x0000007B;
   381 
   382 // KBrowserFirstBoot
   383 // Valid values: 1 if browser first boot is not done yet, other 0
   384 const TUint32 KBrowserFirstBoot = 0x0000007C;
   385 
   386 // KBrowserSearch TInt if browser search is present
   387 // Valid values: 0, 1
   388 const TUint32 KBrowserSearch = 0x0000007D;
   389 
   390 // KBrowserServices TInt if browser service is present
   391 // Valid values: 0,1
   392 const TUint32 KBrowserServices = 0x0000007E;
   393 
   394 // KBrowserSearchAppUid - browser Search Application UID
   395 // Valid values:any positive 32-bit integer value
   396 const TUint32 KBrowserSearchAppUid= 0x0000007F;
   397 
   398 // Search Application View UID for selection of Default
   399 // Search Provider.
   400 // Valid values:any positive 32-bit integer value.
   401 const TUint32 KBrowserSearchProviderSettingViewId = 0x00000080;
   402 
   403 // KBrowserSearchProviderUrl Browser Search url
   404 // Used by Search Scheme Handler.
   405 const TUint32 KBrowserSearchProviderUrl = 0x00000081;
   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 
   413 #endif      // BROWSERUISDKCRKEYS_H