Commit 641ff4b0 authored by Elliot Glaysher's avatar Elliot Glaysher Committed by Commit Bot

[ash] Remove UnConfineCursor().

This code was literally unusued.

Bug: 746054
Change-Id: I65b7a748818ee074b48745c0a4f9260e8fd6c852
Reviewed-on: https://chromium-review.googlesource.com/596916Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Elliot Glaysher <erg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491430}
parent 6a64e8cb
......@@ -34,13 +34,8 @@ class ASH_EXPORT AshWindowTreeHost {
static std::unique_ptr<AshWindowTreeHost> Create(
const AshWindowTreeHostInitParams& init_params);
// Clips the cursor to the bounds of the root window until UnConfineCursor().
// We would like to be able to confine the cursor to that window. However,
// currently, we do not have such functionality in X. So we just confine
// to the root window. This is ok because this option is currently only
// being used in fullscreen mode, so root_window bounds = window bounds.
// Clips the cursor to the bounds of the root window.
virtual bool ConfineCursorToRootWindow() = 0;
virtual void UnConfineCursor() = 0;
virtual void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) = 0;
......
......@@ -48,10 +48,6 @@ bool AshWindowTreeHostPlatform::ConfineCursorToRootWindow() {
return true;
}
void AshWindowTreeHostPlatform::UnConfineCursor() {
NOTIMPLEMENTED();
}
#if defined(USE_OZONE)
void AshWindowTreeHostPlatform::SetCursorConfig(
const display::Display& display,
......
......@@ -26,7 +26,6 @@ class ASH_EXPORT AshWindowTreeHostPlatform
// AshWindowTreeHost:
bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) override;
gfx::Insets GetHostInsets() const override;
......
......@@ -36,10 +36,6 @@ bool AshWindowTreeHostMus::ConfineCursorToRootWindow() {
return true;
}
void AshWindowTreeHostMus::UnConfineCursor() {
NOTIMPLEMENTED();
}
void AshWindowTreeHostMus::SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) {
transformer_helper_->SetRootWindowTransformer(std::move(transformer));
......
......@@ -21,7 +21,6 @@ class AshWindowTreeHostMus : public AshWindowTreeHost,
// AshWindowTreeHost:
bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) override;
gfx::Insets GetHostInsets() const override;
......
......@@ -36,7 +36,6 @@ class AURA_EXPORT WindowTreeHostMac : public WindowTreeHost {
void SetCapture() override;
void ReleaseCapture() override;
bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetCursorNative(gfx::NativeCursor cursor_type) override;
void MoveCursorToNative(const gfx::Point& location) override;
void OnCursorVisibilityChangedNative(bool show) override;
......
......@@ -77,10 +77,6 @@ bool WindowTreeHostMac::ConfineCursorToRootWindow() {
return false;
}
void WindowTreeHostMac::UnConfineCursor() {
NOTIMPLEMENTED();
}
void WindowTreeHostMac::SetCursorNative(gfx::NativeCursor cursor_type) {
NOTIMPLEMENTED();
}
......
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