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

Side by Side Diff: ui/views/ime/input_method_bridge.h

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 6 years, 11 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/views/ime/input_method.h ('k') | ui/views/ime/input_method_bridge.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_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 5 #ifndef UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 6 #define UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 29 matching lines...) Expand all
40 virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, 40 virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
41 NativeEventResult* result) OVERRIDE; 41 NativeEventResult* result) OVERRIDE;
42 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE; 42 virtual void DispatchKeyEvent(const ui::KeyEvent& key) OVERRIDE;
43 virtual void OnTextInputTypeChanged(View* view) OVERRIDE; 43 virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
44 virtual void OnCaretBoundsChanged(View* view) OVERRIDE; 44 virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
45 virtual void CancelComposition(View* view) OVERRIDE; 45 virtual void CancelComposition(View* view) OVERRIDE;
46 virtual void OnInputLocaleChanged() OVERRIDE; 46 virtual void OnInputLocaleChanged() OVERRIDE;
47 virtual std::string GetInputLocale() OVERRIDE; 47 virtual std::string GetInputLocale() OVERRIDE;
48 virtual bool IsActive() OVERRIDE; 48 virtual bool IsActive() OVERRIDE;
49 virtual bool IsCandidatePopupOpen() const OVERRIDE; 49 virtual bool IsCandidatePopupOpen() const OVERRIDE;
50 virtual void ShowImeIfNeeded() OVERRIDE;
50 51
51 // Overridden from TextInputClient: 52 // Overridden from TextInputClient:
52 virtual void SetCompositionText( 53 virtual void SetCompositionText(
53 const ui::CompositionText& composition) OVERRIDE; 54 const ui::CompositionText& composition) OVERRIDE;
54 virtual void ConfirmCompositionText() OVERRIDE; 55 virtual void ConfirmCompositionText() OVERRIDE;
55 virtual void ClearCompositionText() OVERRIDE; 56 virtual void ClearCompositionText() OVERRIDE;
56 virtual void InsertText(const base::string16& text) OVERRIDE; 57 virtual void InsertText(const base::string16& text) OVERRIDE;
57 virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; 58 virtual void InsertChar(base::char16 ch, int flags) OVERRIDE;
58 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; 59 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE;
59 virtual ui::TextInputType GetTextInputType() const OVERRIDE; 60 virtual ui::TextInputType GetTextInputType() const OVERRIDE;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_ptr<HostObserver> host_observer_; 98 scoped_ptr<HostObserver> host_observer_;
98 99
99 const bool shared_input_method_; 100 const bool shared_input_method_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge); 102 DISALLOW_COPY_AND_ASSIGN(InputMethodBridge);
102 }; 103 };
103 104
104 } // namespace views 105 } // namespace views
105 106
106 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_ 107 #endif // UI_VIEWS_IME_INPUT_METHOD_BRIDGE_H_
OLDNEW
« no previous file with comments | « ui/views/ime/input_method.h ('k') | ui/views/ime/input_method_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698