Commit f9b8c5cb authored by Jacob Dufault's avatar Jacob Dufault Committed by Commit Bot

cros: Remove some unused code in tray_cast.h/cc.

Change-Id: I10dd76c7ec119781c8cf38874cb3d5a9d6193ea2
Reviewed-on: https://chromium-review.googlesource.com/c/1413383Reviewed-by: default avatarTetsui Ohkubo <tetsui@chromium.org>
Commit-Queue: Jacob Dufault <jdufault@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626782}
parent c3ea033c
......@@ -80,16 +80,6 @@ CastDetailedView::CastDetailedView(
CastDetailedView::~CastDetailedView() = default;
void CastDetailedView::SimulateViewClickedForTest(
const std::string& receiver_id) {
for (const auto& it : view_to_sink_map_) {
if (it.second->id == receiver_id) {
HandleViewClicked(it.first);
break;
}
}
}
void CastDetailedView::CreateItems() {
CreateScrollableList();
CreateTitleRow(IDS_ASH_STATUS_TRAY_CAST);
......
......@@ -25,10 +25,6 @@ class CastDetailedView : public TrayDetailedView {
const std::vector<mojom::SinkAndRoutePtr>& sinks_and_routes);
~CastDetailedView() override;
// Makes the detail view think the view associated with the given receiver_id
// was clicked. This will start a cast.
void SimulateViewClickedForTest(const std::string& receiver_id);
// Updates the list of available receivers.
void UpdateReceiverList(
const std::vector<mojom::SinkAndRoutePtr>& sinks_routes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment