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

Side by Side Diff: third_party/WebKit/Source/core/page/DragController.cpp

Issue 2558033002: Loading: move ImageResource and related classes to core/loader/resource (Closed)
Patch Set: rebase and format Created 4 years 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 unified diff | Download patch
OLDNEW
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 28 matching lines...) Expand all
39 #include "core/dom/Node.h" 39 #include "core/dom/Node.h"
40 #include "core/dom/Text.h" 40 #include "core/dom/Text.h"
41 #include "core/dom/shadow/ShadowRoot.h" 41 #include "core/dom/shadow/ShadowRoot.h"
42 #include "core/editing/DragCaretController.h" 42 #include "core/editing/DragCaretController.h"
43 #include "core/editing/EditingUtilities.h" 43 #include "core/editing/EditingUtilities.h"
44 #include "core/editing/Editor.h" 44 #include "core/editing/Editor.h"
45 #include "core/editing/FrameSelection.h" 45 #include "core/editing/FrameSelection.h"
46 #include "core/editing/commands/DragAndDropCommand.h" 46 #include "core/editing/commands/DragAndDropCommand.h"
47 #include "core/editing/serializers/Serialization.h" 47 #include "core/editing/serializers/Serialization.h"
48 #include "core/events/TextEvent.h" 48 #include "core/events/TextEvent.h"
49 #include "core/fetch/ImageResourceContent.h"
50 #include "core/fetch/ResourceFetcher.h" 49 #include "core/fetch/ResourceFetcher.h"
51 #include "core/frame/FrameHost.h" 50 #include "core/frame/FrameHost.h"
52 #include "core/frame/FrameView.h" 51 #include "core/frame/FrameView.h"
53 #include "core/frame/LocalFrame.h" 52 #include "core/frame/LocalFrame.h"
54 #include "core/frame/Settings.h" 53 #include "core/frame/Settings.h"
55 #include "core/html/HTMLAnchorElement.h" 54 #include "core/html/HTMLAnchorElement.h"
56 #include "core/html/HTMLFormElement.h" 55 #include "core/html/HTMLFormElement.h"
57 #include "core/html/HTMLInputElement.h" 56 #include "core/html/HTMLInputElement.h"
58 #include "core/html/HTMLPlugInElement.h" 57 #include "core/html/HTMLPlugInElement.h"
59 #include "core/input/EventHandler.h" 58 #include "core/input/EventHandler.h"
60 #include "core/layout/HitTestRequest.h" 59 #include "core/layout/HitTestRequest.h"
61 #include "core/layout/HitTestResult.h" 60 #include "core/layout/HitTestResult.h"
62 #include "core/layout/LayoutImage.h" 61 #include "core/layout/LayoutImage.h"
63 #include "core/layout/LayoutTheme.h" 62 #include "core/layout/LayoutTheme.h"
64 #include "core/layout/api/LayoutViewItem.h" 63 #include "core/layout/api/LayoutViewItem.h"
65 #include "core/loader/FrameLoadRequest.h" 64 #include "core/loader/FrameLoadRequest.h"
66 #include "core/loader/FrameLoader.h" 65 #include "core/loader/FrameLoader.h"
66 #include "core/loader/resource/ImageResourceContent.h"
67 #include "core/page/ChromeClient.h" 67 #include "core/page/ChromeClient.h"
68 #include "core/page/DragData.h" 68 #include "core/page/DragData.h"
69 #include "core/page/DragSession.h" 69 #include "core/page/DragSession.h"
70 #include "core/page/DragState.h" 70 #include "core/page/DragState.h"
71 #include "core/page/Page.h" 71 #include "core/page/Page.h"
72 #include "core/svg/graphics/SVGImageForContainer.h" 72 #include "core/svg/graphics/SVGImageForContainer.h"
73 #include "platform/DragImage.h" 73 #include "platform/DragImage.h"
74 #include "platform/SharedBuffer.h" 74 #include "platform/SharedBuffer.h"
75 #include "platform/geometry/IntRect.h" 75 #include "platform/geometry/IntRect.h"
76 #include "platform/geometry/IntSize.h" 76 #include "platform/geometry/IntSize.h"
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 } 1231 }
1232 1232
1233 DEFINE_TRACE(DragController) { 1233 DEFINE_TRACE(DragController) {
1234 visitor->trace(m_page); 1234 visitor->trace(m_page);
1235 visitor->trace(m_documentUnderMouse); 1235 visitor->trace(m_documentUnderMouse);
1236 visitor->trace(m_dragInitiator); 1236 visitor->trace(m_dragInitiator);
1237 visitor->trace(m_fileInputElementUnderMouse); 1237 visitor->trace(m_fileInputElementUnderMouse);
1238 } 1238 }
1239 1239
1240 } // namespace blink 1240 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698