Commit 77be3ff5 authored by Daniel Nicoara's avatar Daniel Nicoara Committed by Commit Bot

cast: Fix EXO build errors

https://chromium-review.googlesource.com/c/chromium/src/+/1660794
https://chromium-review.googlesource.com/c/chromium/src/+/1641133

The above 2 changes updated the WMHelper interface without updating the
Cast implementation.

Bug: None
Test: Compiled a Cast build
Change-Id: If2c5b6092a301f24197114255ba72b593ab1f5b1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678779Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
Reviewed-by: default avatarAlex Sakhartchouk <alexst@chromium.org>
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672607}
parent 3acba91a
......@@ -169,7 +169,7 @@ void WMHelperCastShell::RemovePostTargetHandler(ui::EventHandler* handler) {
cast_window_manager_aura_->GetRootWindow()->RemovePostTargetHandler(handler);
}
bool WMHelperCastShell::IsTabletModeWindowManagerEnabled() const {
bool WMHelperCastShell::InTabletMode() const {
NOTIMPLEMENTED();
return false;
}
......@@ -179,6 +179,15 @@ double WMHelperCastShell::GetDefaultDeviceScaleFactor() const {
return 1.0;
}
void WMHelperCastShell::SetImeBlocked(aura::Window* window, bool ime_blocked) {
NOTIMPLEMENTED();
}
bool WMHelperCastShell::IsImeBlocked(aura::Window* window) const {
NOTIMPLEMENTED();
return false;
}
WMHelper::LifetimeManager* WMHelperCastShell::GetLifetimeManager() {
return &lifetime_manager_;
}
......
......@@ -89,8 +89,10 @@ class WMHelperCastShell : public WMHelper, public VSyncTimingManager::Delegate {
void RemovePreTargetHandler(ui::EventHandler* handler) override;
void AddPostTargetHandler(ui::EventHandler* handler) override;
void RemovePostTargetHandler(ui::EventHandler* handler) override;
bool IsTabletModeWindowManagerEnabled() const override;
bool InTabletMode() const override;
double GetDefaultDeviceScaleFactor() const override;
void SetImeBlocked(aura::Window* window, bool ime_blocked) override;
bool IsImeBlocked(aura::Window* window) const override;
LifetimeManager* GetLifetimeManager() override;
aura::client::CaptureClient* GetCaptureClient() override;
......
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