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

Side by Side Diff: ui/views/controls/button/border_images.h

Issue 11341049: views: Rename IDR_INFOBARBUTTON_<POSITION>_<STATE> to IDR_INFOBARBUTTON_<STATE>_<POSITION>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply Mike's review Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_ 5 #ifndef UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_
6 #define UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_ 6 #define UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_
7 7
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 10
11 #define BORDER_IMAGES(x) x ## _TOP_LEFT, x ## _TOP, x ## _TOP_RIGHT, \
12 x ## _LEFT, x ## _CENTER, x ## _RIGHT, \
13 x ## _BOTTOM_LEFT, x ## _BOTTOM, x ## _BOTTOM_RIGHT,
11 namespace gfx { 14 namespace gfx {
msw 2012/10/30 22:59:47 nit: add a blank line above.
tfarina 2012/10/30 23:44:19 Done.
12 class Canvas; 15 class Canvas;
13 class Rect; 16 class Rect;
14 } 17 }
15 18
16 namespace views { 19 namespace views {
17 20
18 // BorderImages stores and paints the nine images comprising a button border. 21 // BorderImages stores and paints the nine images comprising a button border.
19 // TODO(msw): Merge common "nine-box" code with BubbleBorder, ImagePainter, etc. 22 // TODO(msw): Merge common "nine-box" code with BubbleBorder, ImagePainter, etc.
20 // TODO(msw): Stitch border image assets together and use ImagePainter. 23 // TODO(msw): Stitch border image assets together and use ImagePainter.
21 struct VIEWS_EXPORT BorderImages { 24 struct VIEWS_EXPORT BorderImages {
(...skipping 16 matching lines...) Expand all
38 gfx::ImageSkia center; 41 gfx::ImageSkia center;
39 gfx::ImageSkia right; 42 gfx::ImageSkia right;
40 gfx::ImageSkia bottom_left; 43 gfx::ImageSkia bottom_left;
41 gfx::ImageSkia bottom; 44 gfx::ImageSkia bottom;
42 gfx::ImageSkia bottom_right; 45 gfx::ImageSkia bottom_right;
43 }; 46 };
44 47
45 } // namespace views 48 } // namespace views
46 49
47 #endif // UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_ 50 #endif // UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_button_border.cc ('k') | ui/views/controls/button/border_images.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698