| 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 void detachPaintArtifactCompositor(); | 524 void detachPaintArtifactCompositor(); |
| 525 | 525 |
| 526 // Use in Slimming Paint v2 to update the layer tree for the content. | 526 // Use in Slimming Paint v2 to update the layer tree for the content. |
| 527 PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifa
ctCompositor; } | 527 PaintArtifactCompositor& getPaintArtifactCompositor() { return m_paintArtifa
ctCompositor; } |
| 528 | 528 |
| 529 bool isTransparent() const; | 529 bool isTransparent() const; |
| 530 void setIsTransparent(bool value); | 530 void setIsTransparent(bool value); |
| 531 | 531 |
| 532 double lastFrameTimeMonotonic() const { return m_lastFrameTimeMonotonic; } | 532 double lastFrameTimeMonotonic() const { return m_lastFrameTimeMonotonic; } |
| 533 | 533 |
| 534 ChromeClientImpl& chromeClient() const { return *m_chromeClientImpl.get(); } |
| 535 |
| 534 private: | 536 private: |
| 535 InspectorOverlay* inspectorOverlay(); | 537 InspectorOverlay* inspectorOverlay(); |
| 536 | 538 |
| 537 void setPageScaleFactorAndLocation(float, const FloatPoint&); | 539 void setPageScaleFactorAndLocation(float, const FloatPoint&); |
| 538 void propagateZoomFactorToLocalFrameRoots(Frame*, float); | 540 void propagateZoomFactorToLocalFrameRoots(Frame*, float); |
| 539 | 541 |
| 540 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO
rigin, const FloatPoint& visualViewportOrigin); | 542 void scrollAndRescaleViewports(float scaleFactor, const IntPoint& mainFrameO
rigin, const FloatPoint& visualViewportOrigin); |
| 541 | 543 |
| 542 float maximumLegiblePageScale() const; | 544 float maximumLegiblePageScale() const; |
| 543 void refreshPageScaleFactorAfterLayout(); | 545 void refreshPageScaleFactorAfterLayout(); |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 double m_lastFrameTimeMonotonic; | 763 double m_lastFrameTimeMonotonic; |
| 762 }; | 764 }; |
| 763 | 765 |
| 764 // We have no ways to check if the specified WebView is an instance of | 766 // We have no ways to check if the specified WebView is an instance of |
| 765 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 767 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 768 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 767 | 769 |
| 768 } // namespace blink | 770 } // namespace blink |
| 769 | 771 |
| 770 #endif | 772 #endif |
| OLD | NEW |