OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 virtual void dragTargetDrop(const WebDragData&, | 105 virtual void dragTargetDrop(const WebDragData&, |
106 const WebPoint& pointInViewport, | 106 const WebPoint& pointInViewport, |
107 const WebPoint& screenPoint, | 107 const WebPoint& screenPoint, |
108 int modifiers) = 0; | 108 int modifiers) = 0; |
109 | 109 |
110 // Notifies the WebFrameWidget that a drag has terminated. | 110 // Notifies the WebFrameWidget that a drag has terminated. |
111 virtual void dragSourceEndedAt(const WebPoint& pointInViewport, | 111 virtual void dragSourceEndedAt(const WebPoint& pointInViewport, |
112 const WebPoint& screenPoint, | 112 const WebPoint& screenPoint, |
113 WebDragOperation) = 0; | 113 WebDragOperation) = 0; |
114 | 114 |
115 // Notfies the WebFrameWidget that the system drag and drop operation has | 115 // Notifies the WebFrameWidget that the system drag and drop operation has |
116 // ended. | 116 // ended. |
117 virtual void dragSourceSystemDragEnded() = 0; | 117 virtual void dragSourceSystemDragEnded() = 0; |
| 118 |
| 119 // Constrains the viewport intersection for use by IntersectionObserver. |
| 120 // This is needed for out-of-process iframes to know if they are clipped |
| 121 // by ancestor frames in another process. |
| 122 virtual void setRemoteViewportIntersection(const WebRect&) {} |
118 }; | 123 }; |
119 | 124 |
120 } // namespace blink | 125 } // namespace blink |
121 | 126 |
122 #endif | 127 #endif |
OLD | NEW |