| 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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 | 449 |
| 450 void UpdateBrowserControlsState(WebBrowserControlsState constraint, | 450 void UpdateBrowserControlsState(WebBrowserControlsState constraint, |
| 451 WebBrowserControlsState current, | 451 WebBrowserControlsState current, |
| 452 bool animate) override; | 452 bool animate) override; |
| 453 | 453 |
| 454 BrowserControls& GetBrowserControls() override; | 454 BrowserControls& GetBrowserControls() override; |
| 455 // Called anytime browser controls layout height or content offset have | 455 // Called anytime browser controls layout height or content offset have |
| 456 // changed. | 456 // changed. |
| 457 void DidUpdateBrowserControls() override; | 457 void DidUpdateBrowserControls() override; |
| 458 | 458 |
| 459 void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) override; |
| 460 |
| 459 void ForceNextWebGLContextCreationToFail() override; | 461 void ForceNextWebGLContextCreationToFail() override; |
| 460 void ForceNextDrawingBufferCreationToFail() override; | 462 void ForceNextDrawingBufferCreationToFail() override; |
| 461 | 463 |
| 462 IntSize MainFrameSize() override; | 464 IntSize MainFrameSize() override; |
| 463 WebDisplayMode DisplayMode() const override { return display_mode_; } | 465 WebDisplayMode DisplayMode() const override { return display_mode_; } |
| 464 | 466 |
| 465 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; | 467 PageScaleConstraintsSet& GetPageScaleConstraintsSet() const override; |
| 466 | 468 |
| 467 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; } | 469 FloatSize ElasticOverscroll() const override { return elastic_overscroll_; } |
| 468 | 470 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; | 723 Persistent<ResizeViewportAnchor> resize_viewport_anchor_; |
| 722 }; | 724 }; |
| 723 | 725 |
| 724 // We have no ways to check if the specified WebView is an instance of | 726 // We have no ways to check if the specified WebView is an instance of |
| 725 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 727 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 726 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 727 | 729 |
| 728 } // namespace blink | 730 } // namespace blink |
| 729 | 731 |
| 730 #endif | 732 #endif |
| OLD | NEW |