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

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

Issue 879913003: Use IntRect instead of FloatRect for window positions and sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME comments Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « Source/core/page/CreateWindow.cpp ('k') | Source/core/page/WindowFeatures.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #include "core/page/DragSession.h" 62 #include "core/page/DragSession.h"
63 #include "core/page/DragState.h" 63 #include "core/page/DragState.h"
64 #include "core/page/EventHandler.h" 64 #include "core/page/EventHandler.h"
65 #include "core/page/Page.h" 65 #include "core/page/Page.h"
66 #include "core/frame/Settings.h" 66 #include "core/frame/Settings.h"
67 #include "core/rendering/HitTestRequest.h" 67 #include "core/rendering/HitTestRequest.h"
68 #include "core/rendering/HitTestResult.h" 68 #include "core/rendering/HitTestResult.h"
69 #include "core/rendering/RenderImage.h" 69 #include "core/rendering/RenderImage.h"
70 #include "core/rendering/RenderView.h" 70 #include "core/rendering/RenderView.h"
71 #include "platform/DragImage.h" 71 #include "platform/DragImage.h"
72 #include "platform/geometry/FloatRect.h" 72 #include "platform/geometry/IntRect.h"
73 #include "platform/graphics/Image.h" 73 #include "platform/graphics/Image.h"
74 #include "platform/graphics/ImageOrientation.h" 74 #include "platform/graphics/ImageOrientation.h"
75 #include "platform/network/ResourceRequest.h" 75 #include "platform/network/ResourceRequest.h"
76 #include "platform/weborigin/SecurityOrigin.h" 76 #include "platform/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)
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 986
987 void DragController::trace(Visitor* visitor) 987 void DragController::trace(Visitor* visitor)
988 { 988 {
989 visitor->trace(m_page); 989 visitor->trace(m_page);
990 visitor->trace(m_documentUnderMouse); 990 visitor->trace(m_documentUnderMouse);
991 visitor->trace(m_dragInitiator); 991 visitor->trace(m_dragInitiator);
992 visitor->trace(m_fileInputElementUnderMouse); 992 visitor->trace(m_fileInputElementUnderMouse);
993 } 993 }
994 994
995 } // namespace blink 995 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/page/CreateWindow.cpp ('k') | Source/core/page/WindowFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698