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

Unified Diff: screen_locker_handler.h

Issue 6902072: wm: Update a lot of code to use structs from geometry.h. (Closed) Base URL: ssh://gitrw.chromium.org:9222/window_manager.git@master
Patch Set: move override-redirect stacking and visibility into Window Created 9 years, 8 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: screen_locker_handler.h
diff --git a/screen_locker_handler.h b/screen_locker_handler.h
index d0f5dc9351dc529decdf2372cc00cafffdcef997..96fed0e94e3a80375d064390e7e5eba56926ae81 100644
--- a/screen_locker_handler.h
+++ b/screen_locker_handler.h
@@ -41,29 +41,28 @@ class ScreenLockerHandler : public EventConsumer {
virtual void HandleWindowUnmap(Window* win);
virtual void HandleWindowPixmapFetch(Window* win);
virtual void HandleWindowConfigureRequest(Window* win,
- int req_x, int req_y,
- int req_width, int req_height) {}
+ const Rect& requested_bounds) {}
virtual void HandleButtonPress(XWindow xid,
- int x, int y,
- int x_root, int y_root,
+ const Point& relative_pos,
+ const Point& absolute_pos,
int button,
XTime timestamp) {}
virtual void HandleButtonRelease(XWindow xid,
- int x, int y,
- int x_root, int y_root,
+ const Point& relative_pos,
+ const Point& absolute_pos,
int button,
XTime timestamp) {}
virtual void HandlePointerEnter(XWindow xid,
- int x, int y,
- int x_root, int y_root,
+ const Point& relative_pos,
+ const Point& absolute_pos,
XTime timestamp) {}
virtual void HandlePointerLeave(XWindow xid,
- int x, int y,
- int x_root, int y_root,
+ const Point& relative_pos,
+ const Point& absolute_pos,
XTime timestamp) {}
virtual void HandlePointerMotion(XWindow xid,
- int x, int y,
- int x_root, int y_root,
+ const Point& relative_pos,
+ const Point& absolute_pos,
XTime timestamp) {}
virtual void HandleChromeMessage(const WmIpc::Message& msg);
virtual void HandleClientMessage(XWindow xid,
« no previous file with comments | « pointer_position_watcher_test.cc ('k') | screen_locker_handler.cc » ('j') | window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698