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