| Index: chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h b/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
|
| deleted file mode 100644
|
| index 142ce9b941f2877686e738a6777b64b7894ad49c..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/gtk/status_icons/status_icon_gtk.h
|
| +++ /dev/null
|
| @@ -1,54 +0,0 @@
|
| -// Copyright (c) 2011 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 CHROME_BROWSER_UI_GTK_STATUS_ICONS_STATUS_ICON_GTK_H_
|
| -#define CHROME_BROWSER_UI_GTK_STATUS_ICONS_STATUS_ICON_GTK_H_
|
| -
|
| -#include <gtk/gtk.h>
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "chrome/browser/status_icons/desktop_notification_balloon.h"
|
| -#include "chrome/browser/status_icons/status_icon.h"
|
| -#include "ui/base/gtk/gtk_signal.h"
|
| -
|
| -class MenuGtk;
|
| -
|
| -class StatusIconGtk : public StatusIcon {
|
| - public:
|
| - StatusIconGtk();
|
| - virtual ~StatusIconGtk();
|
| -
|
| - // Overridden from StatusIcon:
|
| - virtual void SetImage(const gfx::ImageSkia& image) OVERRIDE;
|
| - virtual void SetPressedImage(const gfx::ImageSkia& image) OVERRIDE;
|
| - virtual void SetToolTip(const base::string16& tool_tip) OVERRIDE;
|
| - virtual void DisplayBalloon(const gfx::ImageSkia& icon,
|
| - const base::string16& title,
|
| - const base::string16& contents) OVERRIDE;
|
| -
|
| - // Exposed for testing.
|
| - CHROMEGTK_CALLBACK_0(StatusIconGtk, void, OnClick);
|
| -
|
| - protected:
|
| - // Overridden from StatusIcon.
|
| - virtual void UpdatePlatformContextMenu(
|
| - StatusIconMenuModel* menu) OVERRIDE;
|
| -
|
| - private:
|
| - // Callback invoked when user right-clicks on the status icon.
|
| - CHROMEGTK_CALLBACK_2(StatusIconGtk, void, OnPopupMenu, guint, guint);
|
| -
|
| - // The currently-displayed icon for the window.
|
| - GtkStatusIcon* icon_;
|
| -
|
| - // The context menu for this icon (if any).
|
| - scoped_ptr<MenuGtk> menu_;
|
| -
|
| - // Notification balloon.
|
| - DesktopNotificationBalloon notification_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(StatusIconGtk);
|
| -};
|
| -
|
| -#endif // CHROME_BROWSER_UI_GTK_STATUS_ICONS_STATUS_ICON_GTK_H_
|
|
|