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

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..7e78691629dee29c94c9ff5c4af288bb2771f48c 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());
}
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());
}
@@ -162,8 +158,7 @@ void AshWindowTreeHostUnified::SetCursorNative(gfx::NativeCursor cursor) {
}
void AshWindowTreeHostUnified::MoveCursorToNative(const gfx::Point& location) {
- // TODO(oshima): Find out if this is neceessary.
- NOTIMPLEMENTED();
+ // No native cursor in offscreen surface.
}
void AshWindowTreeHostUnified::OnCursorVisibilityChangedNative(bool show) {
« no previous file with comments | « ash/display/unified_mouse_warp_controller_unittest.cc ('k') | chrome/browser/chromeos/display/display_preferences_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698