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

Unified Diff: ui/keyboard/content/keyboard_ui_content.cc

Issue 2968943002: Remove LoadSystemKeyboard() (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/keyboard/content/keyboard_ui_content.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/content/keyboard_ui_content.cc
diff --git a/ui/keyboard/content/keyboard_ui_content.cc b/ui/keyboard/content/keyboard_ui_content.cc
index 5e6f4dd9b29a57c899406d3b158b64c06841ca3a..1527e6ca5aae0dfabde95d6353fc97726d207744 100644
--- a/ui/keyboard/content/keyboard_ui_content.cc
+++ b/ui/keyboard/content/keyboard_ui_content.cc
@@ -174,15 +174,6 @@ KeyboardUIContent::~KeyboardUIContent() {
ResetInsets();
}
-void KeyboardUIContent::LoadSystemKeyboard() {
- DCHECK(keyboard_contents_);
- if (keyboard_contents_->GetURL() != default_url_) {
- // TODO(bshe): The height of system virtual keyboard and IME virtual
- // keyboard may different. The height needs to be restored too.
- LoadContents(default_url_);
- }
-}
-
void KeyboardUIContent::UpdateInsetsForWindow(aura::Window* window) {
aura::Window* keyboard_container =
keyboard_controller()->GetContainerWindow();
« no previous file with comments | « ui/keyboard/content/keyboard_ui_content.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698