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

Unified Diff: ui/keyboard/keyboard_controller.h

Issue 1684823004: Refactors keyboard related code so mash can use a keyboard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to trunk Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/keyboard/keyboard.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.h
diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h
index ecd991d265f388321bae59d51b36cf177abdf67c..09d0a2177bf0fe28c5d0b5f8771e285838751369 100644
--- a/ui/keyboard/keyboard_controller.h
+++ b/ui/keyboard/keyboard_controller.h
@@ -65,9 +65,7 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
aura::Window* GetContainerWindow();
// Whether the container window for the keyboard has been initialized.
- bool keyboard_container_initialized() const {
- return container_.get() != NULL;
- }
+ bool keyboard_container_initialized() const { return container_; }
// Reloads the content of the keyboard. No-op if the keyboard content is not
// loaded yet.
« no previous file with comments | « ui/keyboard/keyboard.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698