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

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

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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 | Annotate | Revision Log
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 metaKey = static_cast<bool>(keyState & PlatformEvent::MetaKey); 101 metaKey = static_cast<bool>(keyState & PlatformEvent::MetaKey);
102 102
103 return PlatformMouseEvent(dragData->clientPosition(), dragData->globalPositi on(), 103 return PlatformMouseEvent(dragData->clientPosition(), dragData->globalPositi on(),
104 LeftButton, PlatformEvent::MouseMoved, 0, shiftKey , ctrlKey, altKey, 104 LeftButton, PlatformEvent::MouseMoved, 0, shiftKey , ctrlKey, altKey,
105 metaKey, currentTime()); 105 metaKey, currentTime());
106 } 106 }
107 107
108 DragController::DragController(Page* page, DragClient* client) 108 DragController::DragController(Page* page, DragClient* client)
109 : m_page(page) 109 : m_page(page)
110 , m_client(client) 110 , m_client(client)
111 , m_documentUnderMouse(0)
112 , m_dragInitiator(0)
113 , m_fileInputElementUnderMouse(0)
114 , m_documentIsHandlingDrag(false) 111 , m_documentIsHandlingDrag(false)
115 , m_dragDestinationAction(DragDestinationActionNone) 112 , m_dragDestinationAction(DragDestinationActionNone)
116 , m_dragSourceAction(DragSourceActionNone) 113 , m_dragSourceAction(DragSourceActionNone)
117 , m_didInitiateDrag(false) 114 , m_didInitiateDrag(false)
118 , m_sourceDragOperation(DragOperationNone) 115 , m_sourceDragOperation(DragOperationNone)
119 { 116 {
120 ASSERT(m_client); 117 ASSERT(m_client);
121 } 118 }
122 119
123 DragController::~DragController() 120 DragController::~DragController()
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 #endif 948 #endif
952 return maxDragImageSize; 949 return maxDragImageSize;
953 } 950 }
954 951
955 void DragController::cleanupAfterSystemDrag() 952 void DragController::cleanupAfterSystemDrag()
956 { 953 {
957 } 954 }
958 955
959 } // namespace WebCore 956 } // namespace WebCore
960 957
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedResourceClient.h ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698