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

Side by Side Diff: ui/base/nine_image_painter_factory.h

Issue 143953007: Changes look for scrollbars on windows (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/test/webkit_support.cc ('k') | ui/base/nine_image_painter_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 UI_BASE_NINE_IMAGE_PAINTER_FACTORY_H_
6 #define UI_BASE_NINE_IMAGE_PAINTER_FACTORY_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/base/ui_base_export.h"
10
11 // A macro to define arrays of IDR constants used with CreateImageGridPainter.
12 #define IMAGE_GRID(x) { x ## _TOP_LEFT, x ## _TOP, x ## _TOP_RIGHT, \
13 x ## _LEFT, x ## _CENTER, x ## _RIGHT, \
14 x ## _BOTTOM_LEFT, x ## _BOTTOM, x ## _BOTTOM_RIGHT, }
15
16 namespace gfx {
17 class NineImagePainter;
18 }
19
20 namespace ui {
21
22 // Creates a NineImagePainter from an array of image ids. It's expected the
23 // array came from the IMAGE_GRID macro.
24 UI_BASE_EXPORT scoped_ptr<gfx::NineImagePainter> CreateNineImagePainter(
25 const int image_ids[]);
26
27 } // namespace ui
28
29 #endif // UI_BASE_NINE_IMAGE_PAINTER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/test/webkit_support.cc ('k') | ui/base/nine_image_painter_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698