@ -15,55 +15,55 @@ import acr.browser.lightning.download.DownloadHandler;
@@ -15,55 +15,55 @@ import acr.browser.lightning.download.DownloadHandler;
public class PreferenceManager {
private static class Name {
public static final String ADOBE_FLASH_SUPPORT = "enableflash" ;
public static final String BLOCK_ADS = "AdBlock" ;
public static final String BLOCK_IMAGES = "blockimages" ;
public static final String CLEAR_CACHE_EXIT = "cache" ;
public static final String COOKIES = "cookies" ;
public static final String DOWNLOAD_DIRECTORY = "downloadLocation" ;
public static final String FULL_SCREEN = "fullscreen" ;
public static final String HIDE_STATUS_BAR = "hidestatus" ;
public static final String HOMEPAGE = "home" ;
public static final String INCOGNITO_COOKIES = "incognitocookies" ;
public static final String JAVASCRIPT = "java" ;
public static final String LOCATION = "location" ;
public static final String OVERVIEW_MODE = "overviewmode" ;
public static final String POPUPS = "newwindows" ;
public static final String RESTORE_LOST_TABS = "restoreclosed" ;
public static final String SAVE_PASSWORDS = "passwords" ;
public static final String SEARCH = "search" ;
public static final String SEARCH_URL = "searchurl" ;
public static final String TEXT_REFLOW = "textreflow" ;
public static final String TEXT_SIZE = "textsize" ;
public static final String USE_WIDE_VIEWPORT = "wideviewport" ;
public static final String USER_AGENT = "agentchoose" ;
public static final String USER_AGENT_STRING = "userAgentString" ;
public static final String CLEAR_HISTORY_EXIT = "clearHistoryExit" ;
public static final String CLEAR_COOKIES_EXIT = "clearCookiesExit" ;
public static final String SAVE_URL = "saveUrl" ;
public static final String RENDERING_MODE = "renderMode" ;
public static final String BLOCK_THIRD_PARTY = "thirdParty" ;
public static final String ENABLE_COLOR_MODE = "colorMode" ;
public static final String URL_BOX_CONTENTS = "urlContent" ;
public static final String INVERT_COLORS = "invertColors" ;
public static final String READING_TEXT_SIZE = "readingTextSize" ;
public static final String THEME = "Theme" ;
public static final String TEXT_ENCODING = "textEncoding" ;
public static final String CLEAR_WEBSTORAGE_EXIT = "clearWebStorageExit" ;
public static final String SHOW_TABS_IN_DRAWER = "showTabsInDrawer" ;
public static final String DO_NOT_TRACK = "doNotTrack" ;
public static final String IDENTIFYING_HEADERS = "removeIdentifyingHeaders" ;
public static final String SWAP_BOOKMARKS_AND_TABS = "swapBookmarksAndTabs" ;
public static final String SEARCH_SUGGESTIONS = "searchSuggestions" ;
public static final String USE_PROXY = "useProxy" ;
public static final String PROXY_CHOICE = "proxyChoice" ;
public static final String USE_PROXY_HOST = "useProxyHost" ;
public static final String USE_PROXY_PORT = "useProxyPort" ;
public static final String INITIAL_CHECK_FOR_TOR = "checkForTor" ;
public static final String INITIAL_CHECK_FOR_I2P = "checkForI2P" ;
public static final String LEAK_CANARY = "leakCanary" ;
static final String ADOBE_FLASH_SUPPORT = "enableflash" ;
static final String BLOCK_ADS = "AdBlock" ;
static final String BLOCK_IMAGES = "blockimages" ;
static final String CLEAR_CACHE_EXIT = "cache" ;
static final String COOKIES = "cookies" ;
static final String DOWNLOAD_DIRECTORY = "downloadLocation" ;
static final String FULL_SCREEN = "fullscreen" ;
static final String HIDE_STATUS_BAR = "hidestatus" ;
static final String HOMEPAGE = "home" ;
static final String INCOGNITO_COOKIES = "incognitocookies" ;
static final String JAVASCRIPT = "java" ;
static final String LOCATION = "location" ;
static final String OVERVIEW_MODE = "overviewmode" ;
static final String POPUPS = "newwindows" ;
static final String RESTORE_LOST_TABS = "restoreclosed" ;
static final String SAVE_PASSWORDS = "passwords" ;
static final String SEARCH = "search" ;
static final String SEARCH_URL = "searchurl" ;
static final String TEXT_REFLOW = "textreflow" ;
static final String TEXT_SIZE = "textsize" ;
static final String USE_WIDE_VIEWPORT = "wideviewport" ;
static final String USER_AGENT = "agentchoose" ;
static final String USER_AGENT_STRING = "userAgentString" ;
static final String CLEAR_HISTORY_EXIT = "clearHistoryExit" ;
static final String CLEAR_COOKIES_EXIT = "clearCookiesExit" ;
static final String SAVE_URL = "saveUrl" ;
static final String RENDERING_MODE = "renderMode" ;
static final String BLOCK_THIRD_PARTY = "thirdParty" ;
static final String ENABLE_COLOR_MODE = "colorMode" ;
static final String URL_BOX_CONTENTS = "urlContent" ;
static final String INVERT_COLORS = "invertColors" ;
static final String READING_TEXT_SIZE = "readingTextSize" ;
static final String THEME = "Theme" ;
static final String TEXT_ENCODING = "textEncoding" ;
static final String CLEAR_WEBSTORAGE_EXIT = "clearWebStorageExit" ;
static final String SHOW_TABS_IN_DRAWER = "showTabsInDrawer" ;
static final String DO_NOT_TRACK = "doNotTrack" ;
static final String IDENTIFYING_HEADERS = "removeIdentifyingHeaders" ;
static final String SWAP_BOOKMARKS_AND_TABS = "swapBookmarksAndTabs" ;
static final String SEARCH_SUGGESTIONS = "searchSuggestions" ;
static final String USE_PROXY = "useProxy" ;
static final String PROXY_CHOICE = "proxyChoice" ;
static final String USE_PROXY_HOST = "useProxyHost" ;
static final String USE_PROXY_PORT = "useProxyPort" ;
static final String INITIAL_CHECK_FOR_TOR = "checkForTor" ;
static final String INITIAL_CHECK_FOR_I2P = "checkForI2P" ;
static final String LEAK_CANARY = "leakCanary" ;
}
public enum Suggestion {