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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 years, 6 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const WebPoint& screenPoint, 244 const WebPoint& screenPoint,
245 WebDragOperationsMask operationsAllowed, 245 WebDragOperationsMask operationsAllowed,
246 int modifiers) override; 246 int modifiers) override;
247 WebDragOperation dragTargetDragOver( 247 WebDragOperation dragTargetDragOver(
248 const WebPoint& clientPoint, 248 const WebPoint& clientPoint,
249 const WebPoint& screenPoint, 249 const WebPoint& screenPoint,
250 WebDragOperationsMask operationsAllowed, 250 WebDragOperationsMask operationsAllowed,
251 int modifiers) override; 251 int modifiers) override;
252 void dragTargetDragLeave() override; 252 void dragTargetDragLeave() override;
253 void dragTargetDrop( 253 void dragTargetDrop(
254 const WebDragData&,
254 const WebPoint& clientPoint, 255 const WebPoint& clientPoint,
255 const WebPoint& screenPoint, 256 const WebPoint& screenPoint,
256 int modifiers) override; 257 int modifiers) override;
257 void spellingMarkers(WebVector<uint32_t>* markers) override; 258 void spellingMarkers(WebVector<uint32_t>* markers) override;
258 void removeSpellingMarkersUnderWords(const WebVector<WebString>& words) over ride; 259 void removeSpellingMarkersUnderWords(const WebVector<WebString>& words) over ride;
259 unsigned long createUniqueIdentifierForRequest() override; 260 unsigned long createUniqueIdentifierForRequest() override;
260 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; 261 void enableDeviceEmulation(const WebDeviceEmulationParams&) override;
261 void disableDeviceEmulation() override; 262 void disableDeviceEmulation() override;
262 WebAXObject accessibilityObject() override; 263 WebAXObject accessibilityObject() override;
263 void setSelectionColors(unsigned activeBackgroundColor, 264 void setSelectionColors(unsigned activeBackgroundColor,
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 double m_lastFrameTimeMonotonic; 762 double m_lastFrameTimeMonotonic;
762 }; 763 };
763 764
764 // We have no ways to check if the specified WebView is an instance of 765 // We have no ways to check if the specified WebView is an instance of
765 // WebViewImpl because WebViewImpl is the only implementation of WebView. 766 // WebViewImpl because WebViewImpl is the only implementation of WebView.
766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 767 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
767 768
768 } // namespace blink 769 } // namespace blink
769 770
770 #endif 771 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/DragData.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698