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

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: add blank line 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,
14
11 namespace gfx { 15 namespace gfx {
12 class Canvas; 16 class Canvas;
13 class Rect; 17 class Rect;
14 } 18 }
15 19
16 namespace views { 20 namespace views {
17 21
18 // BorderImages stores and paints the nine images comprising a button border. 22 // BorderImages stores and paints the nine images comprising a button border.
19 // TODO(msw): Merge common "nine-box" code with BubbleBorder, ImagePainter, etc. 23 // TODO(msw): Merge common "nine-box" code with BubbleBorder, ImagePainter, etc.
20 // TODO(msw): Stitch border image assets together and use ImagePainter. 24 // TODO(msw): Stitch border image assets together and use ImagePainter.
(...skipping 17 matching lines...) Expand all
38 gfx::ImageSkia center; 42 gfx::ImageSkia center;
39 gfx::ImageSkia right; 43 gfx::ImageSkia right;
40 gfx::ImageSkia bottom_left; 44 gfx::ImageSkia bottom_left;
41 gfx::ImageSkia bottom; 45 gfx::ImageSkia bottom;
42 gfx::ImageSkia bottom_right; 46 gfx::ImageSkia bottom_right;
43 }; 47 };
44 48
45 } // namespace views 49 } // namespace views
46 50
47 #endif // UI_VIEWS_CONTROLS_BUTTON_BORDER_IMAGES_H_ 51 #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