| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 Google Inc. | 3 * Copyright (C) 2008 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "HTMLNames.h" | 30 #include "HTMLNames.h" |
| 31 #include "bindings/v8/ExceptionStatePlaceholder.h" | 31 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 32 #include "core/dom/Clipboard.h" | 32 #include "core/dom/Clipboard.h" |
| 33 #include "core/dom/ClipboardAccessPolicy.h" | 33 #include "core/dom/ClipboardAccessPolicy.h" |
| 34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
| 35 #include "core/dom/DocumentFragment.h" | 35 #include "core/dom/DocumentFragment.h" |
| 36 #include "core/dom/Element.h" | 36 #include "core/dom/Element.h" |
| 37 #include "core/dom/Node.h" | 37 #include "core/dom/Node.h" |
| 38 #include "core/dom/Text.h" | 38 #include "core/dom/Text.h" |
| 39 #include "core/events/TextEvent.h" | |
| 40 #include "core/dom/shadow/ShadowRoot.h" | 39 #include "core/dom/shadow/ShadowRoot.h" |
| 41 #include "core/editing/Editor.h" | 40 #include "core/editing/Editor.h" |
| 42 #include "core/editing/FrameSelection.h" | 41 #include "core/editing/FrameSelection.h" |
| 43 #include "core/editing/MoveSelectionCommand.h" | 42 #include "core/editing/MoveSelectionCommand.h" |
| 44 #include "core/editing/ReplaceSelectionCommand.h" | 43 #include "core/editing/ReplaceSelectionCommand.h" |
| 45 #include "core/editing/htmlediting.h" | 44 #include "core/editing/htmlediting.h" |
| 46 #include "core/editing/markup.h" | 45 #include "core/editing/markup.h" |
| 46 #include "core/events/TextEvent.h" |
| 47 #include "core/fetch/ImageResource.h" | 47 #include "core/fetch/ImageResource.h" |
| 48 #include "core/fetch/ResourceFetcher.h" | 48 #include "core/fetch/ResourceFetcher.h" |
| 49 #include "core/frame/Frame.h" |
| 50 #include "core/frame/FrameView.h" |
| 49 #include "core/html/HTMLAnchorElement.h" | 51 #include "core/html/HTMLAnchorElement.h" |
| 50 #include "core/html/HTMLFormElement.h" | 52 #include "core/html/HTMLFormElement.h" |
| 51 #include "core/html/HTMLInputElement.h" | 53 #include "core/html/HTMLInputElement.h" |
| 52 #include "core/html/HTMLPlugInElement.h" | 54 #include "core/html/HTMLPlugInElement.h" |
| 53 #include "core/loader/FrameLoadRequest.h" | 55 #include "core/loader/FrameLoadRequest.h" |
| 54 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
| 55 #include "core/page/DragActions.h" | 57 #include "core/page/DragActions.h" |
| 56 #include "core/page/DragClient.h" | 58 #include "core/page/DragClient.h" |
| 57 #include "core/page/DragSession.h" | 59 #include "core/page/DragSession.h" |
| 58 #include "core/page/DragState.h" | 60 #include "core/page/DragState.h" |
| 59 #include "core/page/EventHandler.h" | 61 #include "core/page/EventHandler.h" |
| 60 #include "core/frame/Frame.h" | |
| 61 #include "core/frame/FrameView.h" | |
| 62 #include "core/page/Page.h" | 62 #include "core/page/Page.h" |
| 63 #include "core/page/Settings.h" | 63 #include "core/page/Settings.h" |
| 64 #include "core/platform/DragData.h" | 64 #include "core/platform/DragData.h" |
| 65 #include "core/platform/DragImage.h" | 65 #include "core/platform/DragImage.h" |
| 66 #include "core/platform/chromium/ChromiumDataObject.h" | 66 #include "core/platform/chromium/ChromiumDataObject.h" |
| 67 #include "core/platform/graphics/Image.h" | 67 #include "core/platform/graphics/Image.h" |
| 68 #include "core/platform/network/ResourceRequest.h" | |
| 69 #include "core/rendering/HitTestRequest.h" | 68 #include "core/rendering/HitTestRequest.h" |
| 70 #include "core/rendering/HitTestResult.h" | 69 #include "core/rendering/HitTestResult.h" |
| 71 #include "core/rendering/RenderImage.h" | 70 #include "core/rendering/RenderImage.h" |
| 72 #include "core/rendering/RenderTheme.h" | 71 #include "core/rendering/RenderTheme.h" |
| 73 #include "core/rendering/RenderView.h" | 72 #include "core/rendering/RenderView.h" |
| 74 #include "platform/geometry/FloatRect.h" | 73 #include "platform/geometry/FloatRect.h" |
| 75 #include "platform/graphics/ImageOrientation.h" | 74 #include "platform/graphics/ImageOrientation.h" |
| 75 #include "platform/network/ResourceRequest.h" |
| 76 #include "weborigin/SecurityOrigin.h" | 76 #include "weborigin/SecurityOrigin.h" |
| 77 #include "wtf/CurrentTime.h" | 77 #include "wtf/CurrentTime.h" |
| 78 #include "wtf/OwnPtr.h" | 78 #include "wtf/OwnPtr.h" |
| 79 #include "wtf/PassOwnPtr.h" | 79 #include "wtf/PassOwnPtr.h" |
| 80 #include "wtf/RefPtr.h" | 80 #include "wtf/RefPtr.h" |
| 81 | 81 |
| 82 #if OS(WIN) | 82 #if OS(WIN) |
| 83 #include <windows.h> | 83 #include <windows.h> |
| 84 #endif | 84 #endif |
| 85 | 85 |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 return false; | 926 return false; |
| 927 #endif | 927 #endif |
| 928 } | 928 } |
| 929 | 929 |
| 930 void DragController::cleanupAfterSystemDrag() | 930 void DragController::cleanupAfterSystemDrag() |
| 931 { | 931 { |
| 932 } | 932 } |
| 933 | 933 |
| 934 } // namespace WebCore | 934 } // namespace WebCore |
| 935 | 935 |
| OLD | NEW |