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

Unified Diff: ash/host/ash_window_tree_host.h

Issue 657603002: ash: ozone: apply transformation to events outside the root window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Flatten TranslateLocatedEvent() Created 6 years 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 | « ash/ash.gyp ('k') | ash/host/ash_window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/ash.gyp ('k') | ash/host/ash_window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698