Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Side by Side Diff: chrome/common/extensions/api/notifications/notification_style.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
7 7
8 #include "ui/gfx/geometry/size.h" 8 #include "ui/gfx/geometry/size.h"
9 9
10 // This structure describes the size in DIPs of each type of image rendered 10 // This structure describes the size in DIPs of each type of image rendered
11 // by the notification center within a notification. 11 // by the notification center within a notification.
12 struct NotificationBitmapSizes { 12 struct NotificationBitmapSizes {
13 NotificationBitmapSizes(); 13 NotificationBitmapSizes();
14 NotificationBitmapSizes(const NotificationBitmapSizes& other);
14 ~NotificationBitmapSizes(); 15 ~NotificationBitmapSizes();
15 16
16 gfx::Size image_size; 17 gfx::Size image_size;
17 gfx::Size icon_size; 18 gfx::Size icon_size;
18 gfx::Size button_icon_size; 19 gfx::Size button_icon_size;
19 gfx::Size app_icon_mask_size; 20 gfx::Size app_icon_mask_size;
20 }; 21 };
21 22
22 NotificationBitmapSizes GetNotificationBitmapSizes(); 23 NotificationBitmapSizes GetNotificationBitmapSizes();
23 24
24 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ 25 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698