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

Issue 10631010: Change style of ConstrainedWindowViews. (Closed)

Created:
8 years, 6 months ago by Albert Bodenhamer
Modified:
8 years, 5 months ago
CC:
chromium-reviews, oshima+watch_chromium.org
Visibility:
Public.

Description

Change style of ConstrainedWindowViews. Removes the "baby blue" bar and close button in certain dialogs. Instead, these dialogs will draw with no frame and the dialogs themselves will now be responsible for providing the ability to close. Impact on derived classes: Print preview has a cancel button already, but we'll add a close button in a separate CL. This CL adds a close button in the web intents picker. The htaccess dialog already has a cancel button and is frameless on Mac and Linux without a close button. I don't think a change is required. BUG=133363 TEST=Verify 133363 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146466

Patch Set 1 #

Patch Set 2 : Merge #

Total comments: 6

Patch Set 3 : Review feedback #

Patch Set 4 : Partial refactor in prep for flag #

Patch Set 5 : Moved changes behind a flag #

Patch Set 6 : Cleanup #

Patch Set 7 : Whitespace #

Total comments: 4

Patch Set 8 : Merge #

Patch Set 9 : Review feedback and cleanup #

Patch Set 10 : Remove extra "private" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -31 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/constrained_window_frame_simple.h View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/constrained_window_frame_simple.cc View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/constrained_window_views.cc View 1 2 3 4 5 6 7 4 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/web_intent_picker_views.cc View 1 2 3 4 5 6 7 8 9 chunks +5 lines, -23 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
Albert Bodenhamer
Hey guys, Could I get you to take a look at this when you get ...
8 years, 6 months ago (2012-06-22 18:07:08 UTC) #1
binji
+groby for web intents UI.
8 years, 6 months ago (2012-06-22 18:25:11 UTC) #2
sail
I'm away right now. Adding oshima instead. Please remember to run pngcrush.
8 years, 6 months ago (2012-06-22 18:50:24 UTC) #3
Albert Bodenhamer
On 2012/06/22 18:50:24, sail wrote: > I'm away right now. Adding oshima instead. > Please ...
8 years, 6 months ago (2012-06-22 18:52:21 UTC) #4
sail
On 2012/06/22 18:52:21, Albert Bodenhamer wrote: > On 2012/06/22 18:50:24, sail wrote: > > I'm ...
8 years, 6 months ago (2012-06-22 18:55:43 UTC) #5
oshima
resource change LGTM
8 years, 6 months ago (2012-06-22 18:59:10 UTC) #6
groby-ooo-7-16
picker lgtm, and some drive-by nits :) http://codereview.chromium.org/10631010/diff/2001/chrome/browser/ui/views/constrained_window_views.h File chrome/browser/ui/views/constrained_window_views.h (right): http://codereview.chromium.org/10631010/diff/2001/chrome/browser/ui/views/constrained_window_views.h#newcode79 chrome/browser/ui/views/constrained_window_views.h:79: // Overridden ...
8 years, 6 months ago (2012-06-22 19:01:05 UTC) #7
Ben Goodger (Google)
Screenshot please!
8 years, 6 months ago (2012-06-22 19:20:11 UTC) #8
Ben Goodger (Google)
login_prompt.cc is most certainly not deprecated... see http://www.pagetutor.com/keeper/http_authentication/index.html for a test case.
8 years, 6 months ago (2012-06-22 19:20:54 UTC) #9
Albert Bodenhamer
Screen shots attached. The empty content in the "after" is because it's a local build ...
8 years, 6 months ago (2012-06-22 22:18:12 UTC) #10
Ben Goodger (Google)
And where's the mock from the UI designers? -Ben On Fri, Jun 22, 2012 at ...
8 years, 6 months ago (2012-06-22 22:20:01 UTC) #11
Albert Bodenhamer
Updated CL description. http://codereview.chromium.org/10631010/diff/2001/chrome/browser/ui/views/constrained_window_views.h File chrome/browser/ui/views/constrained_window_views.h (right): http://codereview.chromium.org/10631010/diff/2001/chrome/browser/ui/views/constrained_window_views.h#newcode79 chrome/browser/ui/views/constrained_window_views.h:79: // Overridden from views::Widget: On 2012/06/22 ...
8 years, 6 months ago (2012-06-22 22:22:24 UTC) #12
Albert Bodenhamer
https://www.corp.google.com/~kenmoore/mocks/chromeos/Misc_2012/Dialogs/Markup2/dialogs_markup2g.html has the ultimate goal. I haven't implemented the full spec in this CL. My ...
8 years, 6 months ago (2012-06-22 22:43:46 UTC) #13
Ben Goodger (Google)
OK I discussed this with Glen and I don't think this is ready to go ...
8 years, 6 months ago (2012-06-25 23:40:15 UTC) #14
Albert Bodenhamer
Thanks Ben. I'll file a new bug on the more complete changes to ConstrainedWindow and ...
8 years, 6 months ago (2012-06-26 00:03:03 UTC) #15
Ben Goodger (Google)
Note also that behind a flag I will be more receptive to incremental changes. -Ben ...
8 years, 6 months ago (2012-06-26 00:04:50 UTC) #16
Albert Bodenhamer
Thanks. I'll rework this to put the changes behind a flag and resend it. On ...
8 years, 6 months ago (2012-06-26 00:16:51 UTC) #17
Albert Bodenhamer
Actually, on second thought, a command line switch (or even a compile time flag) makes ...
8 years, 6 months ago (2012-06-26 16:28:26 UTC) #18
Ben Goodger (Google)
Don't over-think about:flags. It's not a user screen. It's useful to have switches there especially ...
8 years, 6 months ago (2012-06-26 16:45:54 UTC) #19
Albert Bodenhamer
Hard to say how long lived it would be. I've already invested more time in ...
8 years, 6 months ago (2012-06-26 16:52:42 UTC) #20
groby-ooo-7-16
As I said, overhauling the dialog style is on my list of things. I'll take ...
8 years, 6 months ago (2012-06-26 17:11:03 UTC) #21
Albert Bodenhamer
Thanks Rachel. I'd assumed you would be the one to finish things up, but I ...
8 years, 6 months ago (2012-06-26 17:16:49 UTC) #22
groby-ooo-7-16
I'll be starting after the July 4th weekend, so having the flag in is probably ...
8 years, 6 months ago (2012-06-26 17:18:35 UTC) #23
Albert Bodenhamer
Ok. I'll try to wrap this up in the next day or two then. On ...
8 years, 6 months ago (2012-06-26 17:29:23 UTC) #24
Albert Bodenhamer
I've put back all of the code I removed and added a new flag to ...
8 years, 5 months ago (2012-06-29 23:42:45 UTC) #25
Albert Bodenhamer
Could I get folks to take a look at this in the next few days? ...
8 years, 5 months ago (2012-07-10 18:55:27 UTC) #26
groby-ooo-7-16
Still LGTM on picker side. (Although you might need to re-merge)
8 years, 5 months ago (2012-07-12 01:10:25 UTC) #27
Ben Goodger (Google)
lgtm http://codereview.chromium.org/10631010/diff/31003/chrome/browser/ui/views/constrained_window_frame_simple.h File chrome/browser/ui/views/constrained_window_frame_simple.h (right): http://codereview.chromium.org/10631010/diff/31003/chrome/browser/ui/views/constrained_window_frame_simple.h#newcode20 chrome/browser/ui/views/constrained_window_frame_simple.h:20: virtual dtor http://codereview.chromium.org/10631010/diff/31003/chrome/browser/ui/views/constrained_window_frame_simple.h#newcode21 chrome/browser/ui/views/constrained_window_frame_simple.h:21: // Overridden from views::NonClientFrameView: ...
8 years, 5 months ago (2012-07-12 15:49:04 UTC) #28
Albert Bodenhamer
http://codereview.chromium.org/10631010/diff/31003/chrome/browser/ui/views/constrained_window_frame_simple.h File chrome/browser/ui/views/constrained_window_frame_simple.h (right): http://codereview.chromium.org/10631010/diff/31003/chrome/browser/ui/views/constrained_window_frame_simple.h#newcode20 chrome/browser/ui/views/constrained_window_frame_simple.h:20: On 2012/07/12 15:49:04, Ben Goodger (Google) wrote: > virtual ...
8 years, 5 months ago (2012-07-12 21:20:44 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abodenha@chromium.org/10631010/32015
8 years, 5 months ago (2012-07-12 21:20:57 UTC) #30
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 22:25:34 UTC) #31
Change committed as 146466

Powered by Google App Engine
This is Rietveld 408576698