- 24 Sep, 2009 1 commit
-
-
Ben Murdoch authored
In the case of a page load error, save a second screenshot in onProgressChanged(100) to ensure that we save the substituted error page rather than the previous page that loaded. Also save the thumbnail for the page if the user creates the bookmark through the add bookmark menu or clicking the add bookmark icon on the bookmarks page. Change-Id: Ib2b7692a45290f9ce372968e05cde8f6903e4572
-
- 23 Sep, 2009 1 commit
-
-
Andrei Popescu authored
Fixes http://b/issue?id=2134421
-
- 27 Jul, 2009 1 commit
-
-
Christopher Tate authored
The agent now does backup/restore of the bookmarks table. Whether to back up is determined by flattening the bookmark table, CRCing the flattened representation, and comparing the CRC with the previous backup pass's version. If they differ (or if the file size differs), the table is deemed to have changed and we send the flattened file off to the server as a single key. On restore, the bookmark records are read individually from the flattened representation, the existing bookmarks table is queried for a matching URL, and if none exists the bookmark is inserted into the table. Bookmarks.addBookmark() now takes a boolean argument "retainIcon." When false, the implementation will not call into the web icon database. This is necessary during restore because the web icon database is only available from the Browser app's main thread, but restore happens without the app proper being involved. The other call points for addBookmark() have been updated to pass 'true,' i.e. preserving the current behavior.
-
- 15 Jun, 2009 1 commit
-
-
Leon Scroggins authored
Driven by a desire to put bookmarking functionality into the title bar, I have consolidated the code for adding and removing bookmarks.
-