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

Unified Diff: services/ui/ws/platform_display_default.h

Issue 2778943005: Keep root_location to be in pixels and display coordinates in WS. (Closed)
Patch Set: const Created 3 years, 7 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
« no previous file with comments | « services/ui/ws/event_dispatcher_unittest.cc ('k') | services/ui/ws/platform_display_default.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_display_default.h
diff --git a/services/ui/ws/platform_display_default.h b/services/ui/ws/platform_display_default.h
index 5ca1ba6e2bac83d9232f68c4ba545ef277ceab9d..3e28a60f324828c786329305977b0ed5486163ff 100644
--- a/services/ui/ws/platform_display_default.h
+++ b/services/ui/ws/platform_display_default.h
@@ -19,7 +19,6 @@ namespace ui {
class EventSink;
class ImageCursors;
-class LocatedEvent;
class PlatformWindow;
namespace ws {
@@ -52,13 +51,6 @@ class PlatformDisplayDefault : public PlatformDisplay,
FrameGenerator* GetFrameGenerator() override;
private:
- // Update the root_location of located events to be relative to the origin
- // of this display. For example, if the origin of this display is (1800, 0)
- // and the location of the event is (100, 200) then the root_location will be
- // updated to be (1900, 200).
- // TODO(riajiang): This is totally broken with HDPI.
- void UpdateEventRootLocation(ui::LocatedEvent* event);
-
// ui::PlatformWindowDelegate:
void OnBoundsChanged(const gfx::Rect& new_bounds) override;
void OnDamageRect(const gfx::Rect& damaged_region) override;
« no previous file with comments | « services/ui/ws/event_dispatcher_unittest.cc ('k') | services/ui/ws/platform_display_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698