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

Unified Diff: ui/base/ime/ibus_client.h

Issue 11956008: Move SetCursorLocation bypass code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit tests 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/ime/ibus_client.h
diff --git a/ui/base/ime/ibus_client.h b/ui/base/ime/ibus_client.h
deleted file mode 100644
index 04a6273e6d35eddc3d55905d7a23d518f64d7585..0000000000000000000000000000000000000000
--- a/ui/base/ime/ibus_client.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_IME_IBUS_CLIENT_H_
-#define UI_BASE_IME_IBUS_CLIENT_H_
-
-#include "base/basictypes.h"
-#include "ui/base/ui_export.h"
-
-namespace gfx {
-class Rect;
-} // namespace gfx
-namespace ui {
-
-namespace internal {
-
-// A class for sending and receiveing an event to and from ibus-daemon.
-class UI_EXPORT IBusClient {
- public:
- IBusClient();
- virtual ~IBusClient();
-
- // The type of IME which is currently selected. Implementations should return
- // the former when no IME is selected or the type of the current IME is
- // unknown.
- enum InputMethodType {
- INPUT_METHOD_NORMAL = 0,
- INPUT_METHOD_XKB_LAYOUT,
- };
-
- // Returns the current input method type.
- virtual InputMethodType GetInputMethodType();
-
- // Resets the cursor location asynchronously.
- virtual void SetCursorLocation(const gfx::Rect& cursor_location,
- const gfx::Rect& composition_head);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(IBusClient);
-};
-
-} // namespace internal
-} // namespace ui
-
-#endif // UI_BASE_IME_IBUS_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698