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

Issue 2300353002: Revert of Make TrayDetailsView a ViewClickListener and ButtonListener (Closed)

Created:
4 years, 3 months ago by magjed_chromium
Modified:
4 years, 3 months ago
Reviewers:
tdanderson, varkha, oshima
CC:
Matt Giuca, Fady Samuel, ccameron, chromium-reviews, dtseng+watch_chromium.org, sadrul, yusukes+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, shuchen+watch_chromium.org, yuzo+watch_chromium.org, nona+watch_chromium.org, je_julie, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Make TrayDetailsView a ViewClickListener and ButtonListener (patchset #5 id:80001 of https://codereview.chromium.org/2289223002/ ) Reason for revert: This CL breaks TrayDetailsViewTest.HoverHighlightViewTouchFeedback on: Linux ChromiumOS Tests (dbg)(1) and Linux Chromium OS ASan LSan Tests (1 https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/15828 [ RUN ] TrayDetailsViewTest.HoverHighlightViewTouchFeedback Xlib: extension "RANDR" missing on display ":9". ================================================================= ==5332==ERROR: AddressSanitizer: heap-use-after-free on address 0x616000324580 at pc 0x0000007871d6 bp 0x7ffe4d468250 sp 0x7ffe4d468248 READ of size 1 at 0x616000324580 thread T0 #0 0x7871d5 in hover ash/common/system/tray/hover_highlight_view.h:89:31 #1 0x7871d5 in ash::test::TrayDetailsViewTest_HoverHighlightViewTouchFeedback_Test::TestBody() ash/common/system/tray/tray_details_view_unittest.cc:205 #2 0x24fe1bb in HandleExceptionsInMethodIfSupported<testing::Test, void> testing/gtest/src/gtest.cc:2458:12 #3 0x24fe1bb in testing::Test::Run() testing/gtest/src/gtest.cc:2474 #4 0x250024b in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2656:11 #5 0x2501006 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2774:28 #6 0x2515006 in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4647:43 #7 0x2514667 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2458:12 #8 0x2514667 in testing::UnitTest::Run() testing/gtest/src/gtest.cc:4255 #9 0x1b28b8b in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2237:46 #10 0x1b28b8b in base::TestSuite::Run() base/test/test_suite.cc:246 #11 0x1b2c5b4 in Run base/callback.h:388:12 #12 0x1b2c5b4 in base::(anonymous namespace)::LaunchUnitTestsInternal(base::Callback<int (), (base::internal::CopyMode)1> const&, int, int, bool, base::Callback<void (), (base::internal::CopyMode)1> const&) base/test/launcher/unit_test_launcher.cc:206 #13 0x1b2c26e in base::LaunchUnitTests(int, char**, base::Callback<int (), (base::internal::CopyMode)1> const&) base/test/launcher/unit_test_launcher.cc:445:10 #14 0xcab0de in main ash/test/ash_unittests.cc:14:10 #15 0x7fe83864e7ec in __libc_start_main /build/eglibc-oqps9y/eglibc-2.15/csu/libc-start.c:226 Original issue's description: > Make TrayDetailsView a ViewClickListener and ButtonListener > > Some initial changes in preparation for implementing > the material design version of the detailed views > in the Ash system menu: > > * Make TrayDetailsView extend ViewClickListener > and ButtonListener instead of having each of > TrayDetailsView's subclasses extend these. > The aim is to place common code in TrayDetailsView. > > * Rename the TrayDetailsView "footer row" to be > the "title row"; for material design this row > appears at the top of the detailed view, not > the bottom. > > * For material design (--ash-md=experimental), show > the title row at the top of the detailed view > and do not instantiate or show any non-MD > buttons in this row. Further improvements to > the appearance and functionality of the title > rows to be handled in subsequent CLs. > > BUG=642136 > TEST=ash_unittests > > Committed: https://crrev.com/bd26b635c2b1e5ad8287a4f87d87f5ce2c697267 > Cr-Commit-Position: refs/heads/master@{#416134} TBR=varkha@chromium.org,oshima@chromium.org,tdanderson@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=642136 Committed: https://crrev.com/d2e8721e43d5b6e8fbcb5de6b6f8744e10c7e205 Cr-Commit-Position: refs/heads/master@{#416222}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -343 lines) Patch
M ash/common/system/cast/tray_cast.cc View 6 chunks +27 lines, -18 lines 0 comments Download
M ash/common/system/chromeos/audio/audio_detailed_view.h View 3 chunks +5 lines, -3 lines 0 comments Download
M ash/common/system/chromeos/audio/audio_detailed_view.cc View 2 chunks +16 lines, -8 lines 0 comments Download
M ash/common/system/chromeos/bluetooth/tray_bluetooth.cc View 7 chunks +70 lines, -86 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_list_view.h View 2 chunks +4 lines, -3 lines 0 comments Download
M ash/common/system/chromeos/ime_menu/ime_list_view.cc View 1 chunk +20 lines, -20 lines 0 comments Download
M ash/common/system/chromeos/network/network_state_list_detailed_view.h View 5 chunks +11 lines, -12 lines 0 comments Download
M ash/common/system/chromeos/network/network_state_list_detailed_view.cc View 11 chunks +25 lines, -26 lines 0 comments Download
M ash/common/system/chromeos/network/tray_sms.cc View 4 chunks +10 lines, -2 lines 0 comments Download
M ash/common/system/chromeos/network/vpn_list_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/ime/tray_ime_chromeos.cc View 1 chunk +11 lines, -10 lines 0 comments Download
M ash/common/system/tray/tray_details_view.h View 2 chunks +21 lines, -47 lines 0 comments Download
M ash/common/system/tray/tray_details_view.cc View 5 chunks +21 lines, -46 lines 0 comments Download
M ash/common/system/tray/tray_details_view_unittest.cc View 9 chunks +24 lines, -42 lines 0 comments Download
M ash/common/system/tray/view_click_listener.h View 1 chunk +1 line, -3 lines 0 comments Download
M ash/common/system/tray_accessibility.h View 3 chunks +7 lines, -5 lines 0 comments Download
M ash/common/system/tray_accessibility.cc View 3 chunks +12 lines, -10 lines 0 comments Download
M ui/chromeos/network/network_list_delegate.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (4 generated)
magjed_chromium
Created Revert of Make TrayDetailsView a ViewClickListener and ButtonListener
4 years, 3 months ago (2016-09-02 09:29:39 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2300353002/1
4 years, 3 months ago (2016-09-02 09:32:21 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-02 09:35:13 UTC) #6
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 09:37:24 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d2e8721e43d5b6e8fbcb5de6b6f8744e10c7e205
Cr-Commit-Position: refs/heads/master@{#416222}

Powered by Google App Engine
This is Rietveld 408576698