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

Issue 10831009: Change the GetSelectedTab method of the NativeTabbedPaneView to return the tab contents. (Closed)

Created:
8 years, 4 months ago by markusheintz_
Modified:
8 years, 4 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fix the method GetSelectedTab of the class NativeTabbedPaneView to return the tab contents of the currently selected tab. Change the unittest to cover the NativeTabbedPaneViews and the NativeTabbedPaneWin. BUG=139159 TEST=ui\views\control\tabbed_pane\tabbe_pane_view_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149158

Patch Set 1 #

Total comments: 8

Patch Set 2 : " #

Total comments: 17

Patch Set 3 : Address comments (msw). #

Patch Set 4 : Fix nits #

Patch Set 5 : Address comments (msw): Remove WidgetDelegateImpl. #

Total comments: 4

Patch Set 6 : Address comments (msw). #

Total comments: 2

Patch Set 7 : Address comments(msw). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -58 lines) Patch
M ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc View 1 2 3 4 5 6 2 chunks +89 lines, -56 lines 0 comments Download
M ui/views/views.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
msw
One option instead of making a separate test file for NTPW, is instead making the ...
8 years, 4 months ago (2012-07-25 20:19:27 UTC) #1
markusheintz_
I'm totally with you to avaid duplicating code. Even if the duplicated code is only ...
8 years, 4 months ago (2012-07-26 18:21:35 UTC) #2
msw
You can ignore my suggestion about looping, I like how you've (temporarily) made the tests ...
8 years, 4 months ago (2012-07-26 19:29:30 UTC) #3
markusheintz_
http://codereview.chromium.org/10831009/diff/3001/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc File ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc (right): http://codereview.chromium.org/10831009/diff/3001/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc#newcode34 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc:34: class WidgetDelegateImpl : public WidgetDelegate { On 2012/07/26 19:29:30, ...
8 years, 4 months ago (2012-07-26 21:33:52 UTC) #4
msw
http://codereview.chromium.org/10831009/diff/3001/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc File ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc (right): http://codereview.chromium.org/10831009/diff/3001/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc#newcode34 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc:34: class WidgetDelegateImpl : public WidgetDelegate { Try following the ...
8 years, 4 months ago (2012-07-26 22:19:05 UTC) #5
markusheintz_
I guess this is what you had in mind. On 2012/07/26 22:19:05, msw wrote: > ...
8 years, 4 months ago (2012-07-27 17:31:11 UTC) #6
msw
Nice! That's much cleaner and to the point! Thanks for going the extra kilometer :) ...
8 years, 4 months ago (2012-07-27 18:09:18 UTC) #7
markusheintz_
Cool. I like your attention to detail : "kilometer" :-). It's no extra effort at ...
8 years, 4 months ago (2012-07-30 10:15:43 UTC) #8
msw
LGTM with a nit; thanks! https://chromiumcodereview.appspot.com/10831009/diff/2003/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc File ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc (right): https://chromiumcodereview.appspot.com/10831009/diff/2003/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc#newcode57 ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc:57: tabbed_pane_ = new TabbedPane(); ...
8 years, 4 months ago (2012-07-30 15:23:01 UTC) #9
markusheintz_
Thanks a lot for the review! Adding Ben for owners approval. https://chromiumcodereview.appspot.com/10831009/diff/2003/ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc File ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc (right): ...
8 years, 4 months ago (2012-07-30 15:46:42 UTC) #10
Ben Goodger (Google)
lgtm
8 years, 4 months ago (2012-07-30 21:05:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/markusheintz@chromium.org/10831009/3004
8 years, 4 months ago (2012-07-31 07:57:42 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 09:32:56 UTC) #13
Change committed as 149158

Powered by Google App Engine
This is Rietveld 408576698