// 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/notifications/notification_test_util.h"

MockNotificationDelegate::MockNotificationDelegate(const std::string& id)
    : id_(id) {}

MockNotificationDelegate::~MockNotificationDelegate() {}

std::string MockNotificationDelegate::id() const {
  return id_;
}

void MockBalloonView::Close(bool by_user) {
  balloon_->OnClose(by_user);
}

gfx::Size MockBalloonView::GetSize() const {
  return balloon_->content_size();
}

BalloonHost* MockBalloonView::GetHost() const {
  return NULL;
}