OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 | 338 |
339 // Notfies the WebView that the system drag and drop operation has ended. | 339 // Notfies the WebView that the system drag and drop operation has ended. |
340 virtual void dragSourceSystemDragEnded() = 0; | 340 virtual void dragSourceSystemDragEnded() = 0; |
341 | 341 |
342 // Callback methods when a drag-and-drop operation is trying to drop | 342 // Callback methods when a drag-and-drop operation is trying to drop |
343 // something on the WebView. | 343 // something on the WebView. |
344 virtual WebDragOperation dragTargetDragEnter( | 344 virtual WebDragOperation dragTargetDragEnter( |
345 const WebDragData&, | 345 const WebDragData&, |
346 const WebPoint& clientPoint, const WebPoint& screenPoint, | 346 const WebPoint& clientPoint, const WebPoint& screenPoint, |
347 WebDragOperationsMask operationsAllowed, | 347 WebDragOperationsMask operationsAllowed, |
348 int keyModifiers) = 0; | 348 int modifiers) = 0; |
349 virtual WebDragOperation dragTargetDragOver( | 349 virtual WebDragOperation dragTargetDragOver( |
350 const WebPoint& clientPoint, const WebPoint& screenPoint, | 350 const WebPoint& clientPoint, const WebPoint& screenPoint, |
351 WebDragOperationsMask operationsAllowed, | 351 WebDragOperationsMask operationsAllowed, |
352 int keyModifiers) = 0; | 352 int modifiers) = 0; |
353 virtual void dragTargetDragLeave() = 0; | 353 virtual void dragTargetDragLeave() = 0; |
354 virtual void dragTargetDrop( | 354 virtual void dragTargetDrop( |
355 const WebPoint& clientPoint, const WebPoint& screenPoint, | 355 const WebPoint& clientPoint, const WebPoint& screenPoint, |
356 int keyModifiers) = 0; | 356 int modifiers) = 0; |
357 | 357 |
358 // Retrieves a list of spelling markers. | 358 // Retrieves a list of spelling markers. |
359 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; | 359 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; |
360 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) = 0; | 360 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) = 0; |
361 | 361 |
362 // Support for resource loading initiated by plugins ------------------- | 362 // Support for resource loading initiated by plugins ------------------- |
363 | 363 |
364 // Returns next unused request identifier which is unique within the | 364 // Returns next unused request identifier which is unique within the |
365 // parent Page. | 365 // parent Page. |
366 virtual unsigned long createUniqueIdentifierForRequest() = 0; | 366 virtual unsigned long createUniqueIdentifierForRequest() = 0; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 // event gets generated/tested. | 491 // event gets generated/tested. |
492 virtual void forceNextWebGLContextCreationToFail() = 0; | 492 virtual void forceNextWebGLContextCreationToFail() = 0; |
493 | 493 |
494 protected: | 494 protected: |
495 ~WebView() {} | 495 ~WebView() {} |
496 }; | 496 }; |
497 | 497 |
498 } // namespace blink | 498 } // namespace blink |
499 | 499 |
500 #endif | 500 #endif |
OLD | NEW |