- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / gtk / status_icons / status_tray_gtk.cc
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(StatusIconType type,
16                                                     const gfx::ImageSkia& image,
17                                                     const string16& tool_tip) {
18   StatusIcon* icon = new StatusIconGtk();
19   icon->SetImage(image);
20   icon->SetToolTip(tool_tip);
21   return icon;
22 }
23
24 StatusTray* StatusTray::Create() {
25   return new StatusTrayGtk();
26 }