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

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

Issue 8351004: Add an extra argument to the DisplayBalloon method to support custom notification icons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing argument order as suggested. Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TRAY_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h"
9 #include "chrome/browser/status_icons/status_tray.h" 10 #include "chrome/browser/status_icons/status_tray.h"
10 11
11 class StatusTrayMac : public StatusTray { 12 class StatusTrayMac : public StatusTray {
12 public: 13 public:
13 StatusTrayMac(); 14 StatusTrayMac();
14 15
15 protected: 16 protected:
16 // Factory method for creating a status icon. 17 // Factory method for creating a status icon.
17 virtual StatusIcon* CreatePlatformStatusIcon(); 18 virtual StatusIcon* CreatePlatformStatusIcon() OVERRIDE;
18 19
19 private: 20 private:
20 DISALLOW_COPY_AND_ASSIGN(StatusTrayMac); 21 DISALLOW_COPY_AND_ASSIGN(StatusTrayMac);
21 }; 22 };
22 23
23 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ 24 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_
24 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698