| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 IntPoint minimumScrollPosition() const override; | 179 IntPoint minimumScrollPosition() const override; |
| 180 IntPoint maximumScrollPosition() const override; | 180 IntPoint maximumScrollPosition() const override; |
| 181 DoublePoint maximumScrollPositionDouble() const override; | 181 DoublePoint maximumScrollPositionDouble() const override; |
| 182 int visibleHeight() const override { return visibleRect().height(); } | 182 int visibleHeight() const override { return visibleRect().height(); } |
| 183 int visibleWidth() const override { return visibleRect().width(); } | 183 int visibleWidth() const override { return visibleRect().width(); } |
| 184 IntSize contentsSize() const override; | 184 IntSize contentsSize() const override; |
| 185 bool scrollbarsCanBeActive() const override { return false; } | 185 bool scrollbarsCanBeActive() const override { return false; } |
| 186 IntRect scrollableAreaBoundingBox() const override; | 186 IntRect scrollableAreaBoundingBox() const override; |
| 187 bool userInputScrollable(ScrollbarOrientation) const override { return true;
} | 187 bool userInputScrollable(ScrollbarOrientation) const override { return true;
} |
| 188 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } | 188 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } |
| 189 bool scrollAnimatorEnabled() const override; |
| 189 void scrollControlWasSetNeedsPaintInvalidation() override { } | 190 void scrollControlWasSetNeedsPaintInvalidation() override { } |
| 190 void setScrollOffset(const IntPoint&, ScrollType) override; | 191 void setScrollOffset(const IntPoint&, ScrollType) override; |
| 191 void setScrollOffset(const DoublePoint&, ScrollType) override; | 192 void setScrollOffset(const DoublePoint&, ScrollType) override; |
| 192 GraphicsLayer* layerForContainer() const override; | 193 GraphicsLayer* layerForContainer() const override; |
| 193 GraphicsLayer* layerForScrolling() const override; | 194 GraphicsLayer* layerForScrolling() const override; |
| 194 GraphicsLayer* layerForHorizontalScrollbar() const override; | 195 GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 195 GraphicsLayer* layerForVerticalScrollbar() const override; | 196 GraphicsLayer* layerForVerticalScrollbar() const override; |
| 196 | 197 |
| 197 // Used for gathering data on user pinch-zoom statistics. | 198 // Used for gathering data on user pinch-zoom statistics. |
| 198 void userDidChangeScale(); | 199 void userDidChangeScale(); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 float m_scale; | 241 float m_scale; |
| 241 IntSize m_size; | 242 IntSize m_size; |
| 242 float m_topControlsAdjustment; | 243 float m_topControlsAdjustment; |
| 243 float m_maxPageScale; | 244 float m_maxPageScale; |
| 244 bool m_trackPinchZoomStatsForPage; | 245 bool m_trackPinchZoomStatsForPage; |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace blink | 248 } // namespace blink |
| 248 | 249 |
| 249 #endif // VisualViewport_h | 250 #endif // VisualViewport_h |
| OLD | NEW |