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

Issue 6340002: tabbed options - new clear browsing data overlay (Closed)

Created:
9 years, 11 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

tabbed options - new clear browsing data overlay I tried to make this look as nice as possible (and close to the mocks), but Alex will have to fiddle with the CSS to finalize it. I didn't implement the button changing to "clearing..." because it changes the width of the button and thus the whole overlay. The throbber + disablement should hopefully be enough of a visual cue. BUG=63843 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71703

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 10

Patch Set 3 : review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -115 lines) Patch
M chrome/browser/dom_ui/options/clear_browser_data_handler.cc View 6 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/resources/options/advanced_options.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/options/clear_browser_data.css View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/browser/resources/options/clear_browser_data.html View 1 chunk +0 lines, -53 lines 0 comments Download
A chrome/browser/resources/options/clear_browser_data_overlay.css View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/resources/options/clear_browser_data_overlay.html View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
A + chrome/browser/resources/options/clear_browser_data_overlay.js View 1 5 chunks +35 lines, -26 lines 0 comments Download
M chrome/browser/resources/options/options.html View 4 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Evan Stade
9 years, 11 months ago (2011-01-14 04:27:51 UTC) #1
Evan Stade
+smorgan
9 years, 11 months ago (2011-01-14 21:12:55 UTC) #2
stuartmorgan
LGTM http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css File chrome/browser/resources/options/clear_browser_data_overlay.css (right): http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css#newcode50 chrome/browser/resources/options/clear_browser_data_overlay.css:50: -webkit-box-orient: horizontal; I think we've been putting these ...
9 years, 11 months ago (2011-01-14 22:25:31 UTC) #3
csilv
LGTM http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.html File chrome/browser/resources/options/clear_browser_data_overlay.html (right): http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.html#newcode1 chrome/browser/resources/options/clear_browser_data_overlay.html:1: <div class="page hidden" id="clearBrowserDataOverlay"> nit: lines 1 & ...
9 years, 11 months ago (2011-01-18 18:46:32 UTC) #4
arv (Not doing code reviews)
LGTM http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css File chrome/browser/resources/options/clear_browser_data_overlay.css (right): http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css#newcode15 chrome/browser/resources/options/clear_browser_data_overlay.css:15: padding: 0px; s/0px/0/
9 years, 11 months ago (2011-01-18 20:16:37 UTC) #5
Evan Stade
http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css File chrome/browser/resources/options/clear_browser_data_overlay.css (right): http://codereview.chromium.org/6340002/diff/2001/chrome/browser/resources/options/clear_browser_data_overlay.css#newcode15 chrome/browser/resources/options/clear_browser_data_overlay.css:15: padding: 0px; On 2011/01/18 20:16:38, arv wrote: > s/0px/0/ ...
9 years, 11 months ago (2011-01-18 21:56:44 UTC) #6
James Hawkins
You could set the minimum width of the button that fits both strings, though it's ...
9 years, 11 months ago (2011-01-18 22:23:31 UTC) #7
Evan Stade
On 2011/01/18 22:23:31, James Hawkins wrote: > You could set the minimum width of the ...
9 years, 11 months ago (2011-01-18 23:04:48 UTC) #8
stuartmorgan
On 2011/01/18 23:04:48, Evan Stade wrote: > On 2011/01/18 22:23:31, James Hawkins wrote: > > ...
9 years, 11 months ago (2011-01-18 23:09:30 UTC) #9
arv (Not doing code reviews)
9 years, 11 months ago (2011-01-18 23:49:02 UTC) #10
On Tue, Jan 18, 2011 at 15:09,  <stuartmorgan@chromium.org> wrote:
> On 2011/01/18 23:04:48, Evan Stade wrote:
>>
>> On 2011/01/18 22:23:31, James Hawkins wrote:
>> > You could set the minimum width of the button that fits both strings,
>> > though
>> > it's likely there will be issues with localized strings being longer
>> > than
>
> this
>>
>> > minimum width.
>
>> yea, that's a rabbit hole I'm not interested in going down.
>
> Another possibility might be to stack both buttons in a div, and set
> whichever
> one is not showing to something like height:0 margin:0 padding:0 visibility
> hidden; I think that would still force the wider width.
>
> http://codereview.chromium.org/6340002/
>

Another option is to use an hbox and let it grow as needed?

Powered by Google App Engine
This is Rietveld 408576698