| 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 | 464 |
| 465 void UpdateBrowserControlsState(WebBrowserControlsState constraint, | 465 void UpdateBrowserControlsState(WebBrowserControlsState constraint, |
| 466 WebBrowserControlsState current, | 466 WebBrowserControlsState current, |
| 467 bool animate) override; | 467 bool animate) override; |
| 468 | 468 |
| 469 BrowserControls& GetBrowserControls() override; | 469 BrowserControls& GetBrowserControls() override; |
| 470 // Called anytime browser controls layout height or content offset have | 470 // Called anytime browser controls layout height or content offset have |
| 471 // changed. | 471 // changed. |
| 472 void DidUpdateBrowserControls() override; | 472 void DidUpdateBrowserControls() override; |
| 473 | 473 |
| 474 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override; |
| 475 |
| 474 void ForceNextWebGLContextCreationToFail() override; | 476 void ForceNextWebGLContextCreationToFail() override; |
| 475 void ForceNextDrawingBufferCreationToFail() override; | 477 void ForceNextDrawingBufferCreationToFail() override; |
| 476 | 478 |
| 477 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient() override; | 479 CompositorWorkerProxyClient* CreateCompositorWorkerProxyClient() override; |
| 478 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient() override; | 480 AnimationWorkletProxyClient* CreateAnimationWorkletProxyClient() override; |
| 479 | 481 |
| 480 IntSize MainFrameSize() override; | 482 IntSize MainFrameSize() override; |
| 481 WebDisplayMode DisplayMode() const override { return display_mode_; } | 483 WebDisplayMode DisplayMode() const override { return display_mode_; } |
| 482 | 484 |
| 483 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; | 485 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 741 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 740 }; | 742 }; |
| 741 | 743 |
| 742 // We have no ways to check if the specified WebView is an instance of | 744 // We have no ways to check if the specified WebView is an instance of |
| 743 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 745 | 747 |
| 746 } // namespace blink | 748 } // namespace blink |
| 747 | 749 |
| 748 #endif | 750 #endif |
| OLD | NEW |