| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This file contains the definition for EventSendingController. | 5 // This file contains the definition for EventSendingController. |
| 6 // | 6 // |
| 7 // Some notes about drag and drop handling: | 7 // Some notes about drag and drop handling: |
| 8 // Windows drag and drop goes through a system call to DoDragDrop. At that | 8 // Windows drag and drop goes through a system call to DoDragDrop. At that |
| 9 // point, program control is given to Windows which then periodically makes | 9 // point, program control is given to Windows which then periodically makes |
| 10 // callbacks into the webview. This won't work for layout tests, so instead, | 10 // callbacks into the webview. This won't work for layout tests, so instead, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include <queue> | 26 #include <queue> |
| 27 | 27 |
| 28 #include "base/compiler_specific.h" | 28 #include "base/compiler_specific.h" |
| 29 #include "base/file_path.h" | 29 #include "base/file_path.h" |
| 30 #include "base/file_util.h" | 30 #include "base/file_util.h" |
| 31 #include "base/logging.h" | 31 #include "base/logging.h" |
| 32 #include "base/message_loop.h" | 32 #include "base/message_loop.h" |
| 33 #include "base/string_util.h" | 33 #include "base/string_util.h" |
| 34 #include "base/time.h" | 34 #include "base/time.h" |
| 35 #include "webkit/api/public/WebDragData.h" | 35 #include "third_party/WebKit/WebKit/chromium/public/WebDragData.h" |
| 36 #include "webkit/api/public/WebDragOperation.h" | 36 #include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h" |
| 37 #include "webkit/api/public/WebPoint.h" | 37 #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" |
| 38 #include "webkit/api/public/WebString.h" | 38 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
| 39 #include "webkit/api/public/WebView.h" | 39 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
| 40 #include "webkit/glue/webkit_glue.h" | 40 #include "webkit/glue/webkit_glue.h" |
| 41 #include "webkit/tools/test_shell/test_shell.h" | 41 #include "webkit/tools/test_shell/test_shell.h" |
| 42 | 42 |
| 43 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
| 44 #include "webkit/api/public/win/WebInputEventFactory.h" | 44 #include "third_party/WebKit/WebKit/chromium/public/win/WebInputEventFactory.h" |
| 45 using WebKit::WebInputEventFactory; | 45 using WebKit::WebInputEventFactory; |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 // TODO(mpcomplete): layout before each event? | 48 // TODO(mpcomplete): layout before each event? |
| 49 // TODO(mpcomplete): do we need modifiers for mouse events? | 49 // TODO(mpcomplete): do we need modifiers for mouse events? |
| 50 | 50 |
| 51 using base::Time; | 51 using base::Time; |
| 52 using base::TimeTicks; | 52 using base::TimeTicks; |
| 53 using WebKit::WebDragOperation; | 53 using WebKit::WebDragOperation; |
| 54 using WebKit::WebDragOperationsMask; | 54 using WebKit::WebDragOperationsMask; |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 | 720 |
| 721 void EventSendingController::fireKeyboardEventsToElement( | 721 void EventSendingController::fireKeyboardEventsToElement( |
| 722 const CppArgumentList& args, CppVariant* result) { | 722 const CppArgumentList& args, CppVariant* result) { |
| 723 result->SetNull(); | 723 result->SetNull(); |
| 724 } | 724 } |
| 725 | 725 |
| 726 void EventSendingController::clearKillRing( | 726 void EventSendingController::clearKillRing( |
| 727 const CppArgumentList& args, CppVariant* result) { | 727 const CppArgumentList& args, CppVariant* result) { |
| 728 result->SetNull(); | 728 result->SetNull(); |
| 729 } | 729 } |
| OLD | NEW |