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

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

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: Disable autofill popup waiting for keyboard when keyboard has been disabled. Created 5 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
« no previous file with comments | « ui/keyboard/webui/vk_mojo_handler.cc ('k') | no next file » | 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 #include "ui/views/ime/input_method_bridge.h" 5 #include "ui/views/ime/input_method_bridge.h"
6 6
7 #include "ui/base/ime/input_method.h" 7 #include "ui/base/ime/input_method.h"
8 #include "ui/base/ime/input_method_observer.h" 8 #include "ui/base/ime/input_method_observer.h"
9 #include "ui/events/event.h" 9 #include "ui/events/event.h"
10 #include "ui/gfx/geometry/rect.h" 10 #include "ui/gfx/geometry/rect.h"
(...skipping 12 matching lines...) Expand all
23 explicit HostObserver(InputMethodBridge* bridge); 23 explicit HostObserver(InputMethodBridge* bridge);
24 ~HostObserver() override; 24 ~HostObserver() override;
25 25
26 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {} 26 void OnTextInputTypeChanged(const ui::TextInputClient* client) override {}
27 void OnFocus() override {} 27 void OnFocus() override {}
28 void OnBlur() override {} 28 void OnBlur() override {}
29 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {} 29 void OnCaretBoundsChanged(const ui::TextInputClient* client) override {}
30 void OnTextInputStateChanged(const ui::TextInputClient* client) override {} 30 void OnTextInputStateChanged(const ui::TextInputClient* client) override {}
31 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; 31 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override;
32 void OnShowImeIfNeeded() override {} 32 void OnShowImeIfNeeded() override {}
33 void OnKeyboardBoundsUnchanged() override {}
33 34
34 private: 35 private:
35 InputMethodBridge* bridge_; 36 InputMethodBridge* bridge_;
36 37
37 DISALLOW_COPY_AND_ASSIGN(HostObserver); 38 DISALLOW_COPY_AND_ASSIGN(HostObserver);
38 }; 39 };
39 40
40 InputMethodBridge::HostObserver::HostObserver(InputMethodBridge* bridge) 41 InputMethodBridge::HostObserver::HostObserver(InputMethodBridge* bridge)
41 : bridge_(bridge) { 42 : bridge_(bridge) {
42 bridge_->host_->AddObserver(this); 43 bridge_->host_->AddObserver(this);
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 OnTextInputTypeChanged(focused); 341 OnTextInputTypeChanged(focused);
341 OnCaretBoundsChanged(focused); 342 OnCaretBoundsChanged(focused);
342 } 343 }
343 344
344 ui::InputMethod* InputMethodBridge::GetHostInputMethod() const { 345 ui::InputMethod* InputMethodBridge::GetHostInputMethod() const {
345 return host_; 346 return host_;
346 } 347 }
347 348
348 349
349 } // namespace views 350 } // namespace views
OLDNEW
« no previous file with comments | « ui/keyboard/webui/vk_mojo_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698