Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: ui/views/mus/window_manager_connection.h

Issue 2463753003: Changes ScreenMusDelegate::GetWindowAtScreenPoint to return aura::Window (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/mus/test_utils.h ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_manager_connection.h
diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h
index e8aef937c6eb352645cb2bd8b8078b7ff810b772..01d853e8991264b652df08c316d6408b87e3a5f6 100644
--- a/ui/views/mus/window_manager_connection.h
+++ b/ui/views/mus/window_manager_connection.h
@@ -94,6 +94,9 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
const service_manager::Identity& identity,
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
+ // Exposed for tests.
+ ui::Window* GetUiWindowAtScreenPoint(const gfx::Point& point);
+
// ui::WindowTreeClientDelegate:
void OnEmbed(ui::Window* root) override;
void OnLostConnection(ui::WindowTreeClient* client) override;
@@ -104,7 +107,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
// ScreenMusDelegate:
void OnWindowManagerFrameValuesChanged() override;
gfx::Point GetCursorScreenPoint() override;
- ui::Window* GetWindowAtScreenPoint(const gfx::Point& point) override;
+ aura::Window* GetWindowAtScreenPoint(const gfx::Point& point) override;
// ui:OSExchangeDataProviderFactory::Factory:
std::unique_ptr<OSExchangeData::Provider> BuildProvider() override;
« no previous file with comments | « ui/views/mus/test_utils.h ('k') | ui/views/mus/window_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698