| 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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 // Exposed for tests. | 562 // Exposed for tests. |
| 563 LinkHighlight* linkHighlight() { return m_linkHighlight.get(); } | 563 LinkHighlight* linkHighlight() { return m_linkHighlight.get(); } |
| 564 | 564 |
| 565 WebSettingsImpl* settingsImpl(); | 565 WebSettingsImpl* settingsImpl(); |
| 566 | 566 |
| 567 // Returns the bounding box of the block type node touched by the WebRect. | 567 // Returns the bounding box of the block type node touched by the WebRect. |
| 568 WebRect computeBlockBounds(const WebRect&, bool ignoreClipping); | 568 WebRect computeBlockBounds(const WebRect&, bool ignoreClipping); |
| 569 | 569 |
| 570 WebCore::IntPoint clampOffsetAtScale(const WebCore::IntPoint& offset, float
scale); | 570 WebCore::IntPoint clampOffsetAtScale(const WebCore::IntPoint& offset, float
scale); |
| 571 | 571 |
| 572 WebLayerTreeView* layerTreeView() { return m_layerTreeView; }; |
| 573 |
| 572 private: | 574 private: |
| 573 void refreshPageScaleFactorAfterLayout(); | 575 void refreshPageScaleFactorAfterLayout(); |
| 574 void setUserAgentPageScaleConstraints(WebCore::PageScaleConstraints newConst
raints); | 576 void setUserAgentPageScaleConstraints(WebCore::PageScaleConstraints newConst
raints); |
| 575 float clampPageScaleFactorToLimits(float) const; | 577 float clampPageScaleFactorToLimits(float) const; |
| 576 WebCore::IntSize contentsSize() const; | 578 WebCore::IntSize contentsSize() const; |
| 577 | 579 |
| 578 void resetSavedScrollAndScaleState(); | 580 void resetSavedScrollAndScaleState(); |
| 579 | 581 |
| 580 void updateMainFrameScrollPosition(const WebCore::IntPoint& scrollPosition,
bool programmaticScroll); | 582 void updateMainFrameScrollPosition(const WebCore::IntPoint& scrollPosition,
bool programmaticScroll); |
| 581 | 583 |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 bool m_showPaintRects; | 830 bool m_showPaintRects; |
| 829 bool m_showDebugBorders; | 831 bool m_showDebugBorders; |
| 830 bool m_continuousPaintingEnabled; | 832 bool m_continuousPaintingEnabled; |
| 831 bool m_showScrollBottleneckRects; | 833 bool m_showScrollBottleneckRects; |
| 832 WebColor m_baseBackgroundColor; | 834 WebColor m_baseBackgroundColor; |
| 833 }; | 835 }; |
| 834 | 836 |
| 835 } // namespace WebKit | 837 } // namespace WebKit |
| 836 | 838 |
| 837 #endif | 839 #endif |
| OLD | NEW |