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

Unified Diff: ash/common/system/tray/tray_details_view_unittest.cc

Issue 2780743002: Remove pre-MD code from TrayDetailsView. (Closed)
Patch Set: rebase + fix Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_details_view_unittest.cc
diff --git a/ash/common/system/tray/tray_details_view_unittest.cc b/ash/common/system/tray/tray_details_view_unittest.cc
index f860a3a456cc2c031a5568d12749d62413d9522a..cfd5317b9d2b6c473290780f50e5f45972b23e3d 100644
--- a/ash/common/system/tray/tray_details_view_unittest.cc
+++ b/ash/common/system/tray/tray_details_view_unittest.cc
@@ -5,8 +5,6 @@
#include "ash/common/system/tray/tray_details_view.h"
#include "ash/common/ash_view_ids.h"
-#include "ash/common/system/tray/hover_highlight_view.h"
-#include "ash/common/system/tray/special_popup_row.h"
#include "ash/common/system/tray/system_tray.h"
#include "ash/common/system/tray/system_tray_item.h"
#include "ash/common/system/tray/tray_constants.h"
@@ -43,8 +41,6 @@ class TestDetailsView : public TrayDetailsView {
return tray_popup_header_button_;
}
- void FocusTitleRow() { title_row()->content()->RequestFocus(); }
-
void CreateScrollerViews() { CreateScrollableList(); }
private:
@@ -99,19 +95,6 @@ class TrayDetailsViewTest : public AshTestBase {
TrayDetailsViewTest() {}
~TrayDetailsViewTest() override {}
- HoverHighlightView* CreateAndShowHoverHighlightView() {
- SystemTray* tray = GetPrimarySystemTray();
- TestItem* test_item = new TestItem;
- tray->AddTrayItem(base::WrapUnique(test_item));
- tray->ShowDefaultView(BUBBLE_CREATE_NEW);
- RunAllPendingInMessageLoop();
- tray->ShowDetailedView(test_item, 0, true, BUBBLE_USE_EXISTING);
- RunAllPendingInMessageLoop();
-
- return static_cast<HoverHighlightView*>(
- test_item->detailed_view()->title_row()->content());
- }
-
TrayPopupHeaderButton* CreateAndShowTrayPopupHeaderButton() {
SystemTray* tray = GetPrimarySystemTray();
TestItem* test_item = new TestItem;
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698