OLD | NEW |
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 const WebPoint& screenPoint, | 242 const WebPoint& screenPoint, |
243 WebDragOperationsMask operationsAllowed, | 243 WebDragOperationsMask operationsAllowed, |
244 int modifiers) override; | 244 int modifiers) override; |
245 WebDragOperation dragTargetDragOver( | 245 WebDragOperation dragTargetDragOver( |
246 const WebPoint& clientPoint, | 246 const WebPoint& clientPoint, |
247 const WebPoint& screenPoint, | 247 const WebPoint& screenPoint, |
248 WebDragOperationsMask operationsAllowed, | 248 WebDragOperationsMask operationsAllowed, |
249 int modifiers) override; | 249 int modifiers) override; |
250 void dragTargetDragLeave() override; | 250 void dragTargetDragLeave() override; |
251 void dragTargetDrop( | 251 void dragTargetDrop( |
| 252 const WebDragData&, |
252 const WebPoint& clientPoint, | 253 const WebPoint& clientPoint, |
253 const WebPoint& screenPoint, | 254 const WebPoint& screenPoint, |
254 int modifiers) override; | 255 int modifiers) override; |
255 void spellingMarkers(WebVector<uint32_t>* markers) override; | 256 void spellingMarkers(WebVector<uint32_t>* markers) override; |
256 void removeSpellingMarkersUnderWords(const WebVector<WebString>& words) over
ride; | 257 void removeSpellingMarkersUnderWords(const WebVector<WebString>& words) over
ride; |
257 unsigned long createUniqueIdentifierForRequest() override; | 258 unsigned long createUniqueIdentifierForRequest() override; |
258 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; | 259 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; |
259 void disableDeviceEmulation() override; | 260 void disableDeviceEmulation() override; |
260 WebAXObject accessibilityObject() override; | 261 WebAXObject accessibilityObject() override; |
261 void setSelectionColors(unsigned activeBackgroundColor, | 262 void setSelectionColors(unsigned activeBackgroundColor, |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 }; | 757 }; |
757 | 758 |
758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 759 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
759 // We have no ways to check if the specified WebView is an instance of | 760 // We have no ways to check if the specified WebView is an instance of |
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 761 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
762 | 763 |
763 } // namespace blink | 764 } // namespace blink |
764 | 765 |
765 #endif | 766 #endif |
OLD | NEW |