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

Side by Side Diff: ui/base/ime/mock_input_method.h

Issue 826713002: [ChromeOS] Show autofill popup after keyboard (if any) is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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
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_IME_MOCK_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_MOCK_INPUT_METHOD_H_
6 #define UI_BASE_IME_MOCK_INPUT_METHOD_H_ 6 #define UI_BASE_IME_MOCK_INPUT_METHOD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void CancelComposition(const TextInputClient* client) override; 44 void CancelComposition(const TextInputClient* client) override;
45 void OnInputLocaleChanged() override; 45 void OnInputLocaleChanged() override;
46 std::string GetInputLocale() override; 46 std::string GetInputLocale() override;
47 bool IsActive() override; 47 bool IsActive() override;
48 TextInputType GetTextInputType() const override; 48 TextInputType GetTextInputType() const override;
49 TextInputMode GetTextInputMode() const override; 49 TextInputMode GetTextInputMode() const override;
50 int GetTextInputFlags() const override; 50 int GetTextInputFlags() const override;
51 bool CanComposeInline() const override; 51 bool CanComposeInline() const override;
52 bool IsCandidatePopupOpen() const override; 52 bool IsCandidatePopupOpen() const override;
53 void ShowImeIfNeeded() override; 53 void ShowImeIfNeeded() override;
54 void SetSupportsOnScreenKeyboard(bool supports) override;
55 bool SupportsOnScreenKeyboard() const override;
54 void AddObserver(InputMethodObserver* observer) override; 56 void AddObserver(InputMethodObserver* observer) override;
55 void RemoveObserver(InputMethodObserver* observer) override; 57 void RemoveObserver(InputMethodObserver* observer) override;
56 58
57 private: 59 private:
58 TextInputClient* text_input_client_; 60 TextInputClient* text_input_client_;
59 ObserverList<InputMethodObserver> observer_list_; 61 ObserverList<InputMethodObserver> observer_list_;
60 62
61 DISALLOW_COPY_AND_ASSIGN(MockInputMethod); 63 DISALLOW_COPY_AND_ASSIGN(MockInputMethod);
62 }; 64 };
63 65
64 } // namespace ui 66 } // namespace ui
65 67
66 #endif // UI_BASE_IME_MOCK_INPUT_METHOD_H_ 68 #endif // UI_BASE_IME_MOCK_INPUT_METHOD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698