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

Side by Side Diff: chromeos/dbus/ibus/ibus_constants.h

Issue 12017010: Introduce bypass logic for SetCursorLocation message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/ibus/ibus_input_context_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
6 #define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ 6 #define CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
7 7
8 namespace chromeos { 8 namespace chromeos {
9 9
10 namespace ibus { 10 namespace ibus {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 IBUS_MOUSE_BUTTON_RIGHT = 3U, 117 IBUS_MOUSE_BUTTON_RIGHT = 3U,
118 }; 118 };
119 119
120 namespace config { 120 namespace config {
121 const char kServiceName[] = "org.freedesktop.IBus.Config"; 121 const char kServiceName[] = "org.freedesktop.IBus.Config";
122 const char kServicePath[] = "/org/freedesktop/IBus/Config"; 122 const char kServicePath[] = "/org/freedesktop/IBus/Config";
123 const char kServiceInterface[] = "org.freedesktop.IBus.Config"; 123 const char kServiceInterface[] = "org.freedesktop.IBus.Config";
124 const char kSetValueMethod[] = "SetValue"; 124 const char kSetValueMethod[] = "SetValue";
125 } // namespace config 125 } // namespace config
126 126
127 // We can't use ui/gfx/rect.h in chromeos/, so we should use ibus::Rect instead.
128 struct Rect {
129 Rect() : x(0), y(0), width(0), height(0) {}
130 Rect(int x, int y, int width, int height)
131 : x(x),
132 y(y),
133 width(width),
134 height(height) {}
135 int x;
136 int y;
137 int width;
138 int height;
139 };
140
127 } // namespace ibus 141 } // namespace ibus
128 } // namespace chromeos 142 } // namespace chromeos
129 143
130 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_ 144 #endif // CHROMEOS_DBUS_IBUS_IBUS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.cc ('k') | chromeos/dbus/ibus/ibus_input_context_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698