diff options
Diffstat (limited to 'chrome/browser/cocoa/status_icons/status_icon_mac.h')
-rw-r--r-- | chrome/browser/cocoa/status_icons/status_icon_mac.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/chrome/browser/cocoa/status_icons/status_icon_mac.h b/chrome/browser/cocoa/status_icons/status_icon_mac.h deleted file mode 100644 index 78a2283..0000000 --- a/chrome/browser/cocoa/status_icons/status_icon_mac.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2010 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_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ -#define CHROME_BROWSER_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ -#pragma once - -#import <Cocoa/Cocoa.h> - -#include "base/scoped_nsobject.h" -#include "base/string16.h" -#include "chrome/browser/status_icons/status_icon.h" - -class SkBitmap; -@class NSStatusItem; -@class StatusItemController; - -class StatusIconMac : public StatusIcon { - public: - StatusIconMac(); - virtual ~StatusIconMac(); - - // Overridden from StatusIcon - virtual void SetImage(const SkBitmap& image); - virtual void SetPressedImage(const SkBitmap& image); - virtual void SetToolTip(const string16& tool_tip); - - protected: - // Overridden from StatusIcon. - virtual void UpdatePlatformContextMenu(menus::MenuModel* menu); - - private: - // Getter for item_ that allows lazy initialization. - NSStatusItem* item(); - scoped_nsobject<NSStatusItem> item_; - - scoped_nsobject<StatusItemController> controller_; - - DISALLOW_COPY_AND_ASSIGN(StatusIconMac); -}; - - -#endif // CHROME_BROWSER_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ |