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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
264 void hidePopups() override; | 264 void hidePopups() override; |
265 void setPageOverlayColor(WebColor) override; | 265 void setPageOverlayColor(WebColor) override; |
266 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override; | 266 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override; |
267 bool endActiveFlingAnimation() override; | 267 bool endActiveFlingAnimation() override; |
268 void setShowPaintRects(bool) override; | 268 void setShowPaintRects(bool) override; |
269 void setShowDebugBorders(bool); | 269 void setShowDebugBorders(bool); |
270 void setShowFPSCounter(bool) override; | 270 void setShowFPSCounter(bool) override; |
271 void setShowScrollBottleneckRects(bool) override; | 271 void setShowScrollBottleneckRects(bool) override; |
272 void acceptLanguagesChanged() override; | 272 void acceptLanguagesChanged() override; |
273 | 273 |
274 void setCompositedDisplayList(WebCompositedDisplayList*) override; | |
275 WebCompositedDisplayList* compositedDisplayList() override; | |
276 | |
274 // WebViewImpl | 277 // WebViewImpl |
275 void enableViewport(); | 278 void enableViewport(); |
276 void disableViewport(); | 279 void disableViewport(); |
277 | 280 |
278 float defaultMinimumPageScaleFactor() const; | 281 float defaultMinimumPageScaleFactor() const; |
279 float defaultMaximumPageScaleFactor() const; | 282 float defaultMaximumPageScaleFactor() const; |
280 float minimumPageScaleFactor() const; | 283 float minimumPageScaleFactor() const; |
281 float maximumPageScaleFactor() const; | 284 float maximumPageScaleFactor() const; |
282 float clampPageScaleFactorToLimits(float) const; | 285 float clampPageScaleFactorToLimits(float) const; |
283 void resetScrollAndScaleStateImmediately(); | 286 void resetScrollAndScaleStateImmediately(); |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
733 WebLayerTreeView* m_layerTreeView; | 736 WebLayerTreeView* m_layerTreeView; |
734 WebLayer* m_rootLayer; | 737 WebLayer* m_rootLayer; |
735 GraphicsLayer* m_rootGraphicsLayer; | 738 GraphicsLayer* m_rootGraphicsLayer; |
736 GraphicsLayer* m_rootTransformLayer; | 739 GraphicsLayer* m_rootTransformLayer; |
737 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; | 740 OwnPtr<GraphicsLayerFactory> m_graphicsLayerFactory; |
738 bool m_matchesHeuristicsForGpuRasterization; | 741 bool m_matchesHeuristicsForGpuRasterization; |
739 // If true, the graphics context is being restored. | 742 // If true, the graphics context is being restored. |
740 bool m_recreatingGraphicsContext; | 743 bool m_recreatingGraphicsContext; |
741 static const WebInputEvent* m_currentInputEvent; | 744 static const WebInputEvent* m_currentInputEvent; |
742 | 745 |
746 OwnPtr<WebCompositedDisplayList> m_compositedDisplayList; | |
jbroman
2015/08/19 18:33:50
Nit: we could consider making WebCompositedDisplay
pdr.
2015/08/20 04:01:55
This worked out nicely since it moves the WebCDL <
| |
747 | |
743 MediaKeysClientImpl m_mediaKeysClientImpl; | 748 MediaKeysClientImpl m_mediaKeysClientImpl; |
744 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; | 749 OwnPtr<WebActiveGestureAnimation> m_gestureAnimation; |
745 WebPoint m_positionOnFlingStart; | 750 WebPoint m_positionOnFlingStart; |
746 WebPoint m_globalPositionOnFlingStart; | 751 WebPoint m_globalPositionOnFlingStart; |
747 int m_flingModifier; | 752 int m_flingModifier; |
748 bool m_flingSourceDevice; | 753 bool m_flingSourceDevice; |
749 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; | 754 Vector<OwnPtr<LinkHighlightImpl>> m_linkHighlights; |
750 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; | 755 OwnPtr<WebCompositorAnimationTimeline> m_linkHighlightsTimeline; |
751 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; | 756 OwnPtrWillBePersistent<FullscreenController> m_fullscreenController; |
752 | 757 |
(...skipping 13 matching lines...) Expand all Loading... | |
766 }; | 771 }; |
767 | 772 |
768 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); | 773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); |
769 // We have no ways to check if the specified WebView is an instance of | 774 // We have no ways to check if the specified WebView is an instance of |
770 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 775 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
771 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
772 | 777 |
773 } // namespace blink | 778 } // namespace blink |
774 | 779 |
775 #endif | 780 #endif |
OLD | NEW |