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

Issue 11416251: Desktop aura: Continue threading context through views. (Closed)

Created:
8 years ago by Elliot Glaysher
Modified:
8 years ago
CC:
chromium-reviews, alicet1, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, msw+watch_chromium.org, darin-cc_chromium.org, James Su, jochen+watch_chromium.org
Visibility:
Public.

Description

Desktop aura: Continue threading context through views. These threads a .context parameter through most tests in views_unittests to widget creation (the handful that remain are Hard and will be addressed in a separate patch; I'm trying to keep these more manageable.) BUG=161882 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171196

Patch Set 1 #

Patch Set 2 : Prune the global stacking client changes #

Patch Set 3 : Also partially revert the gyp change. #

Patch Set 4 : Revert some more for patch minimization purposes. #

Patch Set 5 : Revert even more for patch minimization purposes. #

Patch Set 6 : One last line removed. #

Total comments: 2

Patch Set 7 : Explanatory comment + DCHECK_NE #

Patch Set 8 : Comment out DCHECK_NE with a TODO to uncomment it since it currently fails (but won't later.) #

Patch Set 9 : NativeWidgetWinTest will never need aura and isn't a ViewsTest. #

Patch Set 10 : Fix erroneously removed line from NWWin tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -132 lines) Patch
M ui/views/accessible_pane_view_unittest.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M ui/views/bubble/bubble_delegate_unittest.cc View 6 chunks +22 lines, -8 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 3 chunks +12 lines, -3 lines 0 comments Download
M ui/views/controls/combobox/native_combobox_views_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/native/native_view_host_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/controls/scrollbar/scrollbar_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/focus/focus_manager_test.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/views/focus/focus_manager_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M ui/views/test/views_test_base.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/test/views_test_base.cc View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M ui/views/view_unittest.cc View 1 2 3 4 5 6 20 chunks +34 lines, -33 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura_unittest.cc View 1 2 3 4 5 6 5 chunks +5 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_unittest.cc View 4 chunks +24 lines, -7 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 3 4 5 6 2 chunks +11 lines, -3 lines 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 3 4 5 6 4 chunks +61 lines, -56 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Elliot Glaysher
I will run trybots later.
8 years ago (2012-11-29 22:05:54 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc File ui/views/test/views_test_base.cc (right): https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc#newcode64 ui/views/test/views_test_base.cc:64: Widget::InitParams::Type type) { rather than adding this method, can ...
8 years ago (2012-11-29 22:16:20 UTC) #2
Elliot Glaysher
https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc File ui/views/test/views_test_base.cc (right): https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc#newcode64 ui/views/test/views_test_base.cc:64: Widget::InitParams::Type type) { On 2012/11/29 22:16:20, Ben Goodger (Google) ...
8 years ago (2012-11-29 22:46:28 UTC) #3
Elliot Glaysher
On 2012/11/29 22:46:28, Elliot Glaysher wrote: > https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc > File ui/views/test/views_test_base.cc (right): > > https://codereview.chromium.org/11416251/diff/10025/ui/views/test/views_test_base.cc#newcode64 ...
8 years ago (2012-11-30 23:48:19 UTC) #4
Elliot Glaysher
On Fri, Nov 30, 2012 at 4:11 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > On Fri, ...
8 years ago (2012-12-04 08:21:36 UTC) #5
Elliot Glaysher
On Mon, Dec 3, 2012 at 4:01 PM, Ben Goodger (Google) <ben@chromium.org>wrote: > So, upon ...
8 years ago (2012-12-04 18:42:33 UTC) #6
Elliot Glaysher
And the DCHECK_NE did fail. Commented it out with a TODO. Will uncomment it after ...
8 years ago (2012-12-04 19:04:48 UTC) #7
Ben Goodger (Google)
lgtm
8 years ago (2012-12-04 22:23:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/11416251/59
8 years ago (2012-12-04 22:43:41 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years ago (2012-12-05 01:21:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/11416251/59
8 years ago (2012-12-05 07:22:24 UTC) #11
commit-bot: I haz the power
8 years ago (2012-12-05 09:00:48 UTC) #12
Message was sent while issue was closed.
Change committed as 171196

Powered by Google App Engine
This is Rietveld 408576698