| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 IntRect scrollableAreaBoundingBox() const override; | 184 IntRect scrollableAreaBoundingBox() const override; |
| 185 bool userInputScrollable(ScrollbarOrientation) const override { return true; } | 185 bool userInputScrollable(ScrollbarOrientation) const override { return true; } |
| 186 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } | 186 bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } |
| 187 bool scrollAnimatorEnabled() const override; | 187 bool scrollAnimatorEnabled() const override; |
| 188 void scrollControlWasSetNeedsPaintInvalidation() override {} | 188 void scrollControlWasSetNeedsPaintInvalidation() override {} |
| 189 void updateScrollOffset(const ScrollOffset&, ScrollType) override; | 189 void updateScrollOffset(const ScrollOffset&, ScrollType) override; |
| 190 GraphicsLayer* layerForContainer() const override; | 190 GraphicsLayer* layerForContainer() const override; |
| 191 GraphicsLayer* layerForScrolling() const override; | 191 GraphicsLayer* layerForScrolling() const override; |
| 192 GraphicsLayer* layerForHorizontalScrollbar() const override; | 192 GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 193 GraphicsLayer* layerForVerticalScrollbar() const override; | 193 GraphicsLayer* layerForVerticalScrollbar() const override; |
| 194 FrameViewBase* getWidget() override; | 194 FrameViewBase* getFrameViewBase() override; |
| 195 CompositorAnimationHost* compositorAnimationHost() const override; | 195 CompositorAnimationHost* compositorAnimationHost() const override; |
| 196 CompositorAnimationTimeline* compositorAnimationTimeline() const override; | 196 CompositorAnimationTimeline* compositorAnimationTimeline() const override; |
| 197 IntRect visibleContentRect( | 197 IntRect visibleContentRect( |
| 198 IncludeScrollbarsInRect = ExcludeScrollbars) const override; | 198 IncludeScrollbarsInRect = ExcludeScrollbars) const override; |
| 199 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; | 199 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; |
| 200 | 200 |
| 201 // Visual Viewport API implementation. | 201 // Visual Viewport API implementation. |
| 202 double scrollLeft(); | 202 double scrollLeft(); |
| 203 double scrollTop(); | 203 double scrollTop(); |
| 204 double clientWidth(); | 204 double clientWidth(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 float m_scale; | 265 float m_scale; |
| 266 IntSize m_size; | 266 IntSize m_size; |
| 267 float m_browserControlsAdjustment; | 267 float m_browserControlsAdjustment; |
| 268 float m_maxPageScale; | 268 float m_maxPageScale; |
| 269 bool m_trackPinchZoomStatsForPage; | 269 bool m_trackPinchZoomStatsForPage; |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 } // namespace blink | 272 } // namespace blink |
| 273 | 273 |
| 274 #endif // VisualViewport_h | 274 #endif // VisualViewport_h |
| OLD | NEW |