| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef WebFrameWidgetBase_h | 5 #ifndef WebFrameWidgetBase_h |
| 6 #define WebFrameWidgetBase_h | 6 #define WebFrameWidgetBase_h |
| 7 | 7 |
| 8 #include "core/clipboard/DataObject.h" | 8 #include "core/clipboard/DataObject.h" |
| 9 #include "public/platform/WebDragData.h" | 9 #include "public/platform/WebDragData.h" |
| 10 #include "public/web/WebFrameWidget.h" | 10 #include "public/web/WebFrameWidget.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // WebFrameWidget implementation. | 44 // WebFrameWidget implementation. |
| 45 WebDragOperation dragTargetDragEnter(const WebDragData&, | 45 WebDragOperation dragTargetDragEnter(const WebDragData&, |
| 46 const WebPoint& pointInViewport, | 46 const WebPoint& pointInViewport, |
| 47 const WebPoint& screenPoint, | 47 const WebPoint& screenPoint, |
| 48 WebDragOperationsMask operationsAllowed, | 48 WebDragOperationsMask operationsAllowed, |
| 49 int modifiers) override; | 49 int modifiers) override; |
| 50 WebDragOperation dragTargetDragOver(const WebPoint& pointInViewport, | 50 WebDragOperation dragTargetDragOver(const WebPoint& pointInViewport, |
| 51 const WebPoint& screenPoint, | 51 const WebPoint& screenPoint, |
| 52 WebDragOperationsMask operationsAllowed, | 52 WebDragOperationsMask operationsAllowed, |
| 53 int modifiers) override; | 53 int modifiers) override; |
| 54 void dragTargetDragLeave() override; | 54 void dragTargetDragLeave(const WebPoint& pointInViewport, |
| 55 const WebPoint& screenPoint) override; |
| 55 void dragTargetDrop(const WebDragData&, | 56 void dragTargetDrop(const WebDragData&, |
| 56 const WebPoint& pointInViewport, | 57 const WebPoint& pointInViewport, |
| 57 const WebPoint& screenPoint, | 58 const WebPoint& screenPoint, |
| 58 int modifiers) override; | 59 int modifiers) override; |
| 59 void dragSourceEndedAt(const WebPoint& pointInViewport, | 60 void dragSourceEndedAt(const WebPoint& pointInViewport, |
| 60 const WebPoint& screenPoint, | 61 const WebPoint& screenPoint, |
| 61 WebDragOperation) override; | 62 WebDragOperation) override; |
| 62 void dragSourceSystemDragEnded() override; | 63 void dragSourceSystemDragEnded() override; |
| 63 | 64 |
| 64 // Called when a drag-n-drop operation should begin. | 65 // Called when a drag-n-drop operation should begin. |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void cancelDrag(); | 110 void cancelDrag(); |
| 110 | 111 |
| 111 static bool s_ignoreInputEvents; | 112 static bool s_ignoreInputEvents; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); | 115 DEFINE_TYPE_CASTS(WebFrameWidgetBase, WebFrameWidget, widget, true, true); |
| 115 | 116 |
| 116 } // namespace blink | 117 } // namespace blink |
| 117 | 118 |
| 118 #endif | 119 #endif |
| OLD | NEW |