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

Side by Side Diff: mandoline/ui/aura/input_method_mandoline.h

Issue 1136593004: Add a simple browser UI (with url bar) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2015 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 #include "ui/base/ime/input_method_base.h"
6
7 #ifndef MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
8 #define MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
9
10 namespace mandoline {
11
12 class InputMethodMandoline : public ui::InputMethodBase {
13 public:
14 explicit InputMethodMandoline(ui::internal::InputMethodDelegate* delegate);
15 ~InputMethodMandoline() override;
16
17 private:
18 // Overridden from ui::InputMethod:
19 virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
20 NativeEventResult* result) override;
21 virtual bool DispatchKeyEvent(const ui::KeyEvent& event) override;
22 virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) override;
23 virtual void CancelComposition(const ui::TextInputClient* client) override;
24 virtual void OnInputLocaleChanged() override;
25 virtual std::string GetInputLocale() override;
26 virtual bool IsActive() override;
27 virtual bool IsCandidatePopupOpen() const override;
28
29 DISALLOW_COPY_AND_ASSIGN(InputMethodMandoline);
30 };
31
32 } // namespace mandoline
33
34 #endif // MANDOLINE_UI_AURA_INPUT_METHOD_MANDOLINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698