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: ui/base/ime/dummy_input_method.h

Issue 16024014: Move DummyInputMethod into ui/base/ime/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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/aura/test/aura_test_helper.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_TEST_DUMMY_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_H_
6 #define UI_BASE_TEST_DUMMY_INPUT_METHOD_H_ 6 #define UI_BASE_IME_DUMMY_INPUT_METHOD_H_
7 7
8 #include "ui/base/ime/input_method.h" 8 #include "ui/base/ime/input_method.h"
9 9
10 namespace ui { 10 namespace ui {
11 11
12 class InputMethodObserver; 12 class InputMethodObserver;
13 13
14 namespace test {
15
16 class DummyInputMethod : public InputMethod { 14 class DummyInputMethod : public InputMethod {
17 public: 15 public:
18 DummyInputMethod(); 16 DummyInputMethod();
19 virtual ~DummyInputMethod(); 17 virtual ~DummyInputMethod();
20 18
21 // InputMethod overrides: 19 // InputMethod overrides:
22 virtual void SetDelegate( 20 virtual void SetDelegate(
23 internal::InputMethodDelegate* delegate) OVERRIDE; 21 internal::InputMethodDelegate* delegate) OVERRIDE;
24 virtual void Init(bool focused) OVERRIDE; 22 virtual void Init(bool focused) OVERRIDE;
25 virtual void OnFocus() OVERRIDE; 23 virtual void OnFocus() OVERRIDE;
(...skipping 10 matching lines...) Expand all
36 virtual bool IsActive() OVERRIDE; 34 virtual bool IsActive() OVERRIDE;
37 virtual TextInputType GetTextInputType() const OVERRIDE; 35 virtual TextInputType GetTextInputType() const OVERRIDE;
38 virtual bool CanComposeInline() const OVERRIDE; 36 virtual bool CanComposeInline() const OVERRIDE;
39 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE; 37 virtual void AddObserver(InputMethodObserver* observer) OVERRIDE;
40 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE; 38 virtual void RemoveObserver(InputMethodObserver* observer) OVERRIDE;
41 39
42 private: 40 private:
43 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod); 41 DISALLOW_COPY_AND_ASSIGN(DummyInputMethod);
44 }; 42 };
45 43
46 } // namespace test
47 } // namespace ui 44 } // namespace ui
48 45
49 #endif // UI_BASE_TEST_DUMMY_INPUT_METHOD_H_ 46 #endif // UI_BASE_IME_DUMMY_INPUT_METHOD_H_
50 47
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/base/ime/dummy_input_method.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698