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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 class PaintLayerCompositor; | 80 class PaintLayerCompositor; |
81 class TopControls; | 81 class TopControls; |
82 class UserGestureToken; | 82 class UserGestureToken; |
83 class WebActiveGestureAnimation; | 83 class WebActiveGestureAnimation; |
84 class WebDevToolsAgentImpl; | 84 class WebDevToolsAgentImpl; |
85 class WebElement; | 85 class WebElement; |
86 class WebLayerTreeView; | 86 class WebLayerTreeView; |
87 class WebLocalFrame; | 87 class WebLocalFrame; |
88 class WebLocalFrameImpl; | 88 class WebLocalFrameImpl; |
89 class WebImage; | 89 class WebImage; |
| 90 class CompositorMutatorImpl; |
90 class WebPagePopupImpl; | 91 class WebPagePopupImpl; |
91 class WebPlugin; | 92 class WebPlugin; |
92 class WebRemoteFrame; | 93 class WebRemoteFrame; |
93 class WebSelection; | 94 class WebSelection; |
94 class WebSettingsImpl; | 95 class WebSettingsImpl; |
95 class WebViewScheduler; | 96 class WebViewScheduler; |
96 | 97 |
97 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) | 98 class WEB_EXPORT WebViewImpl final : WTF_NON_EXPORTED_BASE(public WebView) |
98 , public RefCounted<WebViewImpl> | 99 , public RefCounted<WebViewImpl> |
99 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) | 100 , WTF_NON_EXPORTED_BASE(public WebGestureCurveTarget) |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 | 496 |
496 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt
ate current, bool animate) override; | 497 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt
ate current, bool animate) override; |
497 | 498 |
498 TopControls& topControls(); | 499 TopControls& topControls(); |
499 // Called anytime top controls layout height or content offset have changed. | 500 // Called anytime top controls layout height or content offset have changed. |
500 void didUpdateTopControls(); | 501 void didUpdateTopControls(); |
501 | 502 |
502 void forceNextWebGLContextCreationToFail() override; | 503 void forceNextWebGLContextCreationToFail() override; |
503 void forceNextDrawingBufferCreationToFail() override; | 504 void forceNextDrawingBufferCreationToFail() override; |
504 | 505 |
| 506 CompositorProxyClient* createCompositorProxyClient(); |
505 IntSize mainFrameSize(); | 507 IntSize mainFrameSize(); |
506 WebDisplayMode displayMode() const { return m_displayMode; } | 508 WebDisplayMode displayMode() const { return m_displayMode; } |
507 | 509 |
508 PageScaleConstraintsSet& pageScaleConstraintsSet() const; | 510 PageScaleConstraintsSet& pageScaleConstraintsSet() const; |
509 | 511 |
510 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } | 512 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
511 | 513 |
512 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree | 514 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree |
513 // view. | 515 // view. |
514 void attachPaintArtifactCompositor(); | 516 void attachPaintArtifactCompositor(); |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 }; | 758 }; |
757 | 759 |
758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 760 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 | 761 // We have no ways to check if the specified WebView is an instance of |
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 762 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
762 | 764 |
763 } // namespace blink | 765 } // namespace blink |
764 | 766 |
765 #endif | 767 #endif |
OLD | NEW |