| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 | 473 |
| 474 void UpdateBrowserControlsState(WebBrowserControlsState constraint, | 474 void UpdateBrowserControlsState(WebBrowserControlsState constraint, |
| 475 WebBrowserControlsState current, | 475 WebBrowserControlsState current, |
| 476 bool animate) override; | 476 bool animate) override; |
| 477 | 477 |
| 478 BrowserControls& GetBrowserControls() override; | 478 BrowserControls& GetBrowserControls() override; |
| 479 // Called anytime browser controls layout height or content offset have | 479 // Called anytime browser controls layout height or content offset have |
| 480 // changed. | 480 // changed. |
| 481 void DidUpdateBrowserControls() override; | 481 void DidUpdateBrowserControls() override; |
| 482 | 482 |
| 483 void SetScrollBoundaryBehavior(WebScrollBoundaryBehavior) const override; |
| 484 |
| 483 void ForceNextWebGLContextCreationToFail() override; | 485 void ForceNextWebGLContextCreationToFail() override; |
| 484 void ForceNextDrawingBufferCreationToFail() override; | 486 void ForceNextDrawingBufferCreationToFail() override; |
| 485 | 487 |
| 486 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient() override; | 488 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient() override; |
| 487 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient() override; | 489 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient() override; |
| 488 | 490 |
| 489 IntSize MainFrameSize() override; | 491 IntSize MainFrameSize() override; |
| 490 WebDisplayMode DisplayMode() const override { return display_mode_; } | 492 WebDisplayMode DisplayMode() const override { return display_mode_; } |
| 491 | 493 |
| 492 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; | 494 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 748 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 747 }; | 749 }; |
| 748 | 750 |
| 749 // We have no ways to check if the specified WebView is an instance of | 751 // We have no ways to check if the specified WebView is an instance of |
| 750 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 752 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 751 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 753 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 752 | 754 |
| 753 } // namespace blink | 755 } // namespace blink |
| 754 | 756 |
| 755 #endif | 757 #endif |
| OLD | NEW |