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

Side by Side Diff: ui/events/event.h

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 UI_EVENTS_EVENT_H_ 5 #ifndef UI_EVENTS_EVENT_H_
6 #define UI_EVENTS_EVENT_H_ 6 #define UI_EVENTS_EVENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/event_types.h" 10 #include "base/event_types.h"
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 } 804 }
805 805
806 ~GestureEvent() override; 806 ~GestureEvent() override;
807 807
808 const GestureEventDetails& details() const { return details_; } 808 const GestureEventDetails& details() const { return details_; }
809 809
810 private: 810 private:
811 GestureEventDetails details_; 811 GestureEventDetails details_;
812 }; 812 };
813 813
814 class EVENTS_EXPORT CustomEvent : public Event {
815 public:
816 CustomEvent(EventType type,
817 base::TimeDelta time_stamp,
818 void* generic_event_data);
819 ~CustomEvent() override;
820
821 void* generic_event_data() const { return generic_event_data_; }
822
823 private:
824 void* generic_event_data_;
825 };
826
814 } // namespace ui 827 } // namespace ui
815 828
816 #endif // UI_EVENTS_EVENT_H_ 829 #endif // UI_EVENTS_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698