Skip to content

Commit

Permalink
Remove empty definitions of OnKeyboardClosed()
Browse files Browse the repository at this point in the history
Now there's a default empty body, so no need to override with another
empty body.

Bug: 
Change-Id: Ic089e628e44e41dd3c1d0891fd8640f4e9eea89d
Reviewed-on: https://chromium-review.googlesource.com/795396
Commit-Queue: Blake O'Hare <blakeo@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Reviewed-by: Yuichiro Hanada <yhanada@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521249}
  • Loading branch information
Blake O'Hare authored and Commit Bot committed Dec 4, 2017
1 parent da009d1 commit 0e98bdf
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions ash/app_list/app_list_presenter_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ void AppListPresenterDelegate::OnKeyboardWorkspaceOccludedBoundsChanging(
UpdateBounds();
}

void AppListPresenterDelegate::OnKeyboardClosed() {}

////////////////////////////////////////////////////////////////////////////////
// AppListPresenterDelegate, ShellObserver implementation:
void AppListPresenterDelegate::OnOverviewModeStarting() {
Expand Down
1 change: 0 additions & 1 deletion ash/app_list/app_list_presenter_delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ class ASH_EXPORT AppListPresenterDelegate
// KeyboardControllerObserver overrides:
void OnKeyboardWorkspaceOccludedBoundsChanging(
const gfx::Rect& new_bounds) override;
void OnKeyboardClosed() override;

// ShellObserver overrides:
void OnOverviewModeStarting() override;
Expand Down
2 changes: 0 additions & 2 deletions ash/system/virtual_keyboard/virtual_keyboard_tray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ void VirtualKeyboardTray::OnKeyboardBoundsChanging(
SetIsActive(!new_bounds.IsEmpty());
}

void VirtualKeyboardTray::OnKeyboardClosed() {}

void VirtualKeyboardTray::OnKeyboardControllerCreated() {
ObserveKeyboardController();
}
Expand Down
1 change: 0 additions & 1 deletion ash/system/virtual_keyboard/virtual_keyboard_tray.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class VirtualKeyboardTray : public TrayBackgroundView,

// keyboard::KeyboardControllerObserver:
void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
void OnKeyboardClosed() override;

// ShellObserver:
void OnKeyboardControllerCreated() override;
Expand Down
2 changes: 0 additions & 2 deletions ash/wm/system_modal_container_layout_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ void SystemModalContainerLayoutManager::
PositionDialogsAfterWorkAreaResize();
}

void SystemModalContainerLayoutManager::OnKeyboardClosed() {}

bool SystemModalContainerLayoutManager::IsPartOfActiveModalWindow(
aura::Window* window) {
return modal_window() &&
Expand Down
1 change: 0 additions & 1 deletion ash/wm/system_modal_container_layout_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class ASH_EXPORT SystemModalContainerLayoutManager
// Overridden from keyboard::KeyboardControllerObserver:
void OnKeyboardWorkspaceOccludedBoundsChanging(
const gfx::Rect& new_bounds) override;
void OnKeyboardClosed() override;

// True if the window is either contained by the top most modal window,
// or contained by its transient children.
Expand Down
2 changes: 0 additions & 2 deletions components/arc/ime/arc_ime_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ void ArcImeService::OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) {
ime_bridge_->SendOnKeyboardBoundsChanging(bounds_in_px);
}

void ArcImeService::OnKeyboardClosed() {}

////////////////////////////////////////////////////////////////////////////////
// Overridden from ui::TextInputClient:

Expand Down
1 change: 0 additions & 1 deletion components/arc/ime/arc_ime_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ class ArcImeService : public KeyedService,

// Overridden from keyboard::KeyboardControllerObserver.
void OnKeyboardBoundsChanging(const gfx::Rect& rect) override;
void OnKeyboardClosed() override;

// Overridden from ui::TextInputClient:
void SetCompositionText(const ui::CompositionText& composition) override;
Expand Down
2 changes: 0 additions & 2 deletions ui/keyboard/keyboard_test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class ControllerStateChangeWaiter
void Wait() { run_loop_.Run(); }

private:
void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override {}
void OnKeyboardClosed() override {}
void OnStateChanged(const keyboard::KeyboardControllerState state) override {
if (state == state_) {
run_loop_.QuitWhenIdle();
Expand Down

0 comments on commit 0e98bdf

Please sign in to comment.