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 { ...@@ -34,13 +34,8 @@ class ASH_EXPORT AshWindowTreeHost {
static std::unique_ptr<AshWindowTreeHost> Create( static std::unique_ptr<AshWindowTreeHost> Create(
const AshWindowTreeHostInitParams& init_params); const AshWindowTreeHostInitParams& init_params);
// Clips the cursor to the bounds of the root window until UnConfineCursor(). // Clips the cursor to the bounds of the root window.
// 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.
virtual bool ConfineCursorToRootWindow() = 0; virtual bool ConfineCursorToRootWindow() = 0;
virtual void UnConfineCursor() = 0;
virtual void SetRootWindowTransformer( virtual void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) = 0; std::unique_ptr<RootWindowTransformer> transformer) = 0;
......
...@@ -48,10 +48,6 @@ bool AshWindowTreeHostPlatform::ConfineCursorToRootWindow() { ...@@ -48,10 +48,6 @@ bool AshWindowTreeHostPlatform::ConfineCursorToRootWindow() {
return true; return true;
} }
void AshWindowTreeHostPlatform::UnConfineCursor() {
NOTIMPLEMENTED();
}
#if defined(USE_OZONE) #if defined(USE_OZONE)
void AshWindowTreeHostPlatform::SetCursorConfig( void AshWindowTreeHostPlatform::SetCursorConfig(
const display::Display& display, const display::Display& display,
......
...@@ -26,7 +26,6 @@ class ASH_EXPORT AshWindowTreeHostPlatform ...@@ -26,7 +26,6 @@ class ASH_EXPORT AshWindowTreeHostPlatform
// AshWindowTreeHost: // AshWindowTreeHost:
bool ConfineCursorToRootWindow() override; bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetRootWindowTransformer( void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) override; std::unique_ptr<RootWindowTransformer> transformer) override;
gfx::Insets GetHostInsets() const override; gfx::Insets GetHostInsets() const override;
......
...@@ -36,10 +36,6 @@ bool AshWindowTreeHostMus::ConfineCursorToRootWindow() { ...@@ -36,10 +36,6 @@ bool AshWindowTreeHostMus::ConfineCursorToRootWindow() {
return true; return true;
} }
void AshWindowTreeHostMus::UnConfineCursor() {
NOTIMPLEMENTED();
}
void AshWindowTreeHostMus::SetRootWindowTransformer( void AshWindowTreeHostMus::SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) { std::unique_ptr<RootWindowTransformer> transformer) {
transformer_helper_->SetRootWindowTransformer(std::move(transformer)); transformer_helper_->SetRootWindowTransformer(std::move(transformer));
......
...@@ -21,7 +21,6 @@ class AshWindowTreeHostMus : public AshWindowTreeHost, ...@@ -21,7 +21,6 @@ class AshWindowTreeHostMus : public AshWindowTreeHost,
// AshWindowTreeHost: // AshWindowTreeHost:
bool ConfineCursorToRootWindow() override; bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetRootWindowTransformer( void SetRootWindowTransformer(
std::unique_ptr<RootWindowTransformer> transformer) override; std::unique_ptr<RootWindowTransformer> transformer) override;
gfx::Insets GetHostInsets() const override; gfx::Insets GetHostInsets() const override;
......
...@@ -36,7 +36,6 @@ class AURA_EXPORT WindowTreeHostMac : public WindowTreeHost { ...@@ -36,7 +36,6 @@ class AURA_EXPORT WindowTreeHostMac : public WindowTreeHost {
void SetCapture() override; void SetCapture() override;
void ReleaseCapture() override; void ReleaseCapture() override;
bool ConfineCursorToRootWindow() override; bool ConfineCursorToRootWindow() override;
void UnConfineCursor() override;
void SetCursorNative(gfx::NativeCursor cursor_type) override; void SetCursorNative(gfx::NativeCursor cursor_type) override;
void MoveCursorToNative(const gfx::Point& location) override; void MoveCursorToNative(const gfx::Point& location) override;
void OnCursorVisibilityChangedNative(bool show) override; void OnCursorVisibilityChangedNative(bool show) override;
......
...@@ -77,10 +77,6 @@ bool WindowTreeHostMac::ConfineCursorToRootWindow() { ...@@ -77,10 +77,6 @@ bool WindowTreeHostMac::ConfineCursorToRootWindow() {
return false; return false;
} }
void WindowTreeHostMac::UnConfineCursor() {
NOTIMPLEMENTED();
}
void WindowTreeHostMac::SetCursorNative(gfx::NativeCursor cursor_type) { void WindowTreeHostMac::SetCursorNative(gfx::NativeCursor cursor_type) {
NOTIMPLEMENTED(); 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