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

Issue 26751003: Factor out [min|max]_size into ShellWindow::SizeConstraints (Closed)

Created:
7 years, 2 months ago by jackhou1
Modified:
7 years, 2 months ago
Reviewers:
tapted, mr.c.radloff
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Factor out [min|max]_size into ShellWindow::SizeConstraints This encapsulates the logic for managing window size constraints. BUG=305477 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228654

Patch Set 1 #

Patch Set 2 : Restrict this change to apps/ #

Total comments: 15

Patch Set 3 : Address comments #

Total comments: 14

Patch Set 4 : Address comments #

Total comments: 4

Patch Set 5 : Address comments, fix bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -62 lines) Patch
M apps/shell_window.h View 1 2 3 4 2 chunks +36 lines, -0 lines 0 comments Download
M apps/shell_window.cc View 1 2 3 4 4 chunks +99 lines, -62 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jackhou1
7 years, 2 months ago (2013-10-14 02:30:29 UTC) #1
tapted
https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc File apps/shell_window.cc (right): https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc#newcode78 apps/shell_window.cc:78: result.set_width(std::max(result.width(), minimum_size().width())); I think this and the next line ...
7 years, 2 months ago (2013-10-14 03:17:09 UTC) #2
jackhou1
https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc File apps/shell_window.cc (right): https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc#newcode78 apps/shell_window.cc:78: result.set_width(std::max(result.width(), minimum_size().width())); On 2013/10/14 03:17:10, tapted wrote: > I ...
7 years, 2 months ago (2013-10-14 04:13:06 UTC) #3
tapted
looking really good - I like it! These are mostly nits, but some questions too. ...
7 years, 2 months ago (2013-10-14 05:13:43 UTC) #4
jackhou1
https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc File apps/shell_window.cc (right): https://codereview.chromium.org/26751003/diff/3001/apps/shell_window.cc#newcode78 apps/shell_window.cc:78: result.set_width(std::max(result.width(), minimum_size().width())); On 2013/10/14 05:13:43, tapted wrote: > On ...
7 years, 2 months ago (2013-10-14 23:45:32 UTC) #5
tapted
+chrome-apps-syd-reviews [missed it until now!] nice - lgtm. Perhaps worth updating the CL description, and ...
7 years, 2 months ago (2013-10-15 03:33:04 UTC) #6
jackhou1
https://codereview.chromium.org/26751003/diff/14001/apps/shell_window.cc File apps/shell_window.cc (right): https://codereview.chromium.org/26751003/diff/14001/apps/shell_window.cc#newcode72 apps/shell_window.cc:72: if (GetMaximumSize().width() != kUnboundedSize) On 2013/10/15 03:33:04, tapted wrote: ...
7 years, 2 months ago (2013-10-15 05:07:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/26751003/24001
7 years, 2 months ago (2013-10-15 05:32:37 UTC) #8
commit-bot: I haz the power
Change committed as 228654
7 years, 2 months ago (2013-10-15 08:28:08 UTC) #9
mr.c.radloff
lgtm
7 years, 2 months ago (2013-10-18 01:53:52 UTC) #10
mr.c.radloff
7 years, 2 months ago (2013-10-18 13:36:52 UTC) #11
On Oct 17, 2013 6:55 PM, "Charles Radloff" <mr.c.radloff@gmail.com> wrote:
>
> 120312<3
>
> On Oct 17, 2013 2:12 PM, "Charles Radloff" <mr.c.radloff@gmail.com> wrote:
> >
> > ---------- Forwarded message ----------
> > From: "Mail Delivery Subsystem" <mailer-daemon@googlemail.com>
> > Date: Oct 15, 2013 11:37 PM
> > Subject: Delivery Status Notification (Failure)
> > To: <mr.c.radloff@gmail.com>
> > Cc:
> >
> > Delivery to the following recipient failed permanently:
> >
> >      email@locatebigdiscounts.com
> >
> > Technical details of permanent failure:
> > Google tried to deliver your message, but it was rejected by the server
for the recipient domain locatebigdiscounts.com by mxa.mailgun.org.
[198.61.253.48].
> >
> > The error that the other server returned was:
> > 550 5.1.0 Recipient rejected: <email@locatebigdiscounts.com>
> >
> > ----- Original message -----
> >
> > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> >         d=gmail.com; s=20120113;
> >
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
> >          :content-type;
> >         bh=/8yVZdyJyTatWUzmFFCLOARgmTXR54vhFJG4rxkLHOw=;
> >
b=OgDpIyAlM2RI3AwOrg02542/vXwMtMCE1v+aexbiXE7bIvBF9gUL/IFYcfhSozBLO1
> >
 0FTsiH6ekMWVnjCDCrDaxd+T0HbPvE+PuW1XbWFTyh5uJgyXSoJDN4WgVcl6GdYaLlkY
> >
 ni0f65n3JS3CzeFtdcwVOejld1OD6tL/jv05O4laZ1Xy7/Q6PNJG8hLb79Dn5CzCfnL7
> >
 hXtrwodQIIdw1K4Zbxf9Gh/tX8f/mUEsxiEhOdg76k8CXMDopJQzTG5TKSsktpHPaS60
> >
 D4DZDIhDXNF6+HNfN2iKPsNgbMPXJ19N7hayfUOOxy0KTVvNwvZhLRLXGdUIjnG+eCtl
> >          YLgA==
> > MIME-Version: 1.0
> > X-Received: by 10.180.104.34 with SMTP id
gb2mr22586838wib.3.1381894675247;
> >  Tue, 15 Oct 2013 20:37:55 -0700 (PDT)
> > Received: by 10.227.27.132 with HTTP; Tue, 15 Oct 2013 20:37:55 -0700
(PDT)
> > Received: by 10.227.27.132 with HTTP; Tue, 15 Oct 2013 20:37:55 -0700
(PDT)
> > In-Reply-To: <20131015201603.23951.99082@locatebigdiscounts.com>
> > References: <20131015201603.23951.99082@locatebigdiscounts.com>
> > Date: Tue, 15 Oct 2013 23:37:55 -0400
> > Message-ID: <CABFJ9ruebtbiZPde5t7+1FqMtnGLgzTZh+Ty7-p+bW+
ykPxsaw@mail.gmail.com>
> > Subject:
=?UTF-8?Q?Re=3A_=E2=9D=A4_Jeep_Wrangler_=E2=9D=A4_Clearance_Sale_Today=21?=
> > From: Charles Radloff <mr.c.radloff@gmail.com>
> > To: LocateBigDiscounts <email@locatebigdiscounts.com>
> > Content-Type: multipart/alternative;
boundary=f46d044271b03c38a204e8d36d65
> >
> > On Oct 15, 2013 11:17 PM, "LocateBigDiscounts" <
email@locatebigdiscounts.com>
> > wrote:
> >
> > > **
> > > 2013 Jeep Wrangler inventory selloff now happening near Marine City
 123
> > > *FindACar*<http://locatebigdiscounts.com/pb/rd/
cfac/offers/email?make=Jeep&model=Wrangler&zipcode=48039&
edmid=357197695&id=625&arrival_id=311457548&lead_id=1233001081&intent=used&
service=162&template=CFAC_category_icons_images.html>
> > >    New Cars
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&id=625&arrival_id=311457548&
lead_id=1233001081&intent=new&service=162&searchquery=
newcars&imgnewcarsclick=yes&template=CFAC_category_icons_images.html>
> > >    Used Cars
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&id=625&arrival_id=311457548&
lead_id=1233001081&intent=used&service=162&searchquery=
usedcars&imgusedcarsclick=yes&template=CFAC_category_icons_images.html>
> > >    [image: JeepWrangler Deals]<http://locatebigdiscounts.com/pb/rd/
cfac/offers/email?make=Jeep&model=Wrangler&zipcode=48039&
edmid=357197695&id=625&arrival_id=311457548&lead_id=1233001081&intent=used&
service=162&imgclick=yes&template=CFAC_category_icons_images.html>
> > >    Best Deals By Vehicle Type:        [image: SUV] SUV
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&id=625&intent=used&service=
162&template=LBD_category_icons_images_dynamic.html&
imgclickgmc=yes&searchquery=SUVs>
> > >    [image: Luxury] Luxury
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&id=625&intent=used&service=
162&template=LBD_category_icons_images_dynamic.html&
imgclickgmc=yes&searchquery=Luxury%20Vehicles>
> > >    [image: Hybrid] Hybrid
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&id=625&intent=used&service=
162&template=LBD_category_icons_images_dynamic.html&
imgclickgmc=yes&searchquery=Hybrids>
> > >        [image: Diesel] Diesel
> > > < http://locatebigdiscounts.com/pb/rd/cfac/offers/email?
zipcode=48039&edmid=357197695&i
> > https://m.facebook.com/home.php?refsrc=https%3A%2F%2Fm.
facebook.com%2Ftorsten.rambaum&refid=8&_rdr
> > ----- Message truncated -----
> >

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698