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

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

Issue 879333002: Support buttons attribute for drag event (blink side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 // Notfies the WebView that the system drag and drop operation has ended. 337 // Notfies the WebView that the system drag and drop operation has ended.
338 virtual void dragSourceSystemDragEnded() = 0; 338 virtual void dragSourceSystemDragEnded() = 0;
339 339
340 // Callback methods when a drag-and-drop operation is trying to drop 340 // Callback methods when a drag-and-drop operation is trying to drop
341 // something on the WebView. 341 // something on the WebView.
342 virtual WebDragOperation dragTargetDragEnter( 342 virtual WebDragOperation dragTargetDragEnter(
343 const WebDragData&, 343 const WebDragData&,
344 const WebPoint& clientPoint, const WebPoint& screenPoint, 344 const WebPoint& clientPoint, const WebPoint& screenPoint,
345 WebDragOperationsMask operationsAllowed, 345 WebDragOperationsMask operationsAllowed,
346 int keyModifiers) = 0; 346 int modifiers) = 0;
347 virtual WebDragOperation dragTargetDragOver( 347 virtual WebDragOperation dragTargetDragOver(
348 const WebPoint& clientPoint, const WebPoint& screenPoint, 348 const WebPoint& clientPoint, const WebPoint& screenPoint,
349 WebDragOperationsMask operationsAllowed, 349 WebDragOperationsMask operationsAllowed,
350 int keyModifiers) = 0; 350 int modifiers) = 0;
351 virtual void dragTargetDragLeave() = 0; 351 virtual void dragTargetDragLeave() = 0;
352 virtual void dragTargetDrop( 352 virtual void dragTargetDrop(
353 const WebPoint& clientPoint, const WebPoint& screenPoint, 353 const WebPoint& clientPoint, const WebPoint& screenPoint,
354 int keyModifiers) = 0; 354 int modifiers) = 0;
355 355
356 // Retrieves a list of spelling markers. 356 // Retrieves a list of spelling markers.
357 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0; 357 virtual void spellingMarkers(WebVector<uint32_t>* markers) = 0;
358 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) = 0; 358 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor ds) = 0;
359 359
360 // Support for resource loading initiated by plugins ------------------- 360 // Support for resource loading initiated by plugins -------------------
361 361
362 // Returns next unused request identifier which is unique within the 362 // Returns next unused request identifier which is unique within the
363 // parent Page. 363 // parent Page.
364 virtual unsigned long createUniqueIdentifierForRequest() = 0; 364 virtual unsigned long createUniqueIdentifierForRequest() = 0;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 // event gets generated/tested. 489 // event gets generated/tested.
490 virtual void forceNextWebGLContextCreationToFail() = 0; 490 virtual void forceNextWebGLContextCreationToFail() = 0;
491 491
492 protected: 492 protected:
493 ~WebView() {} 493 ~WebView() {}
494 }; 494 };
495 495
496 } // namespace blink 496 } // namespace blink
497 497
498 #endif 498 #endif
OLDNEW
« LayoutTests/fast/events/mouse-event-buttons-attribute.html ('K') | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698