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

Issue 8340014: Minimize resize calls (Closed)

Created:
9 years, 1 month ago by DaveMoore
Modified:
9 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, dhollowa
Visibility:
Public.

Description

Minimize resize calls BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107751

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Cleanup #

Total comments: 4

Patch Set 4 : Resolve review issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M chrome/browser/ui/views/tab_contents/tab_contents_container.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/aura/window.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
DaveMoore
These changes reduce the number of calls for each resize in the shell from 11 ...
9 years, 1 month ago (2011-10-27 00:44:04 UTC) #1
sky
http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc File views/controls/native/native_view_host.cc (right): http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc#newcode158 views/controls/native/native_view_host.cc:158: return false; This comment seems to apply to aura. ...
9 years, 1 month ago (2011-10-27 14:40:47 UTC) #2
DaveMoore
http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc File views/controls/native/native_view_host.cc (right): http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc#newcode158 views/controls/native/native_view_host.cc:158: return false; Do we need this when there's only ...
9 years, 1 month ago (2011-10-27 21:25:13 UTC) #3
sky
http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc File views/controls/native/native_view_host.cc (right): http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc#newcode158 views/controls/native/native_view_host.cc:158: return false; On 2011/10/27 21:25:13, DaveMoore wrote: > Do ...
9 years, 1 month ago (2011-10-27 22:12:20 UTC) #4
DaveMoore
It gets short circuited there, but layout() is called which needs to do unnecessary calculations..what ...
9 years, 1 month ago (2011-10-27 22:15:00 UTC) #5
sky
On Thu, Oct 27, 2011 at 3:15 PM, <davemoore@chromium.org> wrote: > It gets short circuited ...
9 years, 1 month ago (2011-10-27 22:28:00 UTC) #6
DaveMoore
http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc File views/controls/native/native_view_host.cc (right): http://codereview.chromium.org/8340014/diff/7/views/controls/native/native_view_host.cc#newcode158 views/controls/native/native_view_host.cc:158: return false; On 2011/10/27 22:12:20, sky wrote: > On ...
9 years, 1 month ago (2011-10-28 16:46:48 UTC) #7
sky
9 years, 1 month ago (2011-10-28 17:48:24 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698