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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 | 489 |
490 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt
ate current, bool animate) override; | 490 void updateTopControlsState(WebTopControlsState constraint, WebTopControlsSt
ate current, bool animate) override; |
491 | 491 |
492 TopControls& topControls(); | 492 TopControls& topControls(); |
493 // Called anytime top controls layout height or content offset have changed. | 493 // Called anytime top controls layout height or content offset have changed. |
494 void didUpdateTopControls(); | 494 void didUpdateTopControls(); |
495 | 495 |
496 void forceNextWebGLContextCreationToFail() override; | 496 void forceNextWebGLContextCreationToFail() override; |
497 void forceNextDrawingBufferCreationToFail() override; | 497 void forceNextDrawingBufferCreationToFail() override; |
498 | 498 |
499 CompositorProxyClient* createCompositorProxyClient(); | 499 CompositorProxyClient* createCompositorProxyClient(WorkerClients&); |
500 IntSize mainFrameSize(); | 500 IntSize mainFrameSize(); |
501 WebDisplayMode displayMode() const { return m_displayMode; } | 501 WebDisplayMode displayMode() const { return m_displayMode; } |
502 | 502 |
503 PageScaleConstraintsSet& pageScaleConstraintsSet() const; | 503 PageScaleConstraintsSet& pageScaleConstraintsSet() const; |
504 | 504 |
505 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } | 505 FloatSize elasticOverscroll() const { return m_elasticOverscroll; } |
506 | 506 |
507 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree | 507 // Attaches the PaintArtifactCompositor's tree to this WebView's layer tree |
508 // view. | 508 // view. |
509 void attachPaintArtifactCompositor(); | 509 void attachPaintArtifactCompositor(); |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 bool m_overrideCompositorVisibility; | 772 bool m_overrideCompositorVisibility; |
773 }; | 773 }; |
774 | 774 |
775 // We have no ways to check if the specified WebView is an instance of | 775 // We have no ways to check if the specified WebView is an instance of |
776 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
778 | 778 |
779 } // namespace blink | 779 } // namespace blink |
780 | 780 |
781 #endif | 781 #endif |
OLD | NEW |