blob: 62ede834a91f9d7607989dbac0fc6321dd824cdc [file] [log] [blame]
// Copyright (c) 2012 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 <stddef.h>
#include "build/build_config.h"
#include "ui/gfx/geometry/size.h"
#include "ui/message_center/message_center_export.h"
namespace message_center {
// Given the size of an image, returns the size of the properly scaled-up image
// which fits into |container_size|.
MESSAGE_CENTER_EXPORT gfx::Size GetImageSizeForContainerSize(
const gfx::Size& container_size,
const gfx::Size& image_size);
} // namespace message_center