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

Unified Diff: ui/aura/window_tree_host_ozone.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: Rebase on ToT Created 6 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 | « ash/wm/drag_window_resizer.cc ('k') | ui/events/event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host_ozone.h
diff --git a/ui/aura/window_tree_host_ozone.h b/ui/aura/window_tree_host_ozone.h
index f0e8c985a73c4fefcfd7eb33e7d2a9c1f613abb6..19aabc7d9a45e94a7859f92bd2c7fb18d58320f9 100644
--- a/ui/aura/window_tree_host_ozone.h
+++ b/ui/aura/window_tree_host_ozone.h
@@ -24,19 +24,6 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost,
explicit WindowTreeHostOzone(const gfx::Rect& bounds);
virtual ~WindowTreeHostOzone();
- private:
- // ui::PlatformWindowDelegate:
- virtual void OnBoundsChanged(const gfx::Rect&) override;
- virtual void OnDamageRect(const gfx::Rect& damaged_region) override;
- virtual void DispatchEvent(ui::Event* event) override;
- virtual void OnCloseRequest() override;
- virtual void OnClosed() override;
- virtual void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
- virtual void OnLostCapture() override;
- virtual void OnAcceleratedWidgetAvailable(
- gfx::AcceleratedWidget widget) override;
- virtual void OnActivationChanged(bool active) override;
-
// WindowTreeHost:
virtual ui::EventSource* GetEventSource() override;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() override;
@@ -52,6 +39,19 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost,
virtual void MoveCursorToNative(const gfx::Point& location) override;
virtual void OnCursorVisibilityChangedNative(bool show) override;
+ private:
+ // ui::PlatformWindowDelegate:
spang 2014/11/07 22:38:45 is there a reason to move these?
+ virtual void OnBoundsChanged(const gfx::Rect&) override;
+ virtual void OnDamageRect(const gfx::Rect& damaged_region) override;
+ virtual void DispatchEvent(ui::Event* event) override;
+ virtual void OnCloseRequest() override;
+ virtual void OnClosed() override;
+ virtual void OnWindowStateChanged(ui::PlatformWindowState new_state) override;
+ virtual void OnLostCapture() override;
+ virtual void OnAcceleratedWidgetAvailable(
+ gfx::AcceleratedWidget widget) override;
+ virtual void OnActivationChanged(bool active) override;
+
// ui::EventSource overrides.
virtual ui::EventProcessor* GetEventProcessor() override;
« no previous file with comments | « ash/wm/drag_window_resizer.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698