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

Side by Side Diff: ui/base/ime/ibus_client_impl.h

Issue 10656017: Clean UP: Remove IBusClientImpl from ui/base/ime/* (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix WinAura Created 8 years, 5 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
« no previous file with comments | « ui/base/ime/ibus_client.cc ('k') | ui/base/ime/ibus_client_impl.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 (c) 2012 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_IME_IBUS_CLIENT_IMPL_H_
6 #define UI_BASE_IME_IBUS_CLIENT_IMPL_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "ui/base/ime/ibus_client.h"
11
12 namespace ui {
13
14 namespace internal {
15
16 // An interface implemented by the object that sends and receives an event to
17 // and from ibus-daemon.
18 class UI_EXPORT IBusClientImpl : public IBusClient {
19 public:
20 IBusClientImpl();
21 virtual ~IBusClientImpl();
22
23 // ui::internal::IBusClient overrides:
24 virtual bool IsConnected() OVERRIDE;
25 virtual bool IsContextReady() OVERRIDE;
26 virtual void CreateContext(PendingCreateICRequest* request) OVERRIDE;
27 virtual void DestroyProxy() OVERRIDE;
28 virtual void SetCapabilities(
29 InlineCompositionCapability inline_type) OVERRIDE;
30 virtual void FocusIn() OVERRIDE;
31 virtual void FocusOut() OVERRIDE;
32 virtual void Reset() OVERRIDE;
33 virtual InputMethodType GetInputMethodType() OVERRIDE;
34 virtual void SetCursorLocation(const gfx::Rect& cursor_location,
35 const gfx::Rect& composition_head) OVERRIDE;
36 virtual void SendKeyEvent(
37 uint32 keyval,
38 uint32 keycode,
39 uint32 state,
40 const chromeos::IBusInputContextClient::ProcessKeyEventCallback&
41 cb) OVERRIDE;
42 private:
43 DISALLOW_COPY_AND_ASSIGN(IBusClientImpl);
44 };
45
46 } // namespace internal
47 } // namespace ui
48
49 #endif // UI_BASE_IME_IBUS_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « ui/base/ime/ibus_client.cc ('k') | ui/base/ime/ibus_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698