summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/ibus/mock_ibus_panel_service.h
blob: 5269a8452072eb4f645b7d492af47d1fa3a4aa33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// 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 CHROMEOS_DBUS_IBUS_MOCK_IBUS_PANEL_SERVICE_H_
#define CHROMEOS_DBUS_IBUS_MOCK_IBUS_PANEL_SERVICE_H_

#include <string>
#include "chromeos/dbus/ibus/ibus_panel_service.h"

namespace chromeos {

class MockIBusPanelService : public ibus::IBusPanelService {
 public:
  MockIBusPanelService();
  virtual ~MockIBusPanelService();

  // IBusPanelService overrides.
  virtual void Initialize(ibus::IBusPanelHandlerInterface* handler) OVERRIDE;
  virtual void CandidateClicked(uint32 index,
                                ibus::IBusMouseButton button,
                                uint32 state) OVERRIDE;
  virtual void CursorUp() OVERRIDE;
  virtual void CursorDown() OVERRIDE;
  virtual void PageUp() OVERRIDE;
  virtual void PageDown() OVERRIDE;
};

}  // namespace chromeos

#endif  // CHROMEOS_DBUS_IBUS_MOCK_IBUS_PANEL_SERVICE_H_