| 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 bool animate) override; | 479 bool animate) override; |
| 480 | 480 |
| 481 BrowserControls& browserControls(); | 481 BrowserControls& browserControls(); |
| 482 // Called anytime browser controls layout height or content offset have | 482 // Called anytime browser controls layout height or content offset have |
| 483 // changed. | 483 // changed. |
| 484 void didUpdateBrowserControls(); | 484 void didUpdateBrowserControls(); |
| 485 | 485 |
| 486 void forceNextWebGLContextCreationToFail() override; | 486 void forceNextWebGLContextCreationToFail() override; |
| 487 void forceNextDrawingBufferCreationToFail() override; | 487 void forceNextDrawingBufferCreationToFail() override; |
| 488 | 488 |
| 489 CompositorProxyClient* createCompositorProxyClient(); | 489 CompositorProxyClient* createCompositorProxyClient( |
| 490 CompositorProxyClient::Type); |
| 491 |
| 490 IntSize mainFrameSize(); | 492 IntSize mainFrameSize(); |
| 491 WebDisplayMode displayMode() const { return m_displayMode; } | 493 WebDisplayMode displayMode() const { return m_displayMode; } |
| 492 | 494 |
| 493 PageScaleConstraintsSet& pageScaleConstraintsSet() const; | 495 PageScaleConstraintsSet& pageScaleConstraintsSet() const; |
| 494 | 496 |
| 495 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } | 497 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
| 496 | 498 |
| 497 bool isTransparent() const; | 499 bool isTransparent() const; |
| 498 void setIsTransparent(bool value); | 500 void setIsTransparent(bool value); |
| 499 | 501 |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 743 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
| 742 }; | 744 }; |
| 743 | 745 |
| 744 // 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 |
| 745 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 747 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 746 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 748 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 747 | 749 |
| 748 } // namespace blink | 750 } // namespace blink |
| 749 | 751 |
| 750 #endif | 752 #endif |
| OLD | NEW |