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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // Use in Slimming Paint v2 to update the layer tree for the content. | 529 // Use in Slimming Paint v2 to update the layer tree for the content. |
530 PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifa
ctCompositor; } | 530 PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifa
ctCompositor; } |
531 | 531 |
532 bool isTransparent() const; | 532 bool isTransparent() const; |
533 void setIsTransparent(bool value); | 533 void setIsTransparent(bool value); |
534 | 534 |
535 private: | 535 private: |
536 InspectorOverlay* inspectorOverlay(); | 536 InspectorOverlay* inspectorOverlay(); |
537 | 537 |
538 void setPageScaleFactorAndLocation(float, const FloatPoint&); | 538 void setPageScaleFactorAndLocation(float, const FloatPoint&); |
| 539 void propagateZoomToLocalFrameRoots(Frame*); |
539 | 540 |
540 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO
rigin, const FloatPoint& visualViewportOrigin); | 541 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO
rigin, const FloatPoint& visualViewportOrigin); |
541 | 542 |
542 float maximumLegiblePageScale() const; | 543 float maximumLegiblePageScale() const; |
543 void refreshPageScaleFactorAfterLayout(); | 544 void refreshPageScaleFactorAfterLayout(); |
544 void resumeTreeViewCommitsIfRenderingReady(); | 545 void resumeTreeViewCommitsIfRenderingReady(); |
545 IntSize contentsSize() const; | 546 IntSize contentsSize() const; |
546 | 547 |
547 void performResize(); | 548 void performResize(); |
548 void resizeViewWhileAnchored(FrameView*); | 549 void resizeViewWhileAnchored(FrameView*); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 }; | 772 }; |
772 | 773 |
773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 774 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
774 // 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 |
775 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 776 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
777 | 778 |
778 } // namespace blink | 779 } // namespace blink |
779 | 780 |
780 #endif | 781 #endif |
OLD | NEW |