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

Unified Diff: ash/common/system/tray/system_tray_item.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/tray/system_tray_item.h ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_item.cc
diff --git a/ash/common/system/tray/system_tray_item.cc b/ash/common/system/tray/system_tray_item.cc
deleted file mode 100644
index ff1b7ee89b63c49d333ac27ee4b2b27ca24033e1..0000000000000000000000000000000000000000
--- a/ash/common/system/tray/system_tray_item.cc
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2012 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/tray/system_tray_item.h"
-
-#include "ash/common/system/tray/system_tray.h"
-#include "ash/common/system/tray/system_tray_delegate.h"
-#include "ash/common/system/tray/tray_constants.h"
-#include "base/timer/timer.h"
-#include "ui/views/view.h"
-
-namespace ash {
-
-SystemTrayItem::SystemTrayItem(SystemTray* system_tray, UmaType uma_type)
- : system_tray_(system_tray), uma_type_(uma_type), restore_focus_(false) {}
-
-SystemTrayItem::~SystemTrayItem() {}
-
-views::View* SystemTrayItem::CreateTrayView(LoginStatus status) {
- return nullptr;
-}
-
-views::View* SystemTrayItem::CreateDefaultView(LoginStatus status) {
- return nullptr;
-}
-
-views::View* SystemTrayItem::CreateDetailedView(LoginStatus status) {
- return nullptr;
-}
-
-void SystemTrayItem::DestroyTrayView() {}
-
-void SystemTrayItem::DestroyDefaultView() {}
-
-void SystemTrayItem::DestroyDetailedView() {}
-
-void SystemTrayItem::TransitionDetailedView() {
- transition_delay_timer_.Start(
- FROM_HERE,
- base::TimeDelta::FromMilliseconds(kTrayDetailedViewTransitionDelayMs),
- base::Bind(&SystemTray::ShowDetailedView, base::Unretained(system_tray()),
- this, 0, true, BUBBLE_USE_EXISTING));
-}
-
-void SystemTrayItem::UpdateAfterLoginStatusChange(LoginStatus status) {}
-
-void SystemTrayItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
-}
-
-void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
- system_tray()->ShowDetailedView(this, for_seconds, activate,
- BUBBLE_CREATE_NEW);
-}
-
-void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
- system_tray()->SetDetailedViewCloseDelay(for_seconds);
-}
-
-void SystemTrayItem::HideDetailedView(bool animate) {
- system_tray()->HideDetailedView(this, animate);
-}
-
-bool SystemTrayItem::ShouldShowShelf() const {
- return true;
-}
-
-} // namespace ash
« no previous file with comments | « ash/common/system/tray/system_tray_item.h ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698