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

Issue 597061: Make the setItem CONTENT_SETTING_ASK dialog more useful by showing the actual... (Closed)

Created:
10 years, 10 months ago by jorlow
Modified:
9 years, 6 months ago
CC:
chromium-reviews, darin+cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Make the setItem CONTENT_SETTING_ASK dialog more useful by showing the actual key and value. Unfortunately, we're going to have to abuse cookie strings for 4.1 Once this goes in, I'll add new strings for the actual fields. This also cleans up the code some. TEST=Instead of size/modified information you'll see "name" and "content" in the dialog that comes up when asking whether to allow local storage. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=38952

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -219 lines) Patch
M chrome/browser/cookie_modal_dialog.h View 4 chunks +25 lines, -9 lines 2 comments Download
M chrome/browser/cookie_modal_dialog.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/browser/cookie_modal_dialog_views.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_area.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_area.cc View 4 chunks +4 lines, -36 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_permission_request.h View 3 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/in_process_webkit/dom_storage_permission_request.cc View 2 chunks +7 lines, -15 lines 2 comments Download
M chrome/browser/message_box_handler.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/message_box_handler.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/views/cookie_prompt_view.h View 2 chunks +5 lines, -25 lines 0 comments Download
M chrome/browser/views/cookie_prompt_view.cc View 8 chunks +30 lines, -32 lines 0 comments Download
A + chrome/browser/views/local_storage_set_item_info_view.h View 3 chunks +18 lines, -17 lines 0 comments Download
A + chrome/browser/views/local_storage_set_item_info_view.cc View 4 chunks +57 lines, -60 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jorlow
10 years, 10 months ago (2010-02-12 17:25:49 UTC) #1
darin (slow to review)
LGTM http://codereview.chromium.org/597061/diff/1/13 File chrome/browser/cookie_modal_dialog.h (right): http://codereview.chromium.org/597061/diff/1/13#newcode22 chrome/browser/cookie_modal_dialog.h:22: DIALOG_TYPE_COOKIE=0, _COOKIE = 0 <-- whitespace http://codereview.chromium.org/597061/diff/1/11 File ...
10 years, 10 months ago (2010-02-12 20:55:52 UTC) #2
jorlow
10 years, 10 months ago (2010-02-12 21:22:42 UTC) #3
http://codereview.chromium.org/597061/diff/1/13
File chrome/browser/cookie_modal_dialog.h (right):

http://codereview.chromium.org/597061/diff/1/13#newcode22
chrome/browser/cookie_modal_dialog.h:22: DIALOG_TYPE_COOKIE=0,
On 2010/02/12 20:55:52, darin wrote:
> _COOKIE = 0  <-- whitespace

Doing...

http://codereview.chromium.org/597061/diff/1/11
File chrome/browser/in_process_webkit/dom_storage_permission_request.cc (right):

http://codereview.chromium.org/597061/diff/1/11#newcode63
chrome/browser/in_process_webkit/dom_storage_permission_request.cc:63:
dom_storage_permission_request->url().host(),
On 2010/02/12 20:55:52, darin wrote:
> in http://codereview.chromium.org/597031, i actually change the cookie prompt
> code to store a GURL instead of a hostname for cookies.  (this is needed in
> order to compute the effective path of a cookie properly.)  anyways, we could
> also just plumb dom_storage_permission_request->url() here.  or, perhaps it is
> easier for me to do that once you have committed this cl.

I'll switch it over to a GURL.

Powered by Google App Engine
This is Rietveld 408576698