John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package com.android.browser; |
| 18 | |
| 19 | public interface PreferenceKeys { |
| 20 | |
| 21 | static final String PREF_AUTOFILL_ACTIVE_PROFILE_ID = "autofill_active_profile_id"; |
| 22 | static final String PREF_DEBUG_MENU = "debug_menu"; |
| 23 | |
| 24 | // ---------------------- |
| 25 | // Keys for accessibility_preferences.xml |
| 26 | // ---------------------- |
| 27 | static final String PREF_MIN_FONT_SIZE = "min_font_size"; |
| 28 | static final String PREF_TEXT_SIZE = "text_size"; |
John Reck | 7dc444b | 2011-06-16 17:44:29 -0700 | [diff] [blame] | 29 | static final String PREF_TEXT_ZOOM = "text_zoom"; |
John Reck | 92f25f8 | 2011-04-26 16:57:10 -0700 | [diff] [blame] | 30 | static final String PREF_FORCE_USERSCALABLE = "force_userscalable"; |
John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 31 | |
| 32 | // ---------------------- |
| 33 | // Keys for advanced_preferences.xml |
| 34 | // ---------------------- |
| 35 | static final String PREF_AUTOFIT_PAGES = "autofit_pages"; |
| 36 | static final String PREF_BLOCK_POPUP_WINDOWS = "block_popup_windows"; |
| 37 | static final String PREF_DEFAULT_TEXT_ENCODING = "default_text_encoding"; |
| 38 | static final String PREF_DEFAULT_ZOOM = "default_zoom"; |
| 39 | static final String PREF_ENABLE_JAVASCRIPT = "enable_javascript"; |
John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 40 | static final String PREF_LOAD_PAGE = "load_page"; |
| 41 | static final String PREF_OPEN_IN_BACKGROUND = "open_in_background"; |
| 42 | static final String PREF_PLUGIN_STATE = "plugin_state"; |
| 43 | static final String PREF_RESET_DEFAULT_PREFERENCES = "reset_default_preferences"; |
| 44 | static final String PREF_SEARCH_ENGINE = "search_engine"; |
| 45 | static final String PREF_WEBSITE_SETTINGS = "website_settings"; |
| 46 | |
| 47 | // ---------------------- |
| 48 | // Keys for debug_preferences.xml |
| 49 | // ---------------------- |
| 50 | static final String PREF_ENABLE_HARDWARE_ACCEL = "enable_hardware_accel"; |
| 51 | static final String PREF_USER_AGENT = "user_agent"; |
| 52 | |
| 53 | // ---------------------- |
| 54 | // Keys for general_preferences.xml |
| 55 | // ---------------------- |
| 56 | static final String PREF_AUTOFILL_ENABLED = "autofill_enabled"; |
| 57 | static final String PREF_AUTOFILL_PROFILE = "autofill_profile"; |
| 58 | static final String PREF_HOMEPAGE = "homepage"; |
| 59 | static final String PREF_SYNC_WITH_CHROME = "sync_with_chrome"; |
| 60 | |
| 61 | // ---------------------- |
| 62 | // Keys for hidden_debug_preferences.xml |
| 63 | // ---------------------- |
| 64 | static final String PREF_ENABLE_LIGHT_TOUCH = "enable_light_touch"; |
| 65 | static final String PREF_ENABLE_NAV_DUMP = "enable_nav_dump"; |
| 66 | static final String PREF_ENABLE_TRACING = "enable_tracing"; |
| 67 | static final String PREF_ENABLE_VISUAL_INDICATOR = "enable_visual_indicator"; |
| 68 | static final String PREF_JAVASCRIPT_CONSOLE = "javascript_console"; |
| 69 | static final String PREF_JS_ENGINE_FLAGS = "js_engine_flags"; |
| 70 | static final String PREF_NORMAL_LAYOUT = "normal_layout"; |
| 71 | static final String PREF_SMALL_SCREEN = "small_screen"; |
| 72 | static final String PREF_WIDE_VIEWPORT = "wide_viewport"; |
| 73 | |
| 74 | // ---------------------- |
| 75 | // Keys for lab_preferences.xml |
| 76 | // ---------------------- |
| 77 | static final String PREF_ENABLE_QUICK_CONTROLS = "enable_quick_controls"; |
John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 78 | static final String PREF_USE_INSTANT_SEARCH = "use_instant_search"; |
Michael Kolb | c38c604 | 2011-04-27 10:46:06 -0700 | [diff] [blame] | 79 | static final String PREF_FULLSCREEN = "fullscreen"; |
John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 80 | |
| 81 | // ---------------------- |
| 82 | // Keys for privacy_security_preferences.xml |
| 83 | // ---------------------- |
| 84 | static final String PREF_ACCEPT_COOKIES = "accept_cookies"; |
| 85 | static final String PREF_ENABLE_GEOLOCATION = "enable_geolocation"; |
| 86 | static final String PREF_PRIVACY_CLEAR_CACHE = "privacy_clear_cache"; |
| 87 | static final String PREF_PRIVACY_CLEAR_COOKIES = "privacy_clear_cookies"; |
| 88 | static final String PREF_PRIVACY_CLEAR_FORM_DATA = "privacy_clear_form_data"; |
| 89 | static final String PREF_PRIVACY_CLEAR_GEOLOCATION_ACCESS = "privacy_clear_geolocation_access"; |
| 90 | static final String PREF_PRIVACY_CLEAR_HISTORY = "privacy_clear_history"; |
| 91 | static final String PREF_PRIVACY_CLEAR_PASSWORDS = "privacy_clear_passwords"; |
| 92 | static final String PREF_REMEMBER_PASSWORDS = "remember_passwords"; |
| 93 | static final String PREF_SAVE_FORMDATA = "save_formdata"; |
| 94 | static final String PREF_SHOW_SECURITY_WARNINGS = "show_security_warnings"; |
| 95 | |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 96 | // ---------------------- |
| 97 | // Keys for bandwidth_preferences.xml |
| 98 | // ---------------------- |
| 99 | static final String PREF_DATA_PRELOAD = "preload_enabled"; |
John Reck | 1a435e7 | 2011-07-08 10:42:19 -0700 | [diff] [blame] | 100 | static final String PREF_LOAD_IMAGES = "load_images"; |
Michael Kolb | 1461244 | 2011-06-24 13:06:29 -0700 | [diff] [blame] | 101 | |
John Reck | 35e9dd6 | 2011-04-25 09:01:54 -0700 | [diff] [blame] | 102 | } |