summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/BrowserSettings.java
Commit message (Collapse)AuthorAgeFilesLines
* Add quick controlsMichael Kolb2010-12-151-0/+13
| | | | | | | | Bug: http://b/issue?id=3277888 Added Quick Controls Lab setting Implemented Quick Controls UI Change-Id: I72011daf9140aa5d15c8b785126867c10bbc5501
* Change homepage setting handlingJohn Reck2010-12-031-1/+1
| | | | | | | | | Bug: 3247095 Tweaks the setting of the homepage setting. Replaces the "set to..." dialog with 2 buttons, and user can now enter a blank url to get a blank page with title "New Tab". Change-Id: I95bcfcd241db4b9efbde645100d2fd44c980e061
* Debug settings changesJohn Reck2010-12-031-9/+26
| | | | | | | | Bug: 3250498 Makes OpenGL rendering and user agent normally visible in settings->debug Changing the OpenGL setting now automatically restarts the browser Change-Id: I04036b580f2463f77376edb4bee2dfefe3d123ed
* Make BrowserSettings.loadFromDb asynchronousBen Murdoch2010-11-261-72/+109
| | | | | | | | | | | | | loadFromDb does a lot of disk IO, including accessing SQLite and SharedPreferences. This should not be done on the UI thread. With this patch we move it into an AsyncTask. However there is one caveat with this solution - all settings must be read and sent to WebCore before BrowserActivity.onCreate is called so we must block there if the async task is not complete. This is better than doing the IO on the UI thread though and fixes a load of Browser StrictMode violations. Change-Id: I0ab37ee9e95c682a59d6170a1327ae4ad1deceec
* Make AutoFill default to on in the Browser settings.Ben Murdoch2010-11-231-1/+1
| | | | | | | | Enable autofill by default. The user will be prompted to set up a profile if they have not done so already when we detect an autofillable form. Change-Id: I10fae0fa6d805dcc4fdbc0a281bdaa971b1a89f5
* Invite the user to set up AutoFillBen Murdoch2010-11-231-0/+7
| | | | | | | | | If the user has not set up an AutoFill profile but has the feature enabled and they start to fill out a form that we have determined as "autofillable" then offer to take them to the profile editor to set up their profile. Change-Id: Ia44c7036ef616d4ea826e541471dd916262488f2
* Only delete the current AutoFill profile if one has been set already.Ben Murdoch2010-11-221-2/+4
| | | | | | | | Fix for NPE if the user tries to delete an AutoFill profile before one has been set. Bug: 3198437 Change-Id: I8e836a34f15b52b5dd850778a6dcee466ca91825
* Enable Hardware Acceleration in the Browser.Derek Sollenberger2010-11-181-1/+1
| | | | Change-Id: I54b1eea8ca0f471bc7936efe1681920a21c7dbda
* Controller RefactorMichael Kolb2010-11-171-10/+10
| | | | | | | | | | Bug: 3170671 First step towards a model/view/control design in Browser introduced Controller object started separating UI code represent state of the app in one place only Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f
* Allow HW accleration to be activated on demand.Derek Sollenberger2010-11-161-0/+11
| | | | | | | | | This CL adds a debugging preference that allows developers to enable/disable Open GL rendering on demand. The setting change does not take effect until the browser is restarted. bug: 3185844 Change-Id: Ifcf5a7b7d4ddbf02a649a28c4f462e2da3f34bb6
* Remove landscape-only option.Leon Scroggins2010-11-051-10/+0
| | | | | Bug:2416373 Change-Id: Icc32bf65bda016f18ebb5d02932446ff64b77427
* Implement the "Delete Profile" button in the AutoFill editor.Ben Murdoch2010-10-291-22/+53
| | | | | | | Sync a null profile to BrowserSettings and remove the current profile data from the editor UI and database. Change-Id: I9ee911640882841b500914be5c381f686bc20e81
* Fixes the bug around misbehavior with empty homepage settingJohn Reck2010-10-271-1/+1
| | | | | | | | | | | Bug: 2911567 Setting the homepage to "" resulted in odd behavior. This changes it so that entering "" fails with an invalid URL error (now a toast instead of a dialog). The "Use Current" button was replaced with a "Set to..." button that allows the user to specify whether they want to set the homepage to the current page, a blank page, or the default page. Change-Id: I2d0cac158f89ace6ecab6165a3768419ba3252d4
* Set the unique id in the AutoFillProfile class to fix AutoFill.Ben Murdoch2010-10-201-8/+27
| | | | | | WebKit now needs to be aware of the non-zero profile unique id. Change-Id: I1dad022e48a70cbe199013e441059da2d8ee47ca
* Full profile editor and syncing with WebSettings.Ben Murdoch2010-10-141-10/+30
| | | | | | | Add all fields to the AutoFill profile editor and sync them over to WebSettings through BrowserSettings. Change-Id: I5eb69ba802571d2261ea11851bdf1b515ca8fb8c
* Sync Autofill profile data native sideBen Murdoch2010-10-131-2/+65
| | | | | | | | | When the user adds or edits the AutoFill profile, sync that data to the native WebKit code through the BrowserSettings object. Also sync the profile data on startup if it is available. Change-Id: I6146a842cb765f8ed91c109537038baad6b547fb
* AutoFill Profile editor UI initial checkinBen Murdoch2010-10-061-1/+3
| | | | | | | | | | | | | | | Make a start on a simple AutoFill profile editor so that we can get rid of the default John Smith profile we've been using for testing. This CL also moves the autofill settings from the Privacy Preferences page to the Personal Preferences page. Note that this is just the profile editor in the Browser and although the data entered is persisted to disk, it is not yet synced with the native AutoFill code so for now we continue to use the canned profile native side. Change-Id: Ie609c5f25fffc914267605efdb10444379c29388
* Fix some comments.Jeff Hamilton2010-10-041-5/+3
| | | | Change-Id: If36b4479127020e42b3ae77105337275f487b848
* Add settings to enable bookmarks sync.Jeff Hamilton2010-09-281-0/+1
| | | | Change-Id: I86bc4ce9d21ec0a040322bd704cef46eaa17dc9c
* Convert the browser settings to be fragments.Jeff Hamilton2010-09-241-29/+6
| | | | | | This also makes the settings panel 2 pane. Change-Id: Ifccfdc145065fc51f12b74160c797749063b403d
* Configure AutoFill through browser preferences.Ben Murdoch2010-09-231-0/+4
| | | | | | | | | | Defaults to off until we have a profile editor. Until the profile editor is finished, we use a canned "John Smith" profile. Requires a corresponding change in frameworks/base - https://android-git.corp.google.com/g/65573 Change-Id: Ieb0c49b79766ba670322b8bd8b84968e778920ae
* resolved conflicts for merge of fc2c6f1d to masterLeon Scroggins III2010-09-171-34/+0
|\ | | | | | | Change-Id: I708443617cf602a957a90a5770deab77c47c776f
| * am 8774c667: Remove "Show web suggestions" from browser settingsLeon Scroggins III2010-09-171-34/+0
| |\ | | | | | | | | | | | | | | | | | | Merge commit '8774c667dd446346dca5f5d3c89092fbc86448d0' into gingerbread * commit '8774c667dd446346dca5f5d3c89092fbc86448d0': Remove "Show web suggestions" from browser settings
| | * Remove "Show web suggestions" from browser settingsLeon Scroggins III2010-09-171-34/+0
| | | | | | | | | | | | | | | Bug:3011374 Change-Id: I44d57431d127e48d25a957915a2fb93dc96b1053
* | | am 36a05554: am 06e1dcac: am 3130660e: Default to Google if global search ↵Leon Scroggins III2010-09-171-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | provider not present. Merge commit '36a055549042ea384ec0f8037369571885f21a50' * commit '36a055549042ea384ec0f8037369571885f21a50': Default to Google if global search provider not present.
| * | am 3130660e: Default to Google if global search provider not present.Leon Scroggins III2010-09-171-1/+2
| |\| | | | | | | | | | | | | | | | | | | Merge commit '3130660e0045923199c74efa7c1df9ea85501dce' into gingerbread * commit '3130660e0045923199c74efa7c1df9ea85501dce': Default to Google if global search provider not present.
| | * Default to Google if global search provider not present.Leon Scroggins III2010-09-171-1/+2
| | | | | | | | | | | | | | | Bug: 3009486 Change-Id: I9d727b5f6d478483814e420aca7ad30dcf5252f5
* | | am 0ba7b925: am 680ee91f: am 95d9bfd1: Clear voice search mode when changing ↵Leon Scroggins III2010-09-151-0/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | search engines. Merge commit '0ba7b925618a9e6e7e6f601119b9849527d9ee39' * commit '0ba7b925618a9e6e7e6f601119b9849527d9ee39': Clear voice search mode when changing search engines.
| * | am 95d9bfd1: Clear voice search mode when changing search engines.Leon Scroggins III2010-09-141-0/+8
| |\| | | | | | | | | | | | | | | | | | | Merge commit '95d9bfd1d67902a8aa5d2e529db7f7064db081b7' into gingerbread * commit '95d9bfd1d67902a8aa5d2e529db7f7064db081b7': Clear voice search mode when changing search engines.
| | * Clear voice search mode when changing search engines.Leon Scroggins III2010-09-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not all search engines support voice search. Also, different search engines may support them differently. So if we are already in voice search mode when the search engine changes, exit the mode. Change-Id: I8d3f200f4829ad1383d554214c9d56d5c0b96aed
| * | am d2670653: Add user-selected search providers to browserBjorn Bringert2010-09-131-4/+60
| |\| | | | | | | | | | | | | | | | | | | Merge commit 'd26706538834e0ed58bf28f08d9a2885c0e7efcb' into gingerbread * commit 'd26706538834e0ed58bf28f08d9a2885c0e7efcb': Add user-selected search providers to browser
| | * Add user-selected search providers to browserBjorn Bringert2010-09-131-4/+60
| | | | | | | | | | | | | | | | | | The lists of search providers are taken from Chrome. Change-Id: I7af6dc1258950d1fc5cf86013f8be9f3c5db0f1a
* | | Add user-selected search providers to browserBjorn Bringert2010-09-151-4/+60
| | | | | | | | | | | | | | | | | | The lists of search providers are taken from Chrome. Change-Id: I320f43f06d3a79a3b7a065c73859853dedf0a6b5
* | | resolved conflicts for merge of c8687ffc to masterBrad Fitzpatrick2010-09-021-2/+2
|\| | | | | | | | | | | Change-Id: I38f42b9671a56e85f2aa8a8e325120d6f6a59427
| * | Use new apply() instead of commit().Brad Fitzpatrick2010-09-011-2/+2
| | | | | | | | | | | | | | | | | | | | | apply() starts an async disk write and doesn't have a return value but is otherwise identical in observable effects. Change-Id: Id1199cd43d62882cfe7343d46e283b32404dea5d
* | | Add RLZ support to Browser.Jeff Davidson2010-08-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RLZ assigns non-unique, non-personally identifiable tracking labels to client products; these labels sometimes appear in Google search queries. See http://code.google.com/p/rlz for more info. Bug: 2927060 Change-Id: I992cd2859d590616df57293adb7ac22038088d49
* | | Set the Browser's minimum font size to 1px.Shimeng (Simon) Wang2010-07-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Something is drawn when font-size is set to 1px. This is to fix cases where user explicitly set font-size to 1px. issue: 2170362 Change-Id: Ibdb90520cd0e89edaee89b9ee3bc7bab85a475ef
* | | am 539fde68: am f6915fbb: Add more choices to about:debug UAString settingBart Sears2010-07-091-4/+16
|\| | | | | | | | | | | | | | | | | | | | Merge commit '539fde6807f0d9a5a86dc09ce362a2dc9ba0bc10' * commit '539fde6807f0d9a5a86dc09ce362a2dc9ba0bc10': Add more choices to about:debug UAString setting
| * | Add more choices to about:debug UAString settingBart Sears2010-07-081-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2828591 Add two more choices to the about:debug UAString setting: - iPad - Froyo-N1 This will make it easier to test sites that have Tablet UIs specific to the iPad UA and also sites that have HTML5 content specific to Android 2.2 UA. Also update the Desktop UA to the latest Safari 5.0 UA and the iPhone UA to ios4 (Apple uses the same UA on both the iPhone 3gs (running OS4) and the iPhone 4 (running OS4)). Change-Id: I60b402c586966340ac84846189922679dba35464
* | | Use the new WebSettings to enable smooth transitionGrace Kloba2010-06-221-0/+3
|/ / | | | | during panning and zooming.
* | merge from open-source masterThe Android Open Source Project2010-05-101-1/+4
|\ \ | |/ |/| | | Change-Id: Iaaf00603ec92506775c28cc6a4cc587d3a02939a
| * Fixing a monkey crash in the BrowserSettingsHenrik Baard2010-04-211-1/+4
| | | | | | | | | | | | | | Monkey crash, sometimes the function getCurrentTopWebView() can return null causing a crash in clearFormData(). Change-Id: I27d38fafd448a3922a09bbdf2b31ab6f78fecf88
| * Adds an explicit type for GeolocationPermissions.getOrigins. Do not merge.Steve Block2009-11-241-2/+2
| | | | | | | | | | | | | | | | BUG=2271636 This has already been submitted to eclair-mr2. Change-Id: I8c79b949162a98c3711f01d9c6ebbf53959fd039
* | Remove overscrollAdam Powell2010-03-291-2/+0
| | | | | | | | Change-Id: I680a7d36a8f782f03abf1994023922c840bed993
* | Fill in the home page in the preferences when browser is launched first time.Shimeng (Simon) Wang2010-03-291-1/+4
| | | | | | | | | | Issue:2554240 Change-Id: Ia63bf9ec7463db4548f88985925ef0759234753d
* | Re-enable page cache.Andrei Popescu2010-03-291-5/+1
| | | | | | | | | | | | Fix b: 2533219 Change-Id: Ida1122cd9a137a9d4caba8187bf48f9688889747
* | Add the on-demand setting for plugins.Patrick Scott2010-03-231-5/+5
| | | | | | | | | | | | | | Requires a change to webkit and the framework. Bug: 2411524 Change-Id: I874e4e2139eedf4bc9332947fe6513b027e660d9
* | Diasble page cache on high-end devices while b: 2525377 is not fixed.Andrei Popescu2010-03-221-1/+5
| |
* | Match the new webview overscroll background apiGrace Kloba2010-03-191-2/+2
| |
* | Remove the logic of setting dasher account's home page.Shimeng (Simon) Wang2010-03-161-15/+0
| | | | | | | | | | Bug:2300219 Change-Id: Ibe790a7aaa812b5262c53f542539deead628dc77