| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 virtual void dragSourceEndedAt( | 234 virtual void dragSourceEndedAt( |
| 235 const WebPoint& clientPoint, | 235 const WebPoint& clientPoint, |
| 236 const WebPoint& screenPoint, | 236 const WebPoint& screenPoint, |
| 237 WebDragOperation) override; | 237 WebDragOperation) override; |
| 238 virtual void dragSourceSystemDragEnded() override; | 238 virtual void dragSourceSystemDragEnded() override; |
| 239 virtual WebDragOperation dragTargetDragEnter( | 239 virtual WebDragOperation dragTargetDragEnter( |
| 240 const WebDragData&, | 240 const WebDragData&, |
| 241 const WebPoint& clientPoint, | 241 const WebPoint& clientPoint, |
| 242 const WebPoint& screenPoint, | 242 const WebPoint& screenPoint, |
| 243 WebDragOperationsMask operationsAllowed, | 243 WebDragOperationsMask operationsAllowed, |
| 244 int keyModifiers) override; | 244 int modifiers) override; |
| 245 virtual WebDragOperation dragTargetDragOver( | 245 virtual 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 keyModifiers) override; | 249 int modifiers) override; |
| 250 virtual void dragTargetDragLeave() override; | 250 virtual void dragTargetDragLeave() override; |
| 251 virtual void dragTargetDrop( | 251 virtual void dragTargetDrop( |
| 252 const WebPoint& clientPoint, | 252 const WebPoint& clientPoint, |
| 253 const WebPoint& screenPoint, | 253 const WebPoint& screenPoint, |
| 254 int keyModifiers) override; | 254 int modifiers) override; |
| 255 virtual void spellingMarkers(WebVector<uint32_t>* markers) override; | 255 virtual void spellingMarkers(WebVector<uint32_t>* markers) override; |
| 256 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) override; | 256 virtual void removeSpellingMarkersUnderWords(const WebVector<WebString>& wor
ds) override; |
| 257 virtual unsigned long createUniqueIdentifierForRequest() override; | 257 virtual unsigned long createUniqueIdentifierForRequest() override; |
| 258 virtual void inspectElementAt(const WebPoint&) override; | 258 virtual void inspectElementAt(const WebPoint&) override; |
| 259 virtual void setCompositorDeviceScaleFactorOverride(float) override; | 259 virtual void setCompositorDeviceScaleFactorOverride(float) override; |
| 260 virtual void setRootLayerTransform(const WebSize& offset, float scale) overr
ide; | 260 virtual void setRootLayerTransform(const WebSize& offset, float scale) overr
ide; |
| 261 virtual WebDevToolsAgent* devToolsAgent() override; | 261 virtual WebDevToolsAgent* devToolsAgent() override; |
| 262 virtual WebAXObject accessibilityObject() override; | 262 virtual WebAXObject accessibilityObject() override; |
| 263 virtual void setSelectionColors(unsigned activeBackgroundColor, | 263 virtual void setSelectionColors(unsigned activeBackgroundColor, |
| 264 unsigned activeForegroundColor, | 264 unsigned activeForegroundColor, |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 // Converts |pos| from window coordinates to contents coordinates and gets | 574 // Converts |pos| from window coordinates to contents coordinates and gets |
| 575 // the HitTestResult for it. | 575 // the HitTestResult for it. |
| 576 HitTestResult hitTestResultForWindowPos(const IntPoint&); | 576 HitTestResult hitTestResultForWindowPos(const IntPoint&); |
| 577 | 577 |
| 578 // Consolidate some common code between starting a drag over a target and | 578 // Consolidate some common code between starting a drag over a target and |
| 579 // updating a drag over a target. If we're starting a drag, |isEntering| | 579 // updating a drag over a target. If we're starting a drag, |isEntering| |
| 580 // should be true. | 580 // should be true. |
| 581 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, | 581 WebDragOperation dragTargetDragEnterOrOver(const WebPoint& clientPoint, |
| 582 const WebPoint& screenPoint, | 582 const WebPoint& screenPoint, |
| 583 DragAction, | 583 DragAction, |
| 584 int keyModifiers); | 584 int modifiers); |
| 585 | 585 |
| 586 void configureAutoResizeMode(); | 586 void configureAutoResizeMode(); |
| 587 | 587 |
| 588 void initializeLayerTreeView(); | 588 void initializeLayerTreeView(); |
| 589 | 589 |
| 590 void setIsAcceleratedCompositingActive(bool); | 590 void setIsAcceleratedCompositingActive(bool); |
| 591 void doComposite(); | 591 void doComposite(); |
| 592 void reallocateRenderer(); | 592 void reallocateRenderer(); |
| 593 void updateLayerTreeViewport(); | 593 void updateLayerTreeViewport(); |
| 594 void updateLayerTreeBackgroundColor(); | 594 void updateLayerTreeBackgroundColor(); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 }; | 765 }; |
| 766 | 766 |
| 767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 767 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 768 // We have no ways to check if the specified WebView is an instance of | 768 // We have no ways to check if the specified WebView is an instance of |
| 769 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 769 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 770 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 771 | 771 |
| 772 } // namespace blink | 772 } // namespace blink |
| 773 | 773 |
| 774 #endif | 774 #endif |
| OLD | NEW |