| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 void enableAutoResizeMode(const WebSize& minSize, | 225 void enableAutoResizeMode(const WebSize& minSize, |
| 226 const WebSize& maxSize) override; | 226 const WebSize& maxSize) override; |
| 227 void disableAutoResizeMode() override; | 227 void disableAutoResizeMode() override; |
| 228 void performMediaPlayerAction(const WebMediaPlayerAction& action, | 228 void performMediaPlayerAction(const WebMediaPlayerAction& action, |
| 229 const WebPoint& location) override; | 229 const WebPoint& location) override; |
| 230 void performPluginAction(const WebPluginAction&, const WebPoint&) override; | 230 void performPluginAction(const WebPluginAction&, const WebPoint&) override; |
| 231 WebHitTestResult hitTestResultAt(const WebPoint&) override; | 231 WebHitTestResult hitTestResultAt(const WebPoint&) override; |
| 232 WebHitTestResult hitTestResultForTap(const WebPoint&, | 232 WebHitTestResult hitTestResultForTap(const WebPoint&, |
| 233 const WebSize&) override; | 233 const WebSize&) override; |
| 234 void dragSourceEndedAt(const WebPoint& clientPoint, | 234 void dragSourceEndedAt(const WebPoint& pointInViewport, |
| 235 const WebPoint& screenPoint, | 235 const WebPoint& screenPoint, |
| 236 WebDragOperation) override; | 236 WebDragOperation) override; |
| 237 void dragSourceSystemDragEnded() override; | 237 void dragSourceSystemDragEnded() override; |
| 238 WebDragOperation dragTargetDragEnter(const WebDragData&, | 238 WebDragOperation dragTargetDragEnter(const WebDragData&, |
| 239 const WebPoint& clientPoint, | 239 const WebPoint& pointInViewport, |
| 240 const WebPoint& screenPoint, | 240 const WebPoint& screenPoint, |
| 241 WebDragOperationsMask operationsAllowed, | 241 WebDragOperationsMask operationsAllowed, |
| 242 int modifiers) override; | 242 int modifiers) override; |
| 243 WebDragOperation dragTargetDragOver(const WebPoint& clientPoint, | 243 WebDragOperation dragTargetDragOver(const WebPoint& pointInViewport, |
| 244 const WebPoint& screenPoint, | 244 const WebPoint& screenPoint, |
| 245 WebDragOperationsMask operationsAllowed, | 245 WebDragOperationsMask operationsAllowed, |
| 246 int modifiers) override; | 246 int modifiers) override; |
| 247 void dragTargetDragLeave() override; | 247 void dragTargetDragLeave() override; |
| 248 void dragTargetDrop(const WebDragData&, | 248 void dragTargetDrop(const WebDragData&, |
| 249 const WebPoint& clientPoint, | 249 const WebPoint& pointInViewport, |
| 250 const WebPoint& screenPoint, | 250 const WebPoint& screenPoint, |
| 251 int modifiers) override; | 251 int modifiers) override; |
| 252 void spellingMarkers(WebVector<uint32_t>* markers) override; | 252 void spellingMarkers(WebVector<uint32_t>* markers) override; |
| 253 void removeSpellingMarkersUnderWords( | 253 void removeSpellingMarkersUnderWords( |
| 254 const WebVector<WebString>& words) override; | 254 const WebVector<WebString>& words) override; |
| 255 unsigned long createUniqueIdentifierForRequest() override; | 255 unsigned long createUniqueIdentifierForRequest() override; |
| 256 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; | 256 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; |
| 257 void disableDeviceEmulation() override; | 257 void disableDeviceEmulation() override; |
| 258 WebAXObject accessibilityObject() override; | 258 WebAXObject accessibilityObject() override; |
| 259 void setSelectionColors(unsigned activeBackgroundColor, | 259 void setSelectionColors(unsigned activeBackgroundColor, |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 bool scrollViewWithKeyboard(int keyCode, int modifiers); | 565 bool scrollViewWithKeyboard(int keyCode, int modifiers); |
| 566 | 566 |
| 567 void hideSelectPopup(); | 567 void hideSelectPopup(); |
| 568 | 568 |
| 569 HitTestResult hitTestResultForRootFramePos(const IntPoint&); | 569 HitTestResult hitTestResultForRootFramePos(const IntPoint&); |
| 570 HitTestResult hitTestResultForViewportPos(const IntPoint&); | 570 HitTestResult hitTestResultForViewportPos(const IntPoint&); |
| 571 | 571 |
| 572 // Consolidate some common code between starting a drag over a target and | 572 // Consolidate some common code between starting a drag over a target and |
| 573 // updating a drag over a target. If we're starting a drag, |isEntering| | 573 // updating a drag over a target. If we're starting a drag, |isEntering| |
| 574 // should be true. | 574 // should be true. |
| 575 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, | 575 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& pointInViewport, |
| 576 const WebPoint& screenPoint, | 576 const WebPoint& screenPoint, |
| 577 DragAction, | 577 DragAction, |
| 578 int modifiers); | 578 int modifiers); |
| 579 | 579 |
| 580 void configureAutoResizeMode(); | 580 void configureAutoResizeMode(); |
| 581 | 581 |
| 582 void initializeLayerTreeView(); | 582 void initializeLayerTreeView(); |
| 583 | 583 |
| 584 void setIsAcceleratedCompositingActive(bool); | 584 void setIsAcceleratedCompositingActive(bool); |
| 585 void doComposite(); | 585 void doComposite(); |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 777 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 778 }; | 778 }; |
| 779 | 779 |
| 780 // We have no ways to check if the specified WebView is an instance of | 780 // We have no ways to check if the specified WebView is an instance of |
| 781 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 781 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 782 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 783 | 783 |
| 784 } // namespace blink | 784 } // namespace blink |
| 785 | 785 |
| 786 #endif | 786 #endif |
| OLD | NEW |