summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tabbed title bar workMichael Kolb2010-07-2710-143/+1102
| | | | | | | | | | | | | bug # http://b/issue?id=2712871 added tab bar added tab status callbacks to Tab and TabControl added compact progress/stop/refresh button added UrlInputView for auto-complete suggestions modified BrowserProvider for url input suggestions modified BrowserActivity to use TitleBarXLarge Change-Id: I62db2be5b89f4c4f27c09dbc6fee7b3b0d5e91b5
* remove save/restore picture from browser appCary Clark2010-07-273-26/+9
| | | | | | | | | | These pictures may be arbitrarily large, and with the newer caching mechanism, are rarely used. Also, remove any old pictures when the Browser starts. Change-Id: I08e1720a198b159733fda819304dc6af6811390a http://b/2650945
* Add support for accept type="audio/*" and audio/*;capture=microphone in the ↵Ben Murdoch2010-07-211-3/+21
| | | | | | | | Browser file picker. Change-Id: Ie2da87381f020e2d66791e8214ff14dc4ed3b8da
* Merge "Fix NPEs after merge of d159ec534823b87f9896843e95912b0df8c27e16 from ↵Ben Murdoch2010-07-203-7/+8
|\ | | | | | | open source master."
| * Fix NPEs after merge of d159ec534823b87f9896843e95912b0df8c27e16 from openBen Murdoch2010-07-193-7/+8
| | | | | | | | | | | | source master. Change-Id: Ief98236102983698e4b753ec9649142761c86607
* | onSelectionStart and onSelectionDone now take a WebViewLeon Clarke2010-07-191-2/+2
|/ | | | | | http://b/issue?id=2847546 Change-Id: I7f1087a241ba7927561c72dfad40747c048bfba5
* resolved conflicts for merge of e7c06a6e to masterJean-Baptiste Queru2010-07-163-2/+21
|\ | | | | | | Change-Id: If4f2cb14d9a05dc58322732a922e3300ff1a4558
| * merge from open-source masterThe Android Open Source Project2010-07-163-2/+20
| |\ | | | | | | | | | Change-Id: Idcbf7a3a8e9c171b62c210ad174b63dfed3ed42c
| | * Use proxy for downloads.Andreas Sandblad2010-07-143-2/+20
| | | | | | | | | | | | | | | | | | | | | Use the new Proxy method getPreferredHttpHost to use proxy for downloads. Change-Id: I4224e29ba4b37bd570d84382764e08f9babe6530
* | | Capture API updates from new specificationBen Murdoch2010-07-161-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | http://dev.w3.org/2009/dap/camera/ Replace "source" with "capture" and "gallery" with "filesystem". Change-Id: I6b95d2a24c8e8795e4cab62a023511047bb6ea26
* | | 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
* | | Browser save page as web archive.Elliott Slaughter2010-07-121-0/+17
| | | | | | | | | | | | Change-Id: I01366f575f61fd6e2084ad003b860f5c6083258e
* | | 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
* | | Improve the visibility and discoverability of the "add shortcutBen Murdoch2010-07-095-14/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to home" functionality in the Browser. When the user selects the bookmark button adjacent to the URL bar they will be prompted to either add a new bookmark for the current page or add a shortcut to the current page to their homescreen, rather than being taken to the bookmark management activity. The bookmarks button on the options menu will still take the user directly to the bookmark management activity. Bug: b/2794945 Change-Id: I07190250379f1d6e2fe6b8ea280317949cd58b15
* | | Add camcorder support to the file picker.Ben Murdoch2010-07-061-17/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | Camcorder will now be supported in the upload dialog for blank accept types, */* or video/*. Additionally web developers can specify "video/*;source=camcorder" to jump straight into the camcorder activity, or "video/*;source=gallery" to jump straight into the gallery filtered for videos. Change-Id: I5eb48273c71add12075b537fb56b17d5776ef40d
* | | Download a touch icon without putting it into the database.Ben Murdoch2010-07-011-10/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adds functionality to DownloadTouchIcon to pass a message back containing the touch icon bitmap rather than inserting it into the bookmarks database. This will be used by the installable web apps work. Change-Id: Ic87a571b84bf5a940a6c55a59423cd8556ebcef1
* | | Create BookmarkUtils class.Ben Murdoch2010-07-012-102/+172
| | | | | | | | | | | | | | | | | | | | | This factors out some bookmarks functionality that we would like to reuse when impementing installable webapps. Change-Id: Ia34d70b732c45220637767ddd0f05b280f0fc6bc
* | | am a3fb156b: am c1f5ae26: Log if a user clicked on a link from voice search ↵Leon Scroggins III2010-06-301-2/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | results. Merge commit 'a3fb156b7cdd11822819dbebe6726d3842d3628c' * commit 'a3fb156b7cdd11822819dbebe6726d3842d3628c': Log if a user clicked on a link from voice search results.
| * | Log if a user clicked on a link from voice search results.Leon Scroggins III2010-06-301-2/+14
| | | | | | | | | | | | | | | | | | Bug: 2803980 Change-Id: Ide6c4411e0468c7156d05fad28e4b24cf1e746ce
* | | Make size of the webview screenshot configurable with width/height parameters.Ben Murdoch2010-06-301-11/+12
| | | | | | | | | | | | | | | | | | | | | Although not visible at the moment, this is to enable us to take full-res screenshots to use as splash screens for the Web App runtime. Change-Id: Ib4e0e704e437f1b339e3bd0a814383dd355b9e93
* | | fix related to bug http://b/issue?id=2101719Michael Kolb2010-06-291-24/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | adjusted menu for large screen introduced new menu-xlarge for tablet menu added menu-normal with tablet menu for testing purposes added shortcut items to tablet menu Change-Id: Ic23cc7ccc02f57dca07fbd151c77dc490422874e
* | | Prevent a null pointer exception.Leon Scroggins2010-06-291-1/+4
| | | | | | | | | | | | Change-Id: I6daa89bebcfd1168c76d214cf56ad1e9c18b2a58
* | | If url hijacking happens on a newly opened child window,Grace Kloba2010-06-281-0/+27
| | | | | | | | | | | | | | | close the child window after switching Activity. Fix http://b/issue?id=2764723
* | | Update the lock icon when closing a tab.Leon Scroggins2010-06-281-0/+1
| | | | | | | | | | | | | | | Bug: 2790724 Change-Id: Ia7431b033bd2b56629457fe38b392504862f26c5
* | | am 459bc29d: am 98b938b1: Actually remove the subwindow.Leon Scroggins2010-06-281-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '459bc29d145e754d93c79d30314cd1d162b3cc61' * commit '459bc29d145e754d93c79d30314cd1d162b3cc61': Actually remove the subwindow.
| * | Actually remove the subwindow.Leon Scroggins2010-06-251-1/+1
| |/ | | | | | | | | | | Bug 2748202 Change-Id: I133e12167cb8b68d0fc7e0f0d3c9bfe727334e81
* | Refactor find and select dialogsCary Clark2010-06-245-78/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (This is a work in progress -- assets in particular are not final) Use common code when showing the select and find dialogs. Both now use similarly constructed contextual action bars and share resources where possible. Both share a common base class so supporting code can communicate with either. Companion changes in frameworks/base and external/webkit Change-Id: I62e15afd2730444985f8dbd2472df3cae351f47a http://b/262451
* | Use the new WebSettings to enable smooth transitionGrace Kloba2010-06-221-0/+3
| | | | | | during panning and zooming.
* | Use the new look for the progress bar.Leon Scroggins2010-06-161-0/+2
| | | | | | | | | | | | Bug 2712871 Change-Id: Ifb6afe59196332d966590dbc08228fb78aa5f8cf
* | Merge "Initial work on new browser bar"Leon Scroggins2010-06-164-67/+268
|\ \
| * | Initial work on new browser barLeon Scroggins2010-06-164-67/+268
| | | | | | | | | | | | | | | | | | Bug 2712871 Change-Id: Id1c76b05a5f126a4a68369a32dda8975fc1d2e6b
* | | When the string is empty, just return an empty list.Grace Kloba2010-06-151-3/+2
|/ / | | | | Fix http://b/issue?id=2771338
* | Broadcast to the media scanner when the user takes a photo from the file ↵Ben Murdoch2010-05-271-0/+3
| | | | | | | | | | | | | | | | picker so that it gets added to their gallery rather than lingering inaccessible on the SD card. Change-Id: If7e67ff5b5126964f5e6cc1853e435abc2d75c40
* | Plugin may have Java components. So always refreshGrace Kloba2010-05-261-3/+1
| | | | | | | | | | if the package has been changed. Fix http://b/issue?id=2718983
* | Use the URL stored in the nav cache to open in new window.Leon Scroggins III2010-05-261-11/+18
| | | | | | | | | | | | | | | | | | | | | | Previously we passed a message to find out the URL, which introduced a delay before the window was actually opened. A possible result of the delay is a crash. Remove the delay and prevent the crash. Bug 2714880 Change-Id: Id1579adc258ff9b386d2dc08c3456b336cdbcc37
* | Add support for the camera as a source for the file picker.Ben Murdoch2010-05-202-6/+91
| | | | | | | | | | | | | | Determine whether to show the camera based on the accept type associated with the input element. Change-Id: I48fea76fbd7a1f3df3c87288f28e01a32d9e955e
* | Leave the title bar at the top of the screen for xlarge screen layout.Leon Scroggins2010-05-191-25/+66
| | | | | | | | | | | | | | | | | | Since the title bar is always at the top of the screen, there is no need for the fake title bar, so it is unused. Bug 2697366 Change-Id: I4aa2472cd747ed662b97713ff9c67f15e4c57e35
* | Adding accessibility content provider responsible for user script injectionSvetoslav Ganov2010-05-171-1/+6
| | | | | | | | Change-Id: I3ce7f684b69cc8e904dd4cf1f557b20987e8c6a5
* | am 55e849a5: merge from open-source masterThe Android Open Source Project2010-05-121-1/+4
|\ \ | |/
| * merge from open-source masterThe Android Open Source Project2010-05-121-1/+4
| |\ | | | | | | | | | Change-Id: I53af51f3c14806f2302daeea62a125621851d2cc
| | * Merge "Prevent browser becoming unresponsive when surfing to a URL with many ↵Jean-Baptiste Queru2010-05-111-1/+3
| | |\ | | | | | | | | | | | | %-escaped characters."
| | | * Prevent browser becoming unresponsive when surfing to a URL with many ↵Mats Mattsson2010-05-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | %-escaped characters. Surfing to a webpage with many %-characters in the URL will hang the browser for several minutes. To reproduce: String url = "http://zh.wikipedia.org/wiki/%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8?%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E %E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5%8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94 %BF%E5%8C%BA%E5%88%97%E8%A1%A8%E4%B8%AD%E5%8D%8E%E4%BA%BA%E6%B0%91%E5%85%B1%E5%92%8C%E5%9B%BD%E5 %8E%BF%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8"; Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); intent.addCategory(Intent.CATEGORY_BROWSABLE); startActivity(intent); The raw URL is used to match previously visited URLs in the history database with the SQL LIKE operator. The LIKE operator does however treat %-signs as wildcards and an exhaustive and unnecessary search is made. The fix uses the ESCAPE functionality of LIKE to treat the %-signs in the URL as non-wildcards. As underscore is treated as also treated as a wildcard, it is escaped as well. Change-Id: I20d182bc76b339c49ad23acc1c4d735414310b04
* | | | Add debugging information to help fix bug 2289137.Leon Scroggins2010-05-112-1/+20
| | | | | | | | | | | | | | | | Change-Id: I0ef5d006988267ac8dd5f2f6d42c923fea90ecc4
* | | | Move the find dialog to the top of the screen.Leon Scroggins2010-05-102-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the animations for the new location, and remove the browser bar when Find is showing. Bug 2667046 Change-Id: I565106b6c7e02200ed45ae145033447a8931af62
* | | | am 6e37c921: merge from open-source masterThe Android Open Source Project2010-05-101-1/+4
|\ \ \ \ | |/ / /
| * | | merge from open-source masterThe Android Open Source Project2010-05-101-1/+4
| |\ \ \ | | |/ / | | | | | | | | Change-Id: Iaaf00603ec92506775c28cc6a4cc587d3a02939a
| | * | Merge "Fixing a monkey crash in the BrowserSettings"Jean-Baptiste Queru2010-05-101-1/+4
| | |\ \ | | | |/ | | |/|
| | | * 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
| | * | Merge "Removed findbugs warnings from BrowserActivity."Jean-Baptiste Queru2010-05-041-2/+2
| | |\ \