root/chrome/browser/ui/gtk/status_icons/status_tray_gtk.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. CreatePlatformStatusIcon
  2. Create

// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/gtk/status_icons/status_tray_gtk.h"

#include "chrome/browser/ui/gtk/status_icons/status_icon_gtk.h"

StatusTrayGtk::StatusTrayGtk() {
}

StatusTrayGtk::~StatusTrayGtk() {
}

StatusIcon* StatusTrayGtk::CreatePlatformStatusIcon(
    StatusIconType type,
    const gfx::ImageSkia& image,
    const base::string16& tool_tip) {
  StatusIcon* icon = new StatusIconGtk();
  icon->SetImage(image);
  icon->SetToolTip(tool_tip);
  return icon;
}

StatusTray* StatusTray::Create() {
  return new StatusTrayGtk();
}

/* [<][>][^][v][top][bottom][index][help] */