Home | History | Annotate | Download | only in notifications
      1 // Copyright 2014 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 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
      6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
      7 
      8 #include "ui/gfx/size.h"
      9 
     10 // This structure describes the size in DIPs of each type of image rendered
     11 // by the notification center within a notification.
     12 struct NotificationBitmapSizes {
     13   NotificationBitmapSizes();
     14   ~NotificationBitmapSizes();
     15 
     16   gfx::Size image_size;
     17   gfx::Size icon_size;
     18   gfx::Size button_icon_size;
     19   gfx::Size app_icon_mask_size;
     20 };
     21 
     22 NotificationBitmapSizes GetNotificationBitmapSizes();
     23 
     24 #endif  // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
     25