summaryrefslogtreecommitdiff
path: root/src/com/android/browser/Controller.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | Menu shufflingJohn Reck2011-08-111-2/+0
|/ | | | | | | Bug: 5145209 Move some stuff from the overflow menu to the favicon menu Change-Id: Ied61630281f1fbb8078997d72af6333a6d527249
* Merge "Observe a flag to supress the HTTP auth dialog prompt and silently ↵Ben Murdoch2011-08-091-1/+1
|\ | | | | | | cancel auth."
| * Observe a flag to supress the HTTP auth dialog prompt and silently cancel auth.Ben Murdoch2011-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | Requires external/webkit change If8c6f22e8307e1e13b8f7ad29f79305ce24b3255 Requires frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 Bug: 5094761 Change-Id: Id901855830bbe17ede8a18293cff2bbc0aad4ba8
* | close external tabs on backMichael Kolb2011-08-051-0/+3
|/ | | | | | | | | Bug: 4466495 close externally created tabs when the back button is used and no further back history is available Change-Id: If605474d929fb759226a1e1f4125bfaab43e6653
* Clear bitmap from canvas after done drawing to it.Dianne Hackborn2011-08-021-0/+1
| | | | Change-Id: I0ebc8510021a2dd0b147ced7890d939ec47809f6
* fix url action modeMichael Kolb2011-08-021-1/+1
| | | | | | | | | Bug: 5093025 The url bar is kept visible now It's still not perfect, because the url bar gets pushed down under the user's finger Change-Id: I7142cd1f442bf7e3b53af5aac150defda68661ed
* fix action bar and menuMichael Kolb2011-08-011-0/+1
| | | | | | | | | | | | | Bug: 5077207 Bug: 5097486 cleaned up action bar items dynamically change menu items based on context bookmarks option added to nav bar menu new tab added to navbar menu find/addbookmark only on real pages removed new incognito tab from tab switcher action bar Change-Id: I973f20a13bb7d9900041f717aff012e7a2c735b8
* fix last tab close bugMichael Kolb2011-08-011-0/+1
| | | | | | | | | | | | Bug: 5098467 The controller did not update the tab list correctly and called activity finish instead. The adapter got updated and showed the last tab still Now the controller removes the last tab before calling finish, so the visible update to the tab list is correct. Change-Id: Idf29dff7d60181c63f6b3ebcbc8a1562f027b2c1
* remove unused referencesMichael Kolb2011-07-281-15/+0
| | | | | | fixing the build Change-Id: I0eb96c00a50918bc2cbf588c6ee2bce8b7082358
* Restore overhaulJohn Reck2011-07-271-10/+49
| | | | | | | | Bug: 5069192 Store thumbnails in a database restored async for each tab Fix restoring a tab not restoring its current state Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
* handle preload tab when max count is reachedMichael Kolb2011-07-271-0/+7
| | | | | | | | | | Bug: 5066968 when opening the pre-load tab, check against max count if max count is already reached, replace the least used tab with the pre-loaded tab; it's back/forward history will be lost Change-Id: I091b6b066a3e990f330be458d4aff72f62c8de38
* Remove obsolete usage of WebIconDatabaseJohn Reck2011-07-261-37/+10
| | | | | | | Bug: 5019676 Removes some other legacy code Change-Id: I766d9d6f7805b5619a9769e6d72ae2f4c363d3ed
* Switch to a background thread poolJohn Reck2011-07-251-15/+15
| | | | | | | | | Bug: 5019676 Use a shared thread pool Eliminate some unnecessary use of AsyncTask (which has extra overhead compared to using a thread pool) Change-Id: I01d6c84816a9c9705216c8fdb8ed8c990265626a
* Quick disabling of state imagesJohn Reck2011-07-221-1/+1
| | | | | | Bug: 5069192 Change-Id: I9a9e16bb9014c2734cf258526a8579907a9f6791
* Preload crash recovery stateJohn Reck2011-07-221-2/+5
| | | | | | Bug: 5069111 Change-Id: Ia19d7b3a8eb483fc4e9076fa388c82d8673894ac
* Startup optimizationJohn Reck2011-07-211-17/+17
| | | | | | | | | | | | | Bug: 5019676 Save one thread by letting CrashRecoveryHandler re-use the BrowserSettings startup thread Lazy initialize the wake lock only if we need it (avoids IPC overhead at startup) Slight ordering shuffle in BrowserActivity to maximize the usefulness of the BrowserSettings startup thread Change-Id: I1fc7412d492f93e0630008fa6030da9e0d726ebb
* ActionBar change for phonesJohn Reck2011-07-201-0/+26
| | | | | | Bug: 5022239 Change-Id: I0ccf131468cd129f4770ef85bde8d023670c33c8
* use system menuMichael Kolb2011-07-201-4/+4
| | | | | | | | | | | On phones with hardware menu key, use the framework's menu Also fixes: Bug: 5051899 remove overflow button from bar if menu key is present Nav options are not visible on tab switcher Change-Id: I5b55934a392a76f9d9ef16e3bf5c71f27b88d69a
* Move ComboView to its own activityJohn Reck2011-07-181-75/+32
| | | | | | Bugs: 5009130 3368824 Change-Id: I559bb88a1e759172ef9a7d2a8b41ea4c7e523ec6
* Closing last tab clears stateJohn Reck2011-07-171-0/+1
| | | | | | | | When closing the last tab, clear the crash recovery state. This prevents the issue where closing the last tab and re-launching browser would recover the last tab anyway Change-Id: Ia080aca5401fbc65e62a7651cb17cf9cd2e25ed8
* fix menu on tabletMichael Kolb2011-07-141-2/+4
| | | | Change-Id: I85b075d715a571faa78b50e45347d4e1eb2a712b
* add KEY_FORWARD supportMichael Kolb2011-07-141-0/+4
| | | | | | Bug: 4395060 Change-Id: I68c11b6c8e963d8353ced2aaf296e618969c86e5
* Merge "add navigation to menu again"Michael Kolb2011-07-141-43/+47
|\
| * add navigation to menu againMichael Kolb2011-07-141-43/+47
| | | | | | | | | | | | | | | | Bug: 5021497 re-enabled the navigation menu items adjust state based on current tab Change-Id: If396829f280fdb7831ade97180c38342e4f483a3
* | SearchBox preloading fixes.Mathew Inwood2011-07-141-7/+2
|/ | | | | | | | It now seems to work pretty reliably. Nice. Requires changes to SearchBox API in frameworks/base: Depends on change: If283ecdfa62aecb1fa697b1a2cd43b771b908d72 Change-Id: I5af94c8df8f24dfafb02c4052381aa547c72684c
* Snapshot title barJohn Reck2011-07-131-18/+17
| | | | | | Bug: 4982126 Change-Id: I67931d39e3a3ce535b38197ebeee1651241d1a60
* use screenshots for tab switcherMichael Kolb2011-07-121-26/+0
| | | | | | also removed the old tab switcher code Change-Id: Id84ff64e42e5e1f70f55e136efdf84270c1a4b7b
* TitleBar refactorJohn Reck2011-07-111-1/+1
| | | | Change-Id: I0a2df041529143c8e0ff17af341376a3f827be04
* Fix bing images crashJohn Reck2011-07-081-5/+8
| | | | | | | | | | Bug: 4517571 Caused by receiving onPageFinished callbacks for in page navigation links (eg, url#something). Also, only post an UPDATE_BOOKMARK_THUMBNAIL message if one is not already pending for the tab. Change-Id: Ia45ae93206507b93ad6fc841ad291b97bc947675
* catch search key in browserMichael Kolb2011-07-071-0/+6
| | | | | | | | Bug: 5003493 When in browser, the hardware search key brings up the url bar for the current tab. Change-Id: I57a666a548771c7e5949116db71d2164cb8972fd
* Merge "Move Snapshots to own DB on sdcard"John Reck2011-07-071-2/+2
|\
| * Move Snapshots to own DB on sdcardJohn Reck2011-07-071-2/+2
| | | | | | | | | | | | Bug: 4982126 Change-Id: Ib66b2880d163de4feb4d880e1d01996301bbea08
* | Add SearchBox support to preloader.Mathew Inwood2011-07-071-10/+25
|/ | | | | | Depends on change: I0119243ed0e19e237c1f51de887af5c954f96693 Change-Id: I2a2d3ff3c9d0d79f34af4c8daee828fb4efd7519
* Merge "Shortcut the TYPED url case"John Reck2011-07-061-1/+2
|\
| * Shortcut the TYPED url caseJohn Reck2011-07-011-1/+2
| | | | | | | | | | | | | | | | Bug: 4985289 Don't go through the handleIntent route if the user typed something into the omnibox if we don't need to. Change-Id: I4de8e18c1ca734a0c6bfbca43c9448417cec2057
* | Add tab to tab bar when rendering a preloaded one.Mathew Inwood2011-07-041-0/+1
|/ | | | | | Previously, no tab was present in the tab bar on tablet. Change-Id: Id9ac1e77c50acf3a695a4da028b397394b51d9ec
* Saved Pages tabJohn Reck2011-07-011-95/+36
| | | | | | | | | | Bug: 4982126 Add saved pages tab Remove "save page" menu option Add "save for offline reading" menu option Smooth animation to combo view Change-Id: Ia67552a6f6a5474a6dfcff6790a341d4d36d5a77
* Preloading support in browserMichael Kolb2011-06-301-9/+22
| | | | | | | | | | | | | | | | | Apps like the QSB can request the browser to preload a web page. - preloaded pages are not added to the browser history if they'r not seen by the user - when a request is received, a new tab is created for the preloaded page, but not added to the tab list - upon receiving the view intent for the preloaded page the tab is added to the tab list, and shown - if several pages are preloaded consecutively in the same tab, the back stack is cleared before it is displayed - preloaded pages use the main browser cookie jar, so pages that have never been viewed by the user can drop cookies Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a
* Merge "Fix IntentHandler behavior"John Reck2011-06-291-0/+2
|\
| * Fix IntentHandler behaviorJohn Reck2011-06-291-0/+2
| | | | | | | | | | | | | | Bug: 4473779 Plus, TESTS! Huzzah! Change-Id: I043e100d99d4653b7fb7885217d7fb305930a137
* | 2nd try: Shows the right URL that has a cert error.Huahui Wu2011-06-281-2/+1
| | | | | | | | | | | | | | Identical to https://android-git.corp.google.com/g/#change,117835 which was reverted since its collaborative CL broke the build. Change-Id: Ic0344bd30895700692fbf7cec84666567133e103
* | Revert "Shows the right URL that has a cert error."Huahui Wu2011-06-281-1/+2
| | | | | | | | This reverts commit db6ff8999159f386ea8a99d980ce533b717fca78.
* | Shows the right URL that has a cert error.Huahui Wu2011-06-271-2/+1
|/ | | | | | | | | | b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page This CL receives the URL which has a invalid cert from framework and shows it in related dialogues. Related CLs are: webkit: https://android-git.corp.google.com/g/#change,117817 framework: https://android-git.corp.google.com/g/#change,117828 Change-Id: I9b243b73b9cce19d94cc71608207219bfa687db2
* Prevent webview reuseJohn Reck2011-06-211-25/+30
| | | | | | | | | | | Bug: 4742007 Bug: 4770356 Also pipe all loadUrl's through Tab so that it can immediately update its internal state. This is necessary as javascript: uris do not cause onPageStarted/finished callbacks to happen, thus the url and title of the Tab do not update. Change-Id: I6d17e8627db505eaa9158339fdfc7afd2c6672a2
* Clarify restore dialog, prevent spamJohn Reck2011-06-171-2/+4
| | | | | | | | | | Bug: 4599646 State that it is the browser's windows/tabs to be restored and show the browser's app icon in the dialog. Also cut down on the frequency this prompt will appear by ignoring tabs that haven't loaded anything except the home page. Change-Id: I2c2cc03aa92da3199c47b455256145d392548930
* Zero-click sharing for Browser using NFC.Martijn Coenen2011-06-161-0/+13
| | | | | | | | This adds zero-click sharing for the Browser app; the URL of the tab currently displayed will be transferred to any NFC-capable Android phone upon touch. Change-Id: I7aabc1b2b3f7700c05223349e5c317534fcfe8f0
* Persistent frozen tabsJohn Reck2011-06-141-14/+49
| | | | | | | | On Tablet WebViews for frozen tabs are created on demand On Phone WebViews for frozen tabs are tied to the lifecycle of the SnapshotTab for nav screen reasons (for now) Change-Id: I80cb48e748c4dd4b8564426d5e05b92f3eea7a36
* Merge "Remove unused parameter"John Reck2011-06-131-4/+2
|\
| * Remove unused parameterJohn Reck2011-06-101-4/+2
| | | | | | | | | | | | | | Bug: 4554673 Parameter no longer has any meaning, could cause crashes Change-Id: Ifcc54ab93070d6153476b720c9636f04423e1717
* | Always offer to restoreJohn Reck2011-06-101-3/+3
|/ | | | | | | Always offer to restore (even across reboots) Periodically save while the user is typing in a textfield Change-Id: If226ea7d2e19c58d8205d663f9f8dd670c712436