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

Side by Side Diff: chrome/browser/ui/cocoa/status_icons/status_icon_mac.h

Issue 8603006: Add OVERRIDE to chrome/browser/ui/cocoa/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 15 matching lines...) Expand all
26 // Overridden from StatusIcon. 26 // Overridden from StatusIcon.
27 virtual void SetImage(const SkBitmap& image) OVERRIDE; 27 virtual void SetImage(const SkBitmap& image) OVERRIDE;
28 virtual void SetPressedImage(const SkBitmap& image) OVERRIDE; 28 virtual void SetPressedImage(const SkBitmap& image) OVERRIDE;
29 virtual void SetToolTip(const string16& tool_tip) OVERRIDE; 29 virtual void SetToolTip(const string16& tool_tip) OVERRIDE;
30 virtual void DisplayBalloon(const SkBitmap& icon, 30 virtual void DisplayBalloon(const SkBitmap& icon,
31 const string16& title, 31 const string16& title,
32 const string16& contents) OVERRIDE; 32 const string16& contents) OVERRIDE;
33 33
34 protected: 34 protected:
35 // Overridden from StatusIcon. 35 // Overridden from StatusIcon.
36 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu); 36 virtual void UpdatePlatformContextMenu(ui::MenuModel* menu) OVERRIDE;
37 37
38 private: 38 private:
39 // Getter for item_ that allows lazy initialization. 39 // Getter for item_ that allows lazy initialization.
40 NSStatusItem* item(); 40 NSStatusItem* item();
41 scoped_nsobject<NSStatusItem> item_; 41 scoped_nsobject<NSStatusItem> item_;
42 42
43 scoped_nsobject<StatusItemController> controller_; 43 scoped_nsobject<StatusItemController> controller_;
44 44
45 // Notification balloon. 45 // Notification balloon.
46 DesktopNotificationBalloon notification_; 46 DesktopNotificationBalloon notification_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(StatusIconMac); 48 DISALLOW_COPY_AND_ASSIGN(StatusIconMac);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_ 51 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_ICON_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/repost_form_warning_mac.h ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698