summaryrefslogtreecommitdiff
path: root/chromium/ui/base/ime/dummy_input_method_delegate.cc
blob: e7bb7dae2bde7e58a8e49e926e39cb0dd80456ae (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
// Copyright 2013 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.

#include "ui/base/ime/dummy_input_method_delegate.h"

namespace ui {
namespace internal {

DummyInputMethodDelegate::DummyInputMethodDelegate() {}
DummyInputMethodDelegate::~DummyInputMethodDelegate() {}

bool DummyInputMethodDelegate::DispatchKeyEventPostIME(
    const base::NativeEvent& native_key_event) {
  return true;
}

bool DummyInputMethodDelegate::DispatchFabricatedKeyEventPostIME(
    ui::EventType type,
    ui::KeyboardCode key_code,
    int flags) {
  return true;
}

}  // namespace internal
}  // namespace ui