| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // callbacks into the webview. This won't work for layout tests, so instead, | 36 // callbacks into the webview. This won't work for layout tests, so instead, |
| 37 // we queue up all the mouse move and mouse up events. When the test tries to | 37 // we queue up all the mouse move and mouse up events. When the test tries to |
| 38 // start a drag (by calling EvenSendingController::doDragDrop), we take the | 38 // start a drag (by calling EvenSendingController::doDragDrop), we take the |
| 39 // events in the queue and replay them. | 39 // events in the queue and replay them. |
| 40 // The behavior of queuing events and replaying them can be disabled by a | 40 // The behavior of queuing events and replaying them can be disabled by a |
| 41 // layout test by setting eventSender.dragMode to false. | 41 // layout test by setting eventSender.dragMode to false. |
| 42 | 42 |
| 43 #include "config.h" | 43 #include "config.h" |
| 44 #include "EventSender.h" | 44 #include "EventSender.h" |
| 45 | 45 |
| 46 #include <deque> |
| 46 #include "KeyCodeMapping.h" | 47 #include "KeyCodeMapping.h" |
| 47 #include "MockSpellCheck.h" | 48 #include "MockSpellCheck.h" |
| 48 #include "TestCommon.h" | 49 #include "TestCommon.h" |
| 49 #include "WebContextMenuData.h" | 50 #include "WebContextMenuData.h" |
| 50 #include "WebDragOperation.h" | 51 #include "WebDragOperation.h" |
| 51 #include "WebTestDelegate.h" | 52 #include "WebTestDelegate.h" |
| 52 #include "WebTouchPoint.h" | 53 #include "WebTouchPoint.h" |
| 53 #include "WebView.h" | 54 #include "WebView.h" |
| 54 #include <deque> | |
| 55 #include <public/WebDragData.h> | 55 #include <public/WebDragData.h> |
| 56 #include <public/WebPoint.h> | 56 #include <public/WebPoint.h> |
| 57 #include <public/WebString.h> | 57 #include <public/WebString.h> |
| 58 #include <public/WebVector.h> | 58 #include <public/WebVector.h> |
| 59 | 59 |
| 60 #ifdef WIN32 | 60 #ifdef WIN32 |
| 61 #include "win/WebInputEventFactory.h" | 61 #include "win/WebInputEventFactory.h" |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 // FIXME: layout before each event? | 64 // FIXME: layout before each event? |
| (...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1344 { | 1344 { |
| 1345 result->setNull(); | 1345 result->setNull(); |
| 1346 } | 1346 } |
| 1347 | 1347 |
| 1348 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result) | 1348 void EventSender::clearKillRing(const CppArgumentList&, CppVariant* result) |
| 1349 { | 1349 { |
| 1350 result->setNull(); | 1350 result->setNull(); |
| 1351 } | 1351 } |
| 1352 | 1352 |
| 1353 } | 1353 } |
| OLD | NEW |