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

Unified Diff: ash/common/system/tiles/tray_tiles.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 10 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/tiles/tray_tiles.h ('k') | ash/common/system/tiles/tray_tiles_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tiles/tray_tiles.cc
diff --git a/ash/common/system/tiles/tray_tiles.cc b/ash/common/system/tiles/tray_tiles.cc
deleted file mode 100644
index 227a4c9fb710b3fe6bf265139e2f1219af630426..0000000000000000000000000000000000000000
--- a/ash/common/system/tiles/tray_tiles.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ash/common/system/tiles/tray_tiles.h"
-
-#include "ash/common/metrics/user_metrics_action.h"
-#include "ash/common/session/session_state_delegate.h"
-#include "ash/common/system/tiles/tiles_default_view.h"
-#include "ash/common/wm_shell.h"
-
-namespace ash {
-
-TrayTiles::TrayTiles(SystemTray* system_tray)
- : SystemTrayItem(system_tray, UMA_NOT_RECORDED), default_view_(nullptr) {}
-
-TrayTiles::~TrayTiles() {}
-
-views::View* TrayTiles::GetHelpButtonView() const {
- if (!default_view_)
- return nullptr;
- return default_view_->GetHelpButtonView();
-}
-
-TilesDefaultView* TrayTiles::GetDefaultViewForTesting() const {
- return default_view_;
-}
-
-views::View* TrayTiles::CreateDefaultViewForTesting(LoginStatus status) {
- return CreateDefaultView(status);
-}
-
-views::View* TrayTiles::CreateDefaultView(LoginStatus status) {
- CHECK(default_view_ == nullptr);
- default_view_ = new TilesDefaultView(this, status);
- default_view_->Init();
- return default_view_;
-}
-
-void TrayTiles::DestroyDefaultView() {
- default_view_ = nullptr;
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/system/tiles/tray_tiles.h ('k') | ash/common/system/tiles/tray_tiles_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698