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

Unified Diff: ash/host/ash_window_tree_host_unified.cc

Issue 1263853002: Unified Desktop: Support 2xDSF display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 0fcb4b3ef2e7dd818075f9854e8e85cd5ea27298..2d75703a4f4586b5968f6986062667ae66fc46ef 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -28,8 +28,6 @@ class UnifiedEventTargeter : public aura::WindowTargeter {
ui::LocatedEvent* located_event = static_cast<ui::LocatedEvent*>(event);
located_event->ConvertLocationToTarget(
static_cast<aura::Window*>(nullptr), dst_root_);
- located_event->UpdateForRootTransform(
- dst_root_->GetHost()->GetRootTransform());
oshima 2015/07/29 20:20:52 Event transform is handled in WindowEventDispatche
}
ignore_result(
dst_root_->GetHost()->event_processor()->OnEventFromSource(event));
@@ -122,8 +120,6 @@ gfx::Rect AshWindowTreeHostUnified::GetBounds() const {
}
void AshWindowTreeHostUnified::SetBounds(const gfx::Rect& bounds) {
- if (bounds_.size() == bounds.size())
- return;
bounds_.set_size(bounds.size());
OnHostResized(bounds_.size());
}

Powered by Google App Engine
This is Rietveld 408576698