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

Side by Side Diff: third_party/WebKit/public/web/WebView.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the existing API instead Created 4 years, 9 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
OLDNEW
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 const WebDragData&, 353 const WebDragData&,
354 const WebPoint& clientPoint, const WebPoint& screenPoint, 354 const WebPoint& clientPoint, const WebPoint& screenPoint,
355 WebDragOperationsMask operationsAllowed, 355 WebDragOperationsMask operationsAllowed,
356 int modifiers) = 0; 356 int modifiers) = 0;
357 virtual WebDragOperation dragTargetDragOver( 357 virtual WebDragOperation dragTargetDragOver(
358 const WebPoint& clientPoint, const WebPoint& screenPoint, 358 const WebPoint& clientPoint, const WebPoint& screenPoint,
359 WebDragOperationsMask operationsAllowed, 359 WebDragOperationsMask operationsAllowed,
360 int modifiers) = 0; 360 int modifiers) = 0;
361 virtual void dragTargetDragLeave() = 0; 361 virtual void dragTargetDragLeave() = 0;
362 virtual void dragTargetDrop( 362 virtual void dragTargetDrop(
363 const WebDragData&,
363 const WebPoint& clientPoint, const WebPoint& screenPoint, 364 const WebPoint& clientPoint, const WebPoint& screenPoint,
364 int modifiers) = 0; 365 int modifiers) = 0;
365 366
366 // Retrieves a list of spelling markers. 367 // Retrieves a list of spelling markers.
367 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; 368 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0;
368 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) = 0; 369 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) = 0;
369 370
370 // Support for resource loading initiated by plugins ------------------- 371 // Support for resource loading initiated by plugins -------------------
371 372
372 // Returns next unused request identifier which is unique within the 373 // Returns next unused request identifier which is unique within the
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 // context's ability to deal with that failure gracefully can be tested. 488 // context's ability to deal with that failure gracefully can be tested.
488 virtual void forceNextDrawingBufferCreationToFail() = 0; 489 virtual void forceNextDrawingBufferCreationToFail() = 0;
489 490
490 protected: 491 protected:
491 ~WebView() {} 492 ~WebView() {}
492 }; 493 };
493 494
494 } // namespace blink 495 } // namespace blink
495 496
496 #endif 497 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698