web_pub/settings_api/inc/BrowserUiSDKCRKeys.h
changeset 0 dd21522fd290
child 8 7c90e6132015
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     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 // Mime types for HTTP accept header.
       
   134 // Any String value
       
   135 const TUint32 KBrowserNGMimeTypes = 		  	0x00000032;
       
   136 
       
   137 // Show History view on back softkey press.
       
   138 // Valid values: 0 = off 1 = on
       
   139 const TUint32 KBrowserNGBackList = 		  		0x00000033;
       
   140 
       
   141 // Auto refresh.
       
   142 // Valid values: 0 = off 1 = on
       
   143 const TUint32 KBrowserNGAutoRefresh = 		  	0x00000034;
       
   144 
       
   145 // The setting for encoding a URL with UTF-8 or the original encoding.
       
   146 // Valid values: 0 = off 1 = on
       
   147 const TUint32 KBrowserNGUtf8Encoding = 	  		0x00000036;
       
   148 
       
   149 // With this setting automatic updating of
       
   150 // Wen Feeds can be set on (with anupdate interval) or off.
       
   151 // Valid values:
       
   152 // 0 = Every week
       
   153 // 1 = Every day
       
   154 // 2 = Every 4 hours
       
   155 // 3 = Every hour
       
   156 // 4 = Every 15 minutes
       
   157 // 5 = Off
       
   158 const TUint32 KBrowserNGAutomaticUpdating = 	0x00000037;
       
   159 
       
   160 // Short cut keys for function: Navigates to home page
       
   161 // Any String value
       
   162 const TUint32 KBrowserNGShortCutFuncHomePg =    0x0000003A;
       
   163 
       
   164 // Short cut keys for function: Go to bookmark 
       
   165 // Any String value
       
   166 const TUint32 KBrowserNGShortCutFuncBkMark =    0x0000003B;
       
   167 
       
   168 // Short cut keys for function: Find keyword
       
   169 // Any String value
       
   170 const TUint32 KBrowserNGShortCutFuncFindKeyWord  =    0x0000003C;
       
   171 
       
   172 // Short cut keys for function: Go to the previous page
       
   173 // Any String value
       
   174 const TUint32 KBrowserNGShortCutFuncPrePage =    0x0000003D;
       
   175 
       
   176 // Short cut keys for function: Switch window
       
   177 // Any String value
       
   178 const TUint32 KBrowserNGShortCutFuncSwitchWin =    0x0000003E;
       
   179 
       
   180 // Short cut keys for function: Toggles miniature image on/off
       
   181 // Any String value
       
   182 const TUint32 KBrowserNGShortCutFuncMiniImage =    0x0000003F;
       
   183 
       
   184 // Short cut keys for function: Go to address
       
   185 // Any String value
       
   186 const TUint32 KBrowserNGShortCutFuncGoAddr =    0x00000040;
       
   187 
       
   188 // Short cut keys for function: Zoom in
       
   189 // Any String value
       
   190 const TUint32 KBrowserNGShortCutFuncZoomIn =    0x00000041;
       
   191 
       
   192 // Short cut keys for function: Zoom out
       
   193 // Any String value
       
   194 const TUint32 KBrowserNGShortCutFuncZoomOut =    0x00000042;
       
   195 
       
   196 // The access point used when Web Feeds was updated automatically
       
   197 const TUint32 KBrowserNGAutomaticUpdatingAccessPoint =     0x00000043;
       
   198 
       
   199 // Setting to enable "Rotate display" menu item
       
   200 const TUint32 KBrowserNGRotateDisplay =          0x00000044;
       
   201 
       
   202 // Setting to enable "Open download" menu item
       
   203 // Valid value 0 = no, 1 = yes 
       
   204 const TUint32 KBrowserNGOpenDownloads =          0x00000045;
       
   205 
       
   206 //DEPRECATED/OBSOLETE: Smart Link.
       
   207 // Valid values: 0 = off 1 = on
       
   208 const TUint32 KBrowserNGSmartLink = 		  	0x00000046;    
       
   209 
       
   210 // Setting to enable updating while roaming
       
   211 // Valid values: 0 = off 1 = on
       
   212 const TUint32 KBrowserNGAutomaticUpdatingWhileRoaming = 0x00000047;
       
   213 
       
   214 // DEPRECATED/OBSOLETE: Show platform toolbar
       
   215 // Valid value int
       
   216 //const TUInt32 KBrowserNGShowPlatformToolbar = 0x00000048;
       
   217 
       
   218 // Last visible toolbar
       
   219 // Valid values: basic toolbar = 0 address toolbar = 1
       
   220 //const TUint32 KBrowserNGLastVisibleToolbar = 0x00000049;
       
   221 
       
   222 // Setting to enable the Http Optimisations (HttpFilterOptB)
       
   223 // Valid values: 0 = disabled, 1 = enabled
       
   224 const TUint32 KBrowserNGHttpOptBEnabled	=        0x00000050;
       
   225 
       
   226 // Setting to determines if the Access keys feature is enabled or disabled
       
   227 // Valid values: 0 = off 1 = on
       
   228 //const TUint32 KBrowserNGAccessKeys =            0x00000051;
       
   229 
       
   230 // The FileManager UID
       
   231 const TUint32 KFileManagerUid =               0x00000052;
       
   232 
       
   233 //the key used to get the default snap id
       
   234 const TUint32 KBrowserNGDefaultSnapId =    0x00000053;
       
   235 
       
   236 // User configurable suffixes for URL completion
       
   237 // Any String value
       
   238 const TUint32 KBrowserUrlSuffix =    0x00000054;
       
   239 
       
   240 //Setting for Toolbar On/Off configuration
       
   241 // Turns Toolbar On or Off ( 0 = Off ; 1 = On)
       
   242 const TUint32 KToolbarOnOff =                 0x00000055;
       
   243 
       
   244 //Setting for Toolbar Button 1 Command
       
   245 const TUint32 KToolbarButton1Cmd =            0x00000056;
       
   246 
       
   247 //Setting for Toolbar Button 2 Command
       
   248 const TUint32 KToolbarButton2Cmd =            0x00000057;
       
   249              
       
   250 //Setting for Toolbar Button 3 Command
       
   251 const TUint32 KToolbarButton3Cmd =            0x00000058;
       
   252 
       
   253 //Setting for Toolbar Button 4 Command
       
   254 const TUint32 KToolbarButton4Cmd =            0x00000059;
       
   255 
       
   256 //Setting for Toolbar Button 5 Command
       
   257 const TUint32 KToolbarButton5Cmd =            0x00000060;
       
   258 
       
   259 //Setting for Toolbar Button 6 Command
       
   260 const TUint32 KToolbarButton6Cmd =            0x00000061;
       
   261 
       
   262 //Setting for Toolbar Button 7 Command
       
   263 const TUint32 KToolbarButton7Cmd =            0x00000062;
       
   264 
       
   265 //Setting for Shortcut Key 1 Command
       
   266 const TUint32 KShortcutKey1Cmd =            0x00000063;
       
   267 
       
   268 //Setting for Shortcut Key 2 Command
       
   269 const TUint32 KShortcutKey2Cmd =            0x00000064;
       
   270 
       
   271 //Setting for Shortcut Key 3 Command
       
   272 const TUint32 KShortcutKey3Cmd =            0x00000065;
       
   273 
       
   274 //Setting for Shortcut Key 4 Command
       
   275 const TUint32 KShortcutKey4Cmd =            0x00000066;
       
   276 
       
   277 //Setting for Shortcut Key 5 Command
       
   278 const TUint32 KShortcutKey5Cmd =            0x00000067;
       
   279 
       
   280 //Setting for Shortcut Key 6 Command
       
   281 const TUint32 KShortcutKey6Cmd =            0x00000068;
       
   282 
       
   283 //Setting for Shortcut Key 7 Command
       
   284 const TUint32 KShortcutKey7Cmd =            0x00000069;
       
   285 
       
   286 //Setting for Shortcut Key 8 Command
       
   287 const TUint32 KShortcutKey8Cmd =            0x0000006A;
       
   288 
       
   289 //Setting for Shortcut Key 9 Command
       
   290 const TUint32 KShortcutKey9Cmd =            0x0000006B;
       
   291 
       
   292 //Setting for Shortcut Key 0 Command
       
   293 const TUint32 KShortcutKey0Cmd =            0x0000006C;
       
   294 
       
   295 //Setting for Shortcut Key Star Command
       
   296 const TUint32 KShortcutKeyStarCmd =            0x0000006D;
       
   297 
       
   298 //Setting for Shortcut Key Hash Command
       
   299 const TUint32 KShortcutKeyHashCmd =            0x0000006E;
       
   300 
       
   301 //Setting for Shortcut Keys for QWERTY keypad
       
   302 // (1 = On = QWERTY keypad)
       
   303 // (0 = Off = Numeric keypad)
       
   304 const TUint32 KShortcutKeysForQwerty =            0x0000006F;
       
   305 
       
   306 // Int value which determines if and how
       
   307 // script console is enabled in Browser.
       
   308 // Valid values: 0 = disabled 1 = log to file 1 = log to UI console
       
   309 const TUint32 KBrowserNGScriptLog =   	0x00000070;
       
   310 
       
   311 // KBrowserNGZoomMin represents the minimum percentage zoom level to be 
       
   312 // supported by the browser. 
       
   313 // Valid values: 10 to 2000, default value for this field 10
       
   314 const TUint32 KBrowserNGZoomMin =   	0x00000071;
       
   315 
       
   316 // The browser supports zoom levels between 10-2000 percent.
       
   317 // KBrowserNGZoomMax represents the maximum percentage zoom level to be 
       
   318 // supported by the browser.
       
   319 // Valid values: 10 to 2000, default value for this field 200
       
   320 const TUint32 KBrowserNGZoomMax =   	0x00000072;
       
   321 
       
   322 // KBrowserNGZoomDefault represents the default percentage zoom level to be 
       
   323 // supported by the browser when opening a webpage for the first time.
       
   324 // Valid values: 10 to 2000, default value for this field 100
       
   325 const TUint32 KBrowserNGZoomDefault =  0x00000073;
       
   326 
       
   327 // KBrowserNGMaxRecentUrls is the number of Recent URLs to be shown in 
       
   328 // the pop up list 
       
   329 // Valid values: 1 to 10, default value for this field is 6
       
   330 const TUint32 KBrowserNGMaxRecentUrls = 0x00000074;
       
   331 
       
   332 // Short cut keys for function: Toggles Full Screen Mode on/off
       
   333 // Any String value
       
   334 const TUint32 KBrowserNGShortCutFuncFullScreen =    0x00000075;
       
   335 
       
   336 // Short cut keys for function: Zoom Mode
       
   337 // Any String value
       
   338 const TUint32 KBrowserNGShortCutFuncZoomMode =      0x00000076;
       
   339 
       
   340 #endif      // BROWSERUISDKCRKEYS_H