summaryrefslogtreecommitdiffstats
path: root/chrome/views/event.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:41:29 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:41:29 +0000
commit0ae186fdc196eeb1ee8e56285a06c6fd3012ea60 (patch)
tree8ced53b52ef5dc1441bc6fa62f8f927494ca4bc5 /chrome/views/event.h
parent601bffcbec8cd6222ebda98f554adba0fb9cc1f0 (diff)
downloadchromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.zip
chromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.tar.gz
chromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.tar.bz2
Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary
rough, but makes things work a bit more. BUG=none TEST=none Review URL: http://codereview.chromium.org/113123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/event.h')
-rw-r--r--chrome/views/event.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/views/event.h b/chrome/views/event.h
index d3dbb61..40aca37 100644
--- a/chrome/views/event.h
+++ b/chrome/views/event.h
@@ -6,13 +6,11 @@
#define CHROME_VIEWS_EVENT_H_
#include "base/basictypes.h"
+#include "base/gfx/point.h"
#if defined(OS_LINUX)
-#include <gdk/gdk.h>
+typedef struct _GdkEventKey GdkEventKey;
#endif
-
-#include "base/gfx/point.h"
-
class OSExchangeData;
namespace views {
@@ -218,7 +216,7 @@ class MouseEvent : public LocatedEvent {
}
private:
- DISALLOW_EVIL_CONSTRUCTORS(MouseEvent);
+ DISALLOW_COPY_AND_ASSIGN(MouseEvent);
};
////////////////////////////////////////////////////////////////////////////////
@@ -235,7 +233,7 @@ class KeyEvent : public Event {
// Create a new key event
KeyEvent(EventType type, int ch, int repeat_count, int message_flags);
#elif defined(OS_LINUX)
- KeyEvent(GdkEventKey* event);
+ explicit KeyEvent(GdkEventKey* event);
#endif
int GetCharacter() const {