| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 bool animate) override; | 477 bool animate) override; |
| 478 | 478 |
| 479 BrowserControls& browserControls(); | 479 BrowserControls& browserControls(); |
| 480 // Called anytime browser controls layout height or content offset have | 480 // Called anytime browser controls layout height or content offset have |
| 481 // changed. | 481 // changed. |
| 482 void didUpdateBrowserControls(); | 482 void didUpdateBrowserControls(); |
| 483 | 483 |
| 484 void forceNextWebGLContextCreationToFail() override; | 484 void forceNextWebGLContextCreationToFail() override; |
| 485 void forceNextDrawingBufferCreationToFail() override; | 485 void forceNextDrawingBufferCreationToFail() override; |
| 486 | 486 |
| 487 CompositorProxyClient* createCompositorProxyClient(); | 487 CompositorWorkerProxyClient* createCompositorWorkerProxyClient(); |
| 488 AnimationWorkletProxyClient* createAnimationWorkletProxyClient(); |
| 489 |
| 488 IntSize mainFrameSize(); | 490 IntSize mainFrameSize(); |
| 489 WebDisplayMode displayMode() const { return m_displayMode; } | 491 WebDisplayMode displayMode() const { return m_displayMode; } |
| 490 | 492 |
| 491 PageScaleConstraintsSet& pageScaleConstraintsSet() const; | 493 PageScaleConstraintsSet& pageScaleConstraintsSet() const; |
| 492 | 494 |
| 493 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } | 495 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
| 494 | 496 |
| 495 bool isTransparent() const; | 497 bool isTransparent() const; |
| 496 void setIsTransparent(bool value); | 498 void setIsTransparent(bool value); |
| 497 | 499 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 float deviceScaleFactor() const; | 594 float deviceScaleFactor() const; |
| 593 | 595 |
| 594 void setRootGraphicsLayer(GraphicsLayer*); | 596 void setRootGraphicsLayer(GraphicsLayer*); |
| 595 void setRootLayer(WebLayer*); | 597 void setRootLayer(WebLayer*); |
| 596 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); | 598 void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
| 597 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); | 599 void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
| 598 | 600 |
| 599 LocalFrame* focusedLocalFrameInWidget() const; | 601 LocalFrame* focusedLocalFrameInWidget() const; |
| 600 LocalFrame* focusedLocalFrameAvailableForIme() const; | 602 LocalFrame* focusedLocalFrameAvailableForIme() const; |
| 601 | 603 |
| 604 CompositorMutatorImpl& mutator(); |
| 605 |
| 602 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) | 606 WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
| 603 WebSpellCheckClient* m_spellCheckClient; | 607 WebSpellCheckClient* m_spellCheckClient; |
| 604 | 608 |
| 605 Persistent<ChromeClientImpl> m_chromeClientImpl; | 609 Persistent<ChromeClientImpl> m_chromeClientImpl; |
| 606 ContextMenuClientImpl m_contextMenuClientImpl; | 610 ContextMenuClientImpl m_contextMenuClientImpl; |
| 607 EditorClientImpl m_editorClientImpl; | 611 EditorClientImpl m_editorClientImpl; |
| 608 SpellCheckerClientImpl m_spellCheckerClientImpl; | 612 SpellCheckerClientImpl m_spellCheckerClientImpl; |
| 609 StorageClientImpl m_storageClientImpl; | 613 StorageClientImpl m_storageClientImpl; |
| 610 | 614 |
| 611 WebSize m_size; | 615 WebSize m_size; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 743 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 740 }; | 744 }; |
| 741 | 745 |
| 742 // We have no ways to check if the specified WebView is an instance of | 746 // We have no ways to check if the specified WebView is an instance of |
| 743 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 747 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 745 | 749 |
| 746 } // namespace blink | 750 } // namespace blink |
| 747 | 751 |
| 748 #endif | 752 #endif |
| OLD | NEW |