diff options
author | Andras Becsi <andras.becsi@digia.com> | 2013-12-11 21:33:03 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2013-12-13 12:34:07 +0100 |
commit | f2a33ff9cbc6d19943f1c7fbddd1f23d23975577 (patch) | |
tree | 0586a32aa390ade8557dfd6b4897f43a07449578 /chromium/ash/system/tray/special_popup_row.h | |
parent | 5362912cdb5eea702b68ebe23702468d17c3017a (diff) | |
download | qtwebengine-chromium-f2a33ff9cbc6d19943f1c7fbddd1f23d23975577.tar.gz |
Update Chromium to branch 1650 (31.0.1650.63)
Change-Id: I57d8c832eaec1eb2364e0a8e7352a6dd354db99f
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'chromium/ash/system/tray/special_popup_row.h')
-rw-r--r-- | chromium/ash/system/tray/special_popup_row.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/chromium/ash/system/tray/special_popup_row.h b/chromium/ash/system/tray/special_popup_row.h deleted file mode 100644 index ee068e4eb8a..00000000000 --- a/chromium/ash/system/tray/special_popup_row.h +++ /dev/null @@ -1,54 +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 "ui/gfx/size.h" -#include "ui/views/view.h" - -namespace views { -class Label; -} - -namespace ash { -namespace internal { - -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 SpecialPopupRow : public views::View { - public: - SpecialPopupRow(); - virtual ~SpecialPopupRow(); - - void SetTextLabel(int string_id, ViewClickListener* listener); - void SetContent(views::View* view); - - void AddButton(TrayPopupHeaderButton* button); - void AddThrobber(ThrobberView* throbber); - - views::View* content() const { return content_; } - - private: - // Overridden from views::View. - virtual gfx::Size GetPreferredSize() OVERRIDE; - virtual int GetHeightForWidth(int width) OVERRIDE; - virtual void Layout() OVERRIDE; - - views::View* content_; - views::View* button_container_; - views::Label* text_label_; - - DISALLOW_COPY_AND_ASSIGN(SpecialPopupRow); -}; - -} // namespace internal -} // namespace ash - -#endif // ASH_SYSTEM_TRAY_SPECIAL_POPUP_ROW_H_ |