Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc |
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
index 032f81c4790d456268adf5a25d474a94bd2285f5..2992723b671f390f0c2c1e92a52a7f2cfc4d1327 100644 |
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc |
@@ -94,6 +94,7 @@ class EgltestWindow : public PlatformWindow, public PlatformEventDispatcher { |
void Restore() override; |
void SetCursor(PlatformCursor cursor) override; |
void MoveCursorTo(const gfx::Point& location) override; |
+ void ConfineCursorToBounds(const gfx::Rect& bounds) override; |
// PlatformEventDispatcher: |
bool CanDispatchEvent(const PlatformEvent& event) override; |
@@ -172,6 +173,9 @@ void EgltestWindow::MoveCursorTo(const gfx::Point& location) { |
event_factory_->WarpCursorTo(window_id_, location); |
} |
+void EgltestWindow::ConfineCursorToBounds(const gfx::Rect& bounds) { |
+} |
+ |
bool EgltestWindow::CanDispatchEvent(const ui::PlatformEvent& ne) { |
return true; |
} |