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

Unified Diff: chrome/views/event.cc

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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 | « chrome/views/event.h ('k') | 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.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_) {
« no previous file with comments | « chrome/views/event.h ('k') | chrome/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698