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.
5 #include "chrome/browser/ui/gtk/status_icons/status_tray_gtk.h"
7 #include "chrome/browser/ui/gtk/status_icons/status_icon_gtk.h"
9 StatusTrayGtk::StatusTrayGtk() {
12 StatusTrayGtk::~StatusTrayGtk() {
15 StatusIcon
* StatusTrayGtk::CreatePlatformStatusIcon(
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
);
25 StatusTray
* StatusTray::Create() {
26 return new StatusTrayGtk();