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

Unified Diff: layout/layout_manager.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
« no previous file with comments | « geometry.h ('k') | layout/layout_manager.cc » ('j') | window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: layout/layout_manager.h
diff --git a/layout/layout_manager.h b/layout/layout_manager.h
index 278e395b48f085f3d91d1f0a7fa2e5e07b5bd7e7..e898741fe8c438870700bfb9d3208cd9edfe3ecb 100644
--- a/layout/layout_manager.h
+++ b/layout/layout_manager.h
@@ -67,29 +67,28 @@ class LayoutManager : 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 | « geometry.h ('k') | layout/layout_manager.cc » ('j') | window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698