Commit 463aac3b authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

[VK] Remove unused IsKeyboardWindowCreated function.

Not used. Can use |GetKeyboardWindow| to do the same thing (check for
null).

TBR=yhanada@chromium.org

Bug: 845780
Change-Id: I4f104099e92032e25c1aec15c3b67850253ad3e8
Reviewed-on: https://chromium-review.googlesource.com/1124737Reviewed-by: default avatarDarren Shen <shend@chromium.org>
Reviewed-by: default avatarYuichiro Hanada <yhanada@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572472}
parent 7533c1f9
......@@ -506,10 +506,6 @@ void KeyboardController::ShowKeyboardInDisplay(
ShowKeyboardInternal(display);
}
bool KeyboardController::IsKeyboardWindowCreated() {
return ui_->HasKeyboardWindow();
}
void KeyboardController::OnWindowHierarchyChanged(
const HierarchyChangeParams& params) {
if (params.new_parent && params.target == GetKeyboardWindow())
......
......@@ -163,9 +163,6 @@ class KEYBOARD_EXPORT KeyboardController
// Returns true if keyboard is in SHOWN or SHOWING state.
bool keyboard_visible() const;
// Returns true if keyboard window has been created.
bool IsKeyboardWindowCreated();
// Returns the bounds in screen for the visible portion of the keyboard. An
// empty rectangle will get returned when the keyboard is hidden.
const gfx::Rect& visual_bounds_in_screen() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment