| Index: chromeos/dbus/ibus/ibus_constants.h
|
| diff --git a/chromeos/dbus/ibus/ibus_constants.h b/chromeos/dbus/ibus/ibus_constants.h
|
| index f3750991744286fc5fd3806f7c26baaa0607f2e4..1c4c027fed1d916a346e4c3f62b2364d97d798aa 100644
|
| --- a/chromeos/dbus/ibus/ibus_constants.h
|
| +++ b/chromeos/dbus/ibus/ibus_constants.h
|
| @@ -124,6 +124,20 @@ const char kServiceInterface[] = "org.freedesktop.IBus.Config";
|
| const char kSetValueMethod[] = "SetValue";
|
| } // namespace config
|
|
|
| +// We can't use ui/gfx/rect.h in chromeos/, so we should use ibus::Rect instead.
|
| +struct Rect {
|
| + Rect() : x(0), y(0), width(0), height(0) {}
|
| + Rect(int x, int y, int width, int height)
|
| + : x(x),
|
| + y(y),
|
| + width(width),
|
| + height(height) {}
|
| + int x;
|
| + int y;
|
| + int width;
|
| + int height;
|
| +};
|
| +
|
| } // namespace ibus
|
| } // namespace chromeos
|
|
|
|
|