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

Unified Diff: panels/panel_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 | « panels/panel_dock.cc ('k') | panels/panel_manager.cc » ('j') | window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: panels/panel_manager.h
diff --git a/panels/panel_manager.h b/panels/panel_manager.h
index 5962b3cad2e90b70b17ca0c63e0a0a2120e2a7c1..8ab2216a241529d49d8ab04038e1629e7b240c6e 100644
--- a/panels/panel_manager.h
+++ b/panels/panel_manager.h
@@ -85,8 +85,7 @@ class PanelManager : public EventConsumer, public FocusChangeListener {
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);
// Handle events for windows. If the event occurred in an input window,
// it is passed through to the Panel or PanelContainer that owns the
@@ -95,26 +94,26 @@ class PanelManager : public EventConsumer, public FocusChangeListener {
// currently contains the panel via
// PanelContainer::HandlePanelButtonPress().
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);
« no previous file with comments | « panels/panel_dock.cc ('k') | panels/panel_manager.cc » ('j') | window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698