OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/gtk/status_icons/status_tray_gtk.h" | |
6 | |
7 #include "chrome/browser/ui/gtk/status_icons/status_icon_gtk.h" | |
8 | |
9 StatusTrayGtk::StatusTrayGtk() { | |
10 } | |
11 | |
12 StatusTrayGtk::~StatusTrayGtk() { | |
13 } | |
14 | |
15 StatusIcon* StatusTrayGtk::CreatePlatformStatusIcon( | |
16 StatusIconType type, | |
17 const gfx::ImageSkia& image, | |
18 const base::string16& tool_tip) { | |
19 StatusIcon* icon = new StatusIconGtk(); | |
20 icon->SetImage(image); | |
21 icon->SetToolTip(tool_tip); | |
22 return icon; | |
23 } | |
24 | |
25 StatusTray* StatusTray::Create() { | |
26 return new StatusTrayGtk(); | |
27 } | |
OLD | NEW |