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

Issue 6024007: First cut at creating a refactored version of tab_contents_views. This is (Closed)

Created:
10 years ago by Alex Nicolaou
Modified:
9 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

First cut at creating a refactored version of tab_contents_views. This is motivated by a discussion with Ben and Scott in the process of fixing a z-order issue in http://codereview.chromium.org/5700003/ BUG=none TEST=manually on both touch and non-touch builds, trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71608

Patch Set 1 #

Patch Set 2 : Updated the diff using -M1% -B1% to capture the refactoring better #

Total comments: 11

Patch Set 3 : Updated for code review comments #

Patch Set 4 : Fix a merge error on the include paths #

Total comments: 2

Patch Set 5 : Put back in an if (native_container_) that was erroneously removed #

Patch Set 6 : Merged with current head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -384 lines) Patch
M chrome/browser/ui/views/tab_contents/tab_contents_container.h View 1 2 3 4 5 1 chunk +25 lines, -94 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_container.cc View 1 2 3 4 5 3 chunks +0 lines, -89 lines 0 comments Download
A + chrome/browser/ui/views/tab_contents/tab_contents_container_native.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc View 1 2 3 4 5 1 chunk +75 lines, -89 lines 0 comments Download
A + chrome/browser/ui/views/tab_contents/tab_contents_container_views.h View 1 2 3 4 5 5 chunks +5 lines, -17 lines 0 comments Download
A + chrome/browser/ui/views/tab_contents/tab_contents_container_views.cc View 1 2 3 4 5 1 chunk +54 lines, -89 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 5 chunks +14 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Alex Nicolaou
Here is the refactored CL we'd discussed. I will commit the original fix in isolation. ...
10 years ago (2010-12-21 03:46:13 UTC) #1
Alex Nicolaou
Adding Brett since I'm guessing Scott&Ben are on vacation now. Thanks Brett! alex
10 years ago (2010-12-22 22:09:46 UTC) #2
brettw
I'm a little hesitant to review this since I'm quite unfamiliar with the TabContentsContainer level, ...
10 years ago (2010-12-22 23:02:06 UTC) #3
Alex Nicolaou
Sure, no problem. I already checked in the underlying bug fix that is what I ...
10 years ago (2010-12-23 12:47:59 UTC) #4
sky
Could you use svn cp so that we can easily see what changed? -Scott
9 years, 11 months ago (2011-01-04 19:23:30 UTC) #5
Alex Nicolaou
Sure I can try to redo this, didn't mean to make incomprehensible diffs. There is ...
9 years, 11 months ago (2011-01-04 19:29:03 UTC) #6
brettw
On Tue, Jan 4, 2011 at 11:28 AM, Alex Nicolaou <anicolao@chromium.org> wrote: > Sure I ...
9 years, 11 months ago (2011-01-04 20:06:28 UTC) #7
sky
http://codereview.chromium.org/6024007/diff/9001/chrome/browser/ui/views/tab_contents/tab_contents_container.cc File chrome/browser/ui/views/tab_contents/tab_contents_container.cc (right): http://codereview.chromium.org/6024007/diff/9001/chrome/browser/ui/views/tab_contents/tab_contents_container.cc#newcode1 chrome/browser/ui/views/tab_contents/tab_contents_container.cc:1: // For reasons that are as yet unclear to ...
9 years, 11 months ago (2011-01-05 16:43:03 UTC) #8
Ben Goodger (Google)
http://codereview.chromium.org/6024007/diff/9001/chrome/browser/ui/views/tab_contents/tab_contents_container.cc File chrome/browser/ui/views/tab_contents/tab_contents_container.cc (right): http://codereview.chromium.org/6024007/diff/9001/chrome/browser/ui/views/tab_contents/tab_contents_container.cc#newcode1 chrome/browser/ui/views/tab_contents/tab_contents_container.cc:1: // For reasons that are as yet unclear to ...
9 years, 11 months ago (2011-01-05 17:14:44 UTC) #9
Alex Nicolaou
My computer is packed for the office move so it'll be a while before I ...
9 years, 11 months ago (2011-01-06 09:37:17 UTC) #10
sky
http://codereview.chromium.org/6024007/diff/9001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): http://codereview.chromium.org/6024007/diff/9001/chrome/chrome_browser.gypi#newcode3582 chrome/chrome_browser.gypi:3582: ['touchui==1', { On 2011/01/06 09:37:17, Alex Nicolaou wrote: > ...
9 years, 11 months ago (2011-01-06 16:01:16 UTC) #11
Alex Nicolaou
I think this is all fixed and ready to go, it is with the try ...
9 years, 11 months ago (2011-01-12 18:51:14 UTC) #12
sky
http://codereview.chromium.org/6024007/diff/9001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): http://codereview.chromium.org/6024007/diff/9001/chrome/chrome_browser.gypi#newcode3582 chrome/chrome_browser.gypi:3582: ['touchui==1', { On 2011/01/12 18:51:14, Alex Nicolaou wrote: > ...
9 years, 11 months ago (2011-01-12 19:06:53 UTC) #13
Alex Nicolaou
PTA(hopefully final)L thanks alex http://codereview.chromium.org/6024007/diff/21001/chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc File chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc (left): http://codereview.chromium.org/6024007/diff/21001/chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc#oldcode110 chrome/browser/ui/views/tab_contents/tab_contents_container_native.cc:110: if (native_container_) { On 2011/01/12 ...
9 years, 11 months ago (2011-01-13 15:56:29 UTC) #14
sky
LGTM
9 years, 11 months ago (2011-01-13 16:59:33 UTC) #15
loislo
Looks like we have a perf regression here http://build.chromium.org/f/chromium/perf/vista-release-single-core/morejs/report.html?history=20&rev=71650
9 years, 10 months ago (2011-02-05 11:42:22 UTC) #16
sky
loislo, please file a P1 against this. -Scott On Sat, Feb 5, 2011 at 3:42 ...
9 years, 10 months ago (2011-02-07 16:46:42 UTC) #17
Alex Nicolaou
9 years, 10 months ago (2011-02-07 19:18:36 UTC) #18
I'm back in the office tomorrow, will make it a priority to take a look

alex

On Mon, Feb 7, 2011 at 11:46 AM, Scott Violet <sky@chromium.org> wrote:

> loislo, please file a P1 against this.
>
>  -Scott
>
> On Sat, Feb 5, 2011 at 3:42 AM,  <loislo@chromium.org> wrote:
> > Looks like we have a perf regression here
> >
>
http://build.chromium.org/f/chromium/perf/vista-release-single-core/morejs/re...
> >
> >
> > http://codereview.chromium.org/6024007/
> >
>

Powered by Google App Engine
This is Rietveld 408576698