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

Unified Diff: ui/aura/window_tree_host_ozone.cc

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: Remove explicit gfx::Rect to gfx::RectF conversion 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
Index: ui/aura/window_tree_host_ozone.cc
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc
index b400962ce510e866b9039471a1e5c3f5a0a3d03b..c4dc8cff725e6b62e2e64342106628fa505dccce 100644
--- a/ui/aura/window_tree_host_ozone.cc
+++ b/ui/aura/window_tree_host_ozone.cc
@@ -21,6 +21,10 @@ WindowTreeHostOzone::~WindowTreeHostOzone() {
DestroyDispatcher();
}
+gfx::Rect WindowTreeHostOzone::GetBounds() const {
+ return platform_window_->GetBounds();
+}
+
void WindowTreeHostOzone::OnBoundsChanged(const gfx::Rect& new_bounds) {
// TOOD(spang): Should we determine which parts changed?
OnHostResized(new_bounds.size());
@@ -73,10 +77,6 @@ void WindowTreeHostOzone::Hide() {
platform_window_->Hide();
}
-gfx::Rect WindowTreeHostOzone::GetBounds() const {
- return platform_window_->GetBounds();
-}
-
void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) {
platform_window_->SetBounds(bounds);
}

Powered by Google App Engine
This is Rietveld 408576698