summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookies_tree_model.cc
Commit message (Collapse)AuthorAgeFilesLines
* Hook up the content settings UI to the appcache.michaeln@chromium.org2010-03-051-9/+20
| | | | | | | | | | | | | * Populate the tree view with appcaches * Delete selected appcaches from the tree view * Delete the date range indicated in the browsing data remover TEST=manual BUG=34634 Review URL: http://codereview.chromium.org/660423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40796 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Reduce jank in the cookie manager by batching updates from the model.rsesek@chromium.org2010-03-021-1/+43
| | | | | | | | | | | | | | | | | Subclass TreeModelObserver specifically for the CookiesTreeModel so that we can send TreeModelBatchBegin() and BatchEnd() notifications before and after local storage, databases, and appcache entries load, respectively. This also rewrites CookiesTreeModelObserverBridge::FindCocoaNode() to do breadth-first search, rather than a pre-order traversal as we most often search for origin nodes, which are at depth 1. BUG=35134 TEST=Get a profile with 1K local storage entries. Chromium-->Preferences-->Under the Hood-->Content Settings-->Cookies should not be slow/janky. Review URL: http://codereview.chromium.org/660251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40444 0039d316-1c4b-4281-b951-d872f2087c98
* Clearly identify extension and file:// resources in the cookie tree view.michaeln@chromium.org2010-02-271-22/+59
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/660236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40205 0039d316-1c4b-4281-b951-d872f2087c98
* Teach the cookie tree view and model about appcaches. Not hooked up to real ↵michaeln@chromium.org2010-02-261-98/+106
| | | | | | | | | | | | | data yet, but the view and model pieces are in place for windows and gtk (not yet done for the mac). Also adds a 'name' attribute to database details pane, cleans up the layout of the detail panes on windows. BUG=25977 TEST=manual Review URL: http://codereview.chromium.org/650110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40181 0039d316-1c4b-4281-b951-d872f2087c98
* Add an icon for local storage and web databses in the cookie manager.rsesek@chromium.org2010-02-251-2/+8
| | | | | | | | | | BUG=33196 TEST=Go to http://webkit.org/misc/DatabaseExample.html. Open cookie manager and find entry for webkit.org. See database icon. TEST=Go to http://demos.hacks.mozilla.org/openweb/todo/ and repeat above steps. Same icon. Review URL: http://codereview.chromium.org/661064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39990 0039d316-1c4b-4281-b951-d872f2087c98
* Pulled out Callback code into base/callback.h. This is the first step ↵akalin@chromium.org2010-02-191-0/+1
| | | | | | | | | | | | | towards redoing the Callback interfaces. Added and removed includes as needed. BUG=35223 TEST=trybots Review URL: http://codereview.chromium.org/646061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39419 0039d316-1c4b-4281-b951-d872f2087c98
* Actually delete databases in CookiesTreeModel.jochen@chromium.org2010-02-181-6/+13
| | | | | | | | | BUG=34633 TEST=delete a database while it's opened in the renderer Review URL: http://codereview.chromium.org/600104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39346 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for HTML5 databases to the cookie tree model.jochen@chromium.org2010-02-101-39/+118
| | | | | | | | | BUG=34633 TEST=create local databases, open cookie tree view from prefs. Review URL: http://codereview.chromium.org/596009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38635 0039d316-1c4b-4281-b951-d872f2087c98
* Adds local storage nodes to cookie tree model and cookies view.bulach@chromium.org2010-01-251-6/+118
| | | | | | | | BUG=none TEST=The show cookie dialog box should have a new node "local storage" when appropriate. When selected, it should display details of local storage (name, size on disk, last modified) in the details frame. Review URL: http://codereview.chromium.org/523139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37001 0039d316-1c4b-4281-b951-d872f2087c98
* Revert last 3 patches. Sorry guys. :-(jorlow@chromium.org2010-01-201-113/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36652 0039d316-1c4b-4281-b951-d872f2087c98
* Adds local storage nodes to cookie tree model and cookies view. jorlow@chromium.org2010-01-201-4/+113
| | | | | | | | | | | | BUG=none TEST=The show cookie dialog box should have a new node "local storage" when appropriate. When selected, it should display details of local storage (name, size on disk, last modified) in the details frame. Landing for Marcus Original CL: http://codereview.chromium.org/523139/show Review URL: http://codereview.chromium.org/546081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36644 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Adds back the ability to filter cookies by origin in the cookies ↵mattm@chromium.org2009-11-301-1/+0
| | | | | | | | | | | options view BUG=27657 TEST=unittest passes, manually testing typing "google" in the search field pulls up origins containing "google" in their name Review URL: http://codereview.chromium.org/437075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33359 0039d316-1c4b-4281-b951-d872f2087c98
* Adds back the ability to filter cookies by origin in the cookies options view.ian@chromium.org2009-11-251-7/+22
| | | | | | | | BUG=27657 TEST=Typing "google" in the search field pulls up origins containing "google" in their name Review URL: http://codereview.chromium.org/435024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33069 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing GCC 4.4 build fix (landing a patch for hbono)ian@chromium.org2009-11-231-1/+1
| | | | | | | | | | | | | | This patch was written by hbono, landing for him as he can't land this until tomorrow, and it's a patch to fix a build. Reviewed at http://codereview.chromium.org/414025 BUG=none TEST=GCC 4.4 compiles Review URL: http://codereview.chromium.org/436003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32829 0039d316-1c4b-4281-b951-d872f2087c98
* Sort the origins in the cookies_tree_model by effective TLD, as opposedian@chromium.org2009-11-191-1/+49
| | | | | | | | | | to a lexicographical sort on the entire origin as a string. BUG=28192 TEST=cookies_tree_model_unittest.cc Review URL: http://codereview.chromium.org/404039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32522 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Convert Cookies options page from a list into a tree.mattm@chromium.org2009-11-111-1/+1
| | | | | | | | | | | Add gtk_tree::TreeAdapter class. BUG=26713 TEST=compare behavior to windows impl Review URL: http://codereview.chromium.org/371079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31732 0039d316-1c4b-4281-b951-d872f2087c98
* Converting the Cookies options page from a TableView to a TreeViewian@chromium.org2009-11-061-0/+231
so that we can add in Database, LocalStorage, and Appcache next to the cookies for an origin. BUG=26713 TEST=cookies_tree_model_unittest.cc Review URL: http://codereview.chromium.org/365005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31207 0039d316-1c4b-4281-b951-d872f2087c98