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

Issue 12225042: Remove NativeTabbedPane[Win|Wrapper]; promote Views impl. (Closed)

Created:
7 years, 10 months ago by msw
Modified:
7 years, 10 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Remove NativeTabbedPane[Win|Wrapper]; promote Views impl. Remove NativeTabbedPaneWin and NativeTabbedPaneWrapper. ( its last use was eliminated in http://crrev.com/180924 ) Write a TabbedPane based on NativeTabbedPaneViews. Update unit tests; cleanup; etc. BUG=138059 TEST=No observable tabbed pane appearance/behavior changes (see the WebsiteSettingsPopupView and CollectedCookiesView); unit tests. R=markusheintz@chromium.org,sky@chromium.org,ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181798

Patch Set 1 #

Patch Set 2 : Update unit tests; cleanup. #

Patch Set 3 : Extend unit tests to USE_AURA. #

Patch Set 4 : Restore FocusManagerDtorTest to non-aura; fix comment. #

Total comments: 10

Patch Set 5 : Rewrite a good portion of TabbedPane. #

Total comments: 4

Patch Set 6 : Sync and rebase. #

Patch Set 7 : Address comments; cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+359 lines, -1454 lines) Patch
M chrome/browser/ui/views/collected_cookies_views.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 2 3 4 5 1 chunk +2 lines, -4 lines 0 comments Download
D ui/views/controls/tabbed_pane/native_tabbed_pane_views.h View 1 chunk +0 lines, -74 lines 0 comments Download
D ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc View 1 chunk +0 lines, -450 lines 0 comments Download
D ui/views/controls/tabbed_pane/native_tabbed_pane_win.h View 1 chunk +0 lines, -92 lines 0 comments Download
D ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc View 1 chunk +0 lines, -398 lines 0 comments Download
D ui/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h View 1 chunk +0 lines, -74 lines 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane.h View 1 2 3 4 5 6 3 chunks +21 lines, -45 lines 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane.cc View 1 2 3 4 5 6 2 chunks +290 lines, -87 lines 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc View 1 2 3 4 4 chunks +29 lines, -119 lines 0 comments Download
M ui/views/examples/tabbed_pane_example.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M ui/views/examples/tabbed_pane_example.cc View 1 2 3 4 5 chunks +3 lines, -8 lines 0 comments Download
M ui/views/focus/focus_manager_unittest.cc View 1 2 3 4 5 3 chunks +3 lines, -59 lines 0 comments Download
M ui/views/focus/focus_traversal_unittest.cc View 1 2 3 4 5 12 chunks +8 lines, -35 lines 0 comments Download
M ui/views/views.gyp View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
msw
Please take a look; thanks! Ben: ui/views/focus/*, more if interested. Markus and Scott: everything else.
7 years, 10 months ago (2013-02-06 12:49:20 UTC) #1
sky
https://codereview.chromium.org/12225042/diff/2012/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/12225042/diff/2012/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode58 ui/views/controls/tabbed_pane/tabbed_pane.cc:58: virtual gfx::Size GetPreferredSize() OVERRIDE { Be consistant, inline it ...
7 years, 10 months ago (2013-02-06 17:29:55 UTC) #2
msw
Please take another look; thanks! I was planning to keep changes minimal, but took the ...
7 years, 10 months ago (2013-02-07 00:29:36 UTC) #3
sky
https://codereview.chromium.org/12225042/diff/13001/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/12225042/diff/13001/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode288 ui/views/controls/tabbed_pane/tabbed_pane.cc:288: tab->contents()->SetVisible(true); How does the previously selected tab get hidden? ...
7 years, 10 months ago (2013-02-11 16:26:36 UTC) #4
msw
Comments addressed; please take another look; thanks! https://codereview.chromium.org/12225042/diff/13001/ui/views/controls/tabbed_pane/tabbed_pane.cc File ui/views/controls/tabbed_pane/tabbed_pane.cc (right): https://codereview.chromium.org/12225042/diff/13001/ui/views/controls/tabbed_pane/tabbed_pane.cc#newcode288 ui/views/controls/tabbed_pane/tabbed_pane.cc:288: tab->contents()->SetVisible(true); On ...
7 years, 10 months ago (2013-02-11 20:41:43 UTC) #5
sky
LGTM
7 years, 10 months ago (2013-02-11 21:56:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/12225042/6032
7 years, 10 months ago (2013-02-11 22:09:53 UTC) #7
commit-bot: I haz the power
Change committed as 181798
7 years, 10 months ago (2013-02-12 00:38:26 UTC) #8
msw
I reverted this CL for leaks in http://crrev.com/181831 http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20Heapcheck/builds/14990 http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%283%29/builds/22339 Sorry for any inconvenience; I'll ...
7 years, 10 months ago (2013-02-12 02:54:50 UTC) #9
msw
7 years, 10 months ago (2013-02-12 06:55:28 UTC) #10
Message was sent while issue was closed.
Follow up CL: https://codereview.chromium.org/12211122/
I'll TBR and land that unless there's any additional feedback/comments.

Powered by Google App Engine
This is Rietveld 408576698