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

Side by Side Diff: ui/ozone/ime/fake_input_method_context_ozone.h

Issue 284323002: ozone: Remove InputMethodContextFactoryOzone and FakeInputMethodContextOzone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/ime/DEPS ('k') | ui/ozone/ime/fake_input_method_context_ozone.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 2013 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_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
6 #define UI_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
7
8 #include "ui/base/ime/linux/linux_input_method_context.h"
9
10 namespace ui {
11
12 // A fake implementation of LinuxInputMethodContext, which does nothing.
13 class FakeInputMethodContextOzone :
14 public LinuxInputMethodContext {
15 public:
16 FakeInputMethodContextOzone();
17 virtual ~FakeInputMethodContextOzone();
18
19 // Overriden from ui::LinuxInputMethodContext
20 virtual bool DispatchKeyEvent(const ui::KeyEvent& key_event) OVERRIDE;
21 virtual void Reset() OVERRIDE;
22 virtual void OnTextInputTypeChanged(ui::TextInputType text_input_type)
23 OVERRIDE;
24 virtual void OnCaretBoundsChanged(const gfx::Rect& caret_bounds) OVERRIDE;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(FakeInputMethodContextOzone);
28 };
29
30 } // namespace ui
31
32 #endif // UI_OZONE_IME_FAKE_INPUT_METHOD_CONTEXT_OZONE_H_
OLDNEW
« no previous file with comments | « ui/ozone/ime/DEPS ('k') | ui/ozone/ime/fake_input_method_context_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698