Index: ash/host/ash_window_tree_host.h |
diff --git a/ash/host/ash_window_tree_host.h b/ash/host/ash_window_tree_host.h |
index b9c617fac9762c788b9e70d253fbedbc092008a4..51d2f86123ab2b81312b8a8fc31141fefdfb9f38 100644 |
--- a/ash/host/ash_window_tree_host.h |
+++ b/ash/host/ash_window_tree_host.h |
@@ -18,6 +18,10 @@ class Insets; |
class Rect; |
} |
+namespace ui { |
+class LocatedEvent; |
+} |
+ |
namespace ash { |
struct AshWindowTreeHostInitParams; |
class RootWindowTransformer; |
@@ -57,6 +61,10 @@ class ASH_EXPORT AshWindowTreeHost { |
// Stop listening for events in preparation for shutdown. |
virtual void PrepareForShutdown() {} |
+ |
+ protected: |
+ // Translates the native mouse location into screen coordinates. |
+ void TranslateLocatedEvent(ui::LocatedEvent* event); |
}; |
} // namespace ash |