Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Issue 10636019: Adding Application Data dialog for isolated apps (Closed)

Created:
8 years, 6 months ago by nasko
Modified:
8 years, 5 months ago
CC:
chromium-reviews, arv (Not doing code reviews), tfarina
Visibility:
Public.

Description

Adding Application Data dialog for isolated apps BUG=126093 TEST=Unit test, manual testing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146186

Patch Set 1 : #

Total comments: 10

Patch Set 2 : Fixes based on reviews by Thiago and Markus. #

Total comments: 13

Patch Set 3 : Fixes based on review by Bernhard. #

Total comments: 18

Patch Set 4 : Fixes based on review by Evan. #

Patch Set 5 : Properly done JavaScript and CSS. #

Total comments: 10

Patch Set 6 : #

Patch Set 7 : Using the model to choose the JS function to call. #

Total comments: 18

Patch Set 8 : Some fixes and refactoring #

Total comments: 7

Patch Set 9 : #

Total comments: 8

Patch Set 10 : Fixing issues raised by Bernhard. #

Patch Set 11 : Fixed merge conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1403 lines, -671 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/cookies_tree_model.h View 1 2 3 4 5 6 7 8 9 10 12 chunks +107 lines, -95 lines 0 comments Download
M chrome/browser/cookies_tree_model.cc View 1 2 3 4 5 6 7 8 9 10 21 chunks +370 lines, -312 lines 0 comments Download
M chrome/browser/cookies_tree_model_unittest.cc View 24 chunks +254 lines, -139 lines 0 comments Download
A chrome/browser/local_data_container.h View 1 2 1 chunk +139 lines, -0 lines 0 comments Download
A chrome/browser/local_data_container.cc View 1 2 3 4 5 6 7 1 chunk +183 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/content_settings.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/content_settings.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/cookies_list.js View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/cookies_view.css View 1 2 3 4 3 chunks +25 lines, -17 lines 0 comments Download
M chrome/browser/resources/options2/cookies_view.html View 1 2 3 4 5 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/browser/resources/options2/cookies_view.js View 1 2 3 4 4 chunks +20 lines, -11 lines 0 comments Download
A chrome/browser/resources/options2/cookies_view_app.html View 1 2 3 4 5 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/resources/options2/cookies_view_app.js View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/options.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/options2/options.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/options2/options_bundle.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm View 1 2 3 4 5 1 chunk +33 lines, -22 lines 0 comments Download
M chrome/browser/ui/gtk/collected_cookies_gtk.cc View 1 2 3 4 5 3 chunks +27 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/collected_cookies_views.cc View 1 2 3 4 5 2 chunks +29 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/cookies_tree_model_util.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options2/content_settings_handler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/options2/cookies_view_handler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options2/cookies_view_handler.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +85 lines, -21 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
nasko
This is a different way of adding apps cookies UI. Majority of the work comes ...
8 years, 6 months ago (2012-06-25 18:08:52 UTC) #1
tfarina
http://codereview.chromium.org/10636019/diff/10004/chrome/browser/cookies_tree_model.h File chrome/browser/cookies_tree_model.h (right): http://codereview.chromium.org/10636019/diff/10004/chrome/browser/cookies_tree_model.h#newcode651 chrome/browser/cookies_tree_model.h:651: public: nit: add protected virtual destructor.
8 years, 6 months ago (2012-06-26 03:36:26 UTC) #2
markusheintz_
The CookiesTreeModel and LocalDataContainer parts LGTM. Only one comment and a few nits. https://chromiumcodereview.appspot.com/10636019/diff/10004/chrome/browser/cookies_tree_model.cc File ...
8 years, 6 months ago (2012-06-26 16:34:31 UTC) #3
nasko
https://chromiumcodereview.appspot.com/10636019/diff/10004/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): https://chromiumcodereview.appspot.com/10636019/diff/10004/chrome/browser/cookies_tree_model.cc#newcode411 chrome/browser/cookies_tree_model.cc:411: // Node doesn't exist, create a new one and ...
8 years, 6 months ago (2012-06-26 17:43:20 UTC) #4
Bernhard Bauer
https://chromiumcodereview.appspot.com/10636019/diff/8030/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/10636019/diff/8030/chrome/app/generated_resources.grd#newcode9616 chrome/app/generated_resources.grd:9616: + Apps cookies and data Nit: "App cookies and ...
8 years, 6 months ago (2012-06-26 21:03:55 UTC) #5
nasko
It will be great if you can review this soon. I'm trying to land this, ...
8 years, 6 months ago (2012-06-26 21:11:46 UTC) #6
nasko
http://codereview.chromium.org/10636019/diff/8030/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/10636019/diff/8030/chrome/app/generated_resources.grd#newcode9616 chrome/app/generated_resources.grd:9616: + Apps cookies and data On 2012/06/26 21:03:55, Bernhard ...
8 years, 5 months ago (2012-06-26 22:33:16 UTC) #7
Evan Stade
http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css File chrome/browser/resources/options2/app_cookies_view.css (right): http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css#newcode6 chrome/browser/resources/options2/app_cookies_view.css:6: #app-cookies-view-page { do not just copy cookies_view.css wholesale. Share ...
8 years, 5 months ago (2012-06-27 04:53:00 UTC) #8
nasko
http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css File chrome/browser/resources/options2/app_cookies_view.css (right): http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css#newcode6 chrome/browser/resources/options2/app_cookies_view.css:6: #app-cookies-view-page { On 2012/06/27 04:53:00, Evan Stade wrote: > ...
8 years, 5 months ago (2012-06-27 17:17:01 UTC) #9
Evan Stade
http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css File chrome/browser/resources/options2/app_cookies_view.css (right): http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css#newcode6 chrome/browser/resources/options2/app_cookies_view.css:6: #app-cookies-view-page { On 2012/06/27 17:17:01, nasko wrote: > On ...
8 years, 5 months ago (2012-06-28 04:15:13 UTC) #10
nasko
Thanks a lot Evan for pointing me in the right direction! http://codereview.chromium.org/10636019/diff/19002/chrome/browser/resources/options2/app_cookies_view.css File chrome/browser/resources/options2/app_cookies_view.css (right): ...
8 years, 5 months ago (2012-06-29 00:46:52 UTC) #11
nasko
ping
8 years, 5 months ago (2012-07-02 14:28:10 UTC) #12
Ben Goodger (Google)
browser/ui/views lgtm
8 years, 5 months ago (2012-07-02 18:01:16 UTC) #13
Evan Stade
https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/resources/options2/cookies_list.js#newcode132 chrome/browser/resources/options2/cookies_list.js:132: if (this.origin.data.appId !== '') { if (this.origin.data.appId) https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/resources/options2/cookies_list.js#newcode133 chrome/browser/resources/options2/cookies_list.js:133: ...
8 years, 5 months ago (2012-07-02 18:15:37 UTC) #14
nasko
https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/resources/options2/cookies_list.js File chrome/browser/resources/options2/cookies_list.js (right): https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/resources/options2/cookies_list.js#newcode132 chrome/browser/resources/options2/cookies_list.js:132: if (this.origin.data.appId !== '') { On 2012/07/02 18:15:37, Evan ...
8 years, 5 months ago (2012-07-02 20:48:40 UTC) #15
Evan Stade
https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/ui/webui/options2/cookies_view_handler2.cc File chrome/browser/ui/webui/options2/cookies_view_handler2.cc (right): https://chromiumcodereview.appspot.com/10636019/diff/25003/chrome/browser/ui/webui/options2/cookies_view_handler2.cc#newcode160 chrome/browser/ui/webui/options2/cookies_view_handler2.cc:160: web_ui()->CallJavascriptFunction(GetCallback(onTreeItemRemoved), args); On 2012/07/02 20:48:40, nasko wrote: > On ...
8 years, 5 months ago (2012-07-02 21:04:02 UTC) #16
nasko
http://codereview.chromium.org/10636019/diff/25003/chrome/browser/ui/webui/options2/cookies_view_handler2.cc File chrome/browser/ui/webui/options2/cookies_view_handler2.cc (right): http://codereview.chromium.org/10636019/diff/25003/chrome/browser/ui/webui/options2/cookies_view_handler2.cc#newcode160 chrome/browser/ui/webui/options2/cookies_view_handler2.cc:160: web_ui()->CallJavascriptFunction(GetCallback(onTreeItemRemoved), args); On 2012/07/02 21:04:02, Evan Stade wrote: > ...
8 years, 5 months ago (2012-07-02 21:49:15 UTC) #17
Bernhard Bauer
http://codereview.chromium.org/10636019/diff/30011/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/10636019/diff/30011/chrome/browser/cookies_tree_model.cc#newcode39 chrome/browser/cookies_tree_model.cc:39: CookieTreeOriginNode* origin = static_cast<CookieTreeOriginNode*>( Could you also add a ...
8 years, 5 months ago (2012-07-03 17:41:12 UTC) #18
Evan Stade
should this be developed behind a flag? http://codereview.chromium.org/10636019/diff/30011/chrome/browser/resources/options2/cookies_view_app.js File chrome/browser/resources/options2/cookies_view_app.js (right): http://codereview.chromium.org/10636019/diff/30011/chrome/browser/resources/options2/cookies_view_app.js#newcode8 chrome/browser/resources/options2/cookies_view_app.js:8: // AppCookiesView ...
8 years, 5 months ago (2012-07-03 18:11:28 UTC) #19
nasko
I've refactored some of the code in the cookie tree model per discussion with Bernhard. ...
8 years, 5 months ago (2012-07-09 17:07:06 UTC) #20
Bernhard Bauer
http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc#newcode818 chrome/browser/cookies_tree_model.cc:818: notifier.StartBatchUpdate(); This is probably not necessary anymore. http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.h File ...
8 years, 5 months ago (2012-07-09 17:34:47 UTC) #21
nasko
http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc#newcode818 chrome/browser/cookies_tree_model.cc:818: notifier.StartBatchUpdate(); On 2012/07/09 17:34:47, Bernhard Bauer wrote: > This ...
8 years, 5 months ago (2012-07-09 18:17:34 UTC) #22
nasko
I am moving office at the end of the week, so I need to commit ...
8 years, 5 months ago (2012-07-10 14:15:51 UTC) #23
Bernhard Bauer
http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc File chrome/browser/cookies_tree_model.cc (right): http://codereview.chromium.org/10636019/diff/40001/chrome/browser/cookies_tree_model.cc#newcode818 chrome/browser/cookies_tree_model.cc:818: notifier.StartBatchUpdate(); On 2012/07/09 18:17:34, nasko wrote: > On 2012/07/09 ...
8 years, 5 months ago (2012-07-10 18:18:03 UTC) #24
Bernhard Bauer
After off-CL discussion, LGTM with the two nits from my previous mail addressed.
8 years, 5 months ago (2012-07-10 19:36:58 UTC) #25
nasko
http://codereview.chromium.org/10636019/diff/48002/chrome/browser/ui/webui/options2/cookies_view_handler2.cc File chrome/browser/ui/webui/options2/cookies_view_handler2.cc (right): http://codereview.chromium.org/10636019/diff/48002/chrome/browser/ui/webui/options2/cookies_view_handler2.cc#newcode180 chrome/browser/ui/webui/options2/cookies_view_handler2.cc:180: void CookiesViewHandler::EnsureCookiesTreeModelCreated() { On 2012/07/10 18:18:03, Bernhard Bauer wrote: ...
8 years, 5 months ago (2012-07-10 19:54:10 UTC) #26
Evan Stade
lgtm
8 years, 5 months ago (2012-07-11 01:50:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10636019/24008
8 years, 5 months ago (2012-07-11 17:15:32 UTC) #28
commit-bot: I haz the power
Failed to apply patch for chrome/browser/cookies_tree_model.cc: While running patch -p1 --forward --force; patching file chrome/browser/cookies_tree_model.cc ...
8 years, 5 months ago (2012-07-11 17:15:36 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/10636019/51002
8 years, 5 months ago (2012-07-11 18:49:45 UTC) #30
commit-bot: I haz the power
Change committed as 146186
8 years, 5 months ago (2012-07-11 20:14:19 UTC) #31
markusheintz_
8 years, 5 months ago (2012-07-11 21:55:19 UTC) #32
On 2012/07/11 20:14:19, I haz the power (commit-bot) wrote:
> Change committed as 146186

LGTM patchset 11. Thanks for this CL.

Powered by Google App Engine
This is Rietveld 408576698