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

Unified Diff: chrome/views/event.h

Issue 50017: Issue 21268: The Remake... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « no previous file | chrome/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/event.h
===================================================================
--- chrome/views/event.h (revision 12565)
+++ chrome/views/event.h (working copy)
@@ -70,6 +70,10 @@
return flags_;
}
+ void set_flags(int flags) {
+ flags_ = flags;
+ }
+
// Return whether the shift modifier is down
bool IsShiftDown() const {
return (flags_ & EF_SHIFT_DOWN) != 0;
@@ -166,7 +170,10 @@
class MouseEvent : public LocatedEvent {
public:
// Flags specific to mouse events
- enum MouseEventFlags { EF_IS_DOUBLE_CLICK = 1 << 16 };
+ enum MouseEventFlags {
+ EF_IS_DOUBLE_CLICK = 1 << 16,
+ EF_IS_NON_CLIENT = 1 << 17
+ };
// Create a new mouse event
MouseEvent(EventType type, int x, int y, int flags)
« no previous file with comments | « no previous file | chrome/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698