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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_ 5 #ifndef WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_
6 #define WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_ 6 #define WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include <gtest/gtest_prod.h> // for FRIEND_TEST() macro 10 #include <gtest/gtest_prod.h> // for FRIEND_TEST() macro
(...skipping 23 matching lines...) Expand all
34 34
35 // Begin EventConsumer implementation. 35 // Begin EventConsumer implementation.
36 virtual bool IsInputWindow(XWindow xid) { return false; } 36 virtual bool IsInputWindow(XWindow xid) { return false; }
37 virtual void HandleScreenResize(); 37 virtual void HandleScreenResize();
38 virtual void HandleLoggedInStateChange() {} 38 virtual void HandleLoggedInStateChange() {}
39 virtual bool HandleWindowMapRequest(Window* win); 39 virtual bool HandleWindowMapRequest(Window* win);
40 virtual void HandleWindowMap(Window* win); 40 virtual void HandleWindowMap(Window* win);
41 virtual void HandleWindowUnmap(Window* win); 41 virtual void HandleWindowUnmap(Window* win);
42 virtual void HandleWindowPixmapFetch(Window* win); 42 virtual void HandleWindowPixmapFetch(Window* win);
43 virtual void HandleWindowConfigureRequest(Window* win, 43 virtual void HandleWindowConfigureRequest(Window* win,
44 int req_x, int req_y, 44 const Rect& requested_bounds) {}
45 int req_width, int req_height) {}
46 virtual void HandleButtonPress(XWindow xid, 45 virtual void HandleButtonPress(XWindow xid,
47 int x, int y, 46 const Point& relative_pos,
48 int x_root, int y_root, 47 const Point& absolute_pos,
49 int button, 48 int button,
50 XTime timestamp) {} 49 XTime timestamp) {}
51 virtual void HandleButtonRelease(XWindow xid, 50 virtual void HandleButtonRelease(XWindow xid,
52 int x, int y, 51 const Point& relative_pos,
53 int x_root, int y_root, 52 const Point& absolute_pos,
54 int button, 53 int button,
55 XTime timestamp) {} 54 XTime timestamp) {}
56 virtual void HandlePointerEnter(XWindow xid, 55 virtual void HandlePointerEnter(XWindow xid,
57 int x, int y, 56 const Point& relative_pos,
58 int x_root, int y_root, 57 const Point& absolute_pos,
59 XTime timestamp) {} 58 XTime timestamp) {}
60 virtual void HandlePointerLeave(XWindow xid, 59 virtual void HandlePointerLeave(XWindow xid,
61 int x, int y, 60 const Point& relative_pos,
62 int x_root, int y_root, 61 const Point& absolute_pos,
63 XTime timestamp) {} 62 XTime timestamp) {}
64 virtual void HandlePointerMotion(XWindow xid, 63 virtual void HandlePointerMotion(XWindow xid,
65 int x, int y, 64 const Point& relative_pos,
66 int x_root, int y_root, 65 const Point& absolute_pos,
67 XTime timestamp) {} 66 XTime timestamp) {}
68 virtual void HandleChromeMessage(const WmIpc::Message& msg); 67 virtual void HandleChromeMessage(const WmIpc::Message& msg);
69 virtual void HandleClientMessage(XWindow xid, 68 virtual void HandleClientMessage(XWindow xid,
70 XAtom message_type, 69 XAtom message_type,
71 const long data[5]) {} 70 const long data[5]) {}
72 virtual void HandleWindowPropertyChange(XWindow xid, XAtom xatom) {} 71 virtual void HandleWindowPropertyChange(XWindow xid, XAtom xatom) {}
73 virtual void OwnDestroyedWindow(DestroyedWindow* destroyed_win, XWindow xid) { 72 virtual void OwnDestroyedWindow(DestroyedWindow* destroyed_win, XWindow xid) {
74 NOTREACHED(); 73 NOTREACHED();
75 } 74 }
76 // End EventConsumer implementation. 75 // End EventConsumer implementation.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // Transparent cursor that we use to hide the pointer while the session is 208 // Transparent cursor that we use to hide the pointer while the session is
210 // ending. 209 // ending.
211 XID transparent_cursor_; 210 XID transparent_cursor_;
212 211
213 DISALLOW_COPY_AND_ASSIGN(ScreenLockerHandler); 212 DISALLOW_COPY_AND_ASSIGN(ScreenLockerHandler);
214 }; 213 };
215 214
216 } // namespace window_manager 215 } // namespace window_manager
217 216
218 #endif // WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_ 217 #endif // WINDOW_MANAGER_SCREEN_LOCKER_HANDLER_H_
OLDNEW
« 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