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

Unified Diff: chrome/browser/ui/gtk/status_icons/status_icon_gtk.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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
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_

Powered by Google App Engine
This is Rietveld 408576698