| Index: chrome/views/event.cc
|
| ===================================================================
|
| --- chrome/views/event.cc (revision 15365)
|
| +++ chrome/views/event.cc (working copy)
|
| @@ -5,10 +5,7 @@
|
| #include "chrome/views/event.h"
|
|
|
| #include "chrome/views/view.h"
|
| -#include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h"
|
|
|
| -using WebKit::WebInputEvent;
|
| -
|
| namespace views {
|
|
|
| Event::Event(EventType type, int flags)
|
| @@ -21,18 +18,6 @@
|
| flags_(flags) {
|
| }
|
|
|
| -// static
|
| -int Event::ConvertWebInputEventFlags(int web_input_event_flags) {
|
| - int r = 0;
|
| - if (web_input_event_flags & WebInputEvent::ShiftKey)
|
| - r |= EF_SHIFT_DOWN;
|
| - if (web_input_event_flags & WebInputEvent::ControlKey)
|
| - r |= EF_CONTROL_DOWN;
|
| - if (web_input_event_flags & WebInputEvent::AltKey)
|
| - r |= EF_ALT_DOWN;
|
| - return r;
|
| -}
|
| -
|
| LocatedEvent::LocatedEvent(const LocatedEvent& model, View* from, View* to)
|
| : Event(model),
|
| location_(model.location_) {
|
|
|