Chromium Code Reviews| Index: ui/gfx/gtk_util.h |
| =================================================================== |
| --- ui/gfx/gtk_util.h (revision 96870) |
| +++ ui/gfx/gtk_util.h (working copy) |
| @@ -7,11 +7,13 @@ |
| #pragma once |
| #include <glib-object.h> |
| +#include <pango/pango-layout.h> |
| #include <stdint.h> |
| #include <string> |
| #include <vector> |
| +#include "base/i18n/rtl.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "ui/base/ui_export.h" |
| @@ -66,6 +68,13 @@ |
| // assumed to be 4 * |width|. |
| uint8_t* BGRAToRGBA(const uint8_t* pixels, int width, int height, int stride); |
| +class Font; |
|
oshima
2011/08/19 18:44:07
move this before "class Rect"
xji
2011/08/20 00:53:05
Done.
|
| +void SetupPangoLayout(PangoLayout* layout, |
|
oshima
2011/08/19 18:44:07
please add comment as this is now public API
xji
2011/08/20 00:53:05
Done.
|
| + const string16& text, |
| + const gfx::Font& font, |
| + int width, |
| + base::i18n::TextDirection text_direction, |
| + int flags); |
| } // namespace gfx |
| // It's not legal C++ to have a templatized typedefs, so we wrap it in a |