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

Unified Diff: ash/system/tray/special_popup_row.h

Issue 2066583004: mash: Move most files in //ash/system/tray to //ash/common/system/tray (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trayupdatemove
Patch Set: rebase Created 4 years, 6 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/system/tray/hover_highlight_view.cc ('k') | ash/system/tray/special_popup_row.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/special_popup_row.h
diff --git a/ash/system/tray/special_popup_row.h b/ash/system/tray/special_popup_row.h
deleted file mode 100644
index 2c792d3b7e7391f4667f5dba9853f941af2e4dc1..0000000000000000000000000000000000000000
--- a/ash/system/tray/special_popup_row.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2013 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.
-
-#ifndef ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_
-#define ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_
-
-#include "ash/ash_export.h"
-#include "base/macros.h"
-#include "ui/gfx/geometry/size.h"
-#include "ui/views/view.h"
-
-namespace views {
-class Label;
-}
-
-namespace ash {
-class ThrobberView;
-class TrayItemView;
-class TrayPopupHeaderButton;
-class ViewClickListener;
-
-// The 'special' looking row in the uber-tray popups. This is usually the bottom
-// row in the popups, and has a fixed height.
-class ASH_EXPORT SpecialPopupRow : public views::View {
- public:
- SpecialPopupRow();
- ~SpecialPopupRow() override;
-
- void SetTextLabel(int string_id, ViewClickListener* listener);
- void SetContent(views::View* view);
-
- void AddView(views::View* view, bool add_separator);
- void AddButton(TrayPopupHeaderButton* button);
-
- views::View* content() const { return content_; }
-
- private:
- // Overridden from views::View.
- gfx::Size GetPreferredSize() const override;
- int GetHeightForWidth(int width) const override;
- void Layout() override;
-
- views::View* content_;
- views::View* button_container_;
-
- DISALLOW_COPY_AND_ASSIGN(SpecialPopupRow);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_
« no previous file with comments | « ash/system/tray/hover_highlight_view.cc ('k') | ash/system/tray/special_popup_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698