| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void updateScrollOffset(const ScrollOffset&, ScrollType) override; | 193 void updateScrollOffset(const ScrollOffset&, ScrollType) override; |
| 194 GraphicsLayer* layerForContainer() const override; | 194 GraphicsLayer* layerForContainer() const override; |
| 195 GraphicsLayer* layerForScrolling() const override; | 195 GraphicsLayer* layerForScrolling() const override; |
| 196 GraphicsLayer* layerForHorizontalScrollbar() const override; | 196 GraphicsLayer* layerForHorizontalScrollbar() const override; |
| 197 GraphicsLayer* layerForVerticalScrollbar() const override; | 197 GraphicsLayer* layerForVerticalScrollbar() const override; |
| 198 Widget* getWidget() override; | 198 Widget* getWidget() override; |
| 199 CompositorAnimationHost* compositorAnimationHost() const override; | 199 CompositorAnimationHost* compositorAnimationHost() const override; |
| 200 CompositorAnimationTimeline* compositorAnimationTimeline() const override; | 200 CompositorAnimationTimeline* compositorAnimationTimeline() const override; |
| 201 IntRect visibleContentRect( | 201 IntRect visibleContentRect( |
| 202 IncludeScrollbarsInRect = ExcludeScrollbars) const override; | 202 IncludeScrollbarsInRect = ExcludeScrollbars) const override; |
| 203 RefPtr<WebTaskRunner> getTimerTaskRunner() const final; |
| 203 | 204 |
| 204 // Visual Viewport API implementation. | 205 // Visual Viewport API implementation. |
| 205 double scrollLeft(); | 206 double scrollLeft(); |
| 206 double scrollTop(); | 207 double scrollTop(); |
| 207 double clientWidth(); | 208 double clientWidth(); |
| 208 double clientHeight(); | 209 double clientHeight(); |
| 209 double pageScale(); | 210 double pageScale(); |
| 210 | 211 |
| 211 // Used for gathering data on user pinch-zoom statistics. | 212 // Used for gathering data on user pinch-zoom statistics. |
| 212 void userDidChangeScale(); | 213 void userDidChangeScale(); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 float m_scale; | 269 float m_scale; |
| 269 IntSize m_size; | 270 IntSize m_size; |
| 270 float m_browserControlsAdjustment; | 271 float m_browserControlsAdjustment; |
| 271 float m_maxPageScale; | 272 float m_maxPageScale; |
| 272 bool m_trackPinchZoomStatsForPage; | 273 bool m_trackPinchZoomStatsForPage; |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 } // namespace blink | 276 } // namespace blink |
| 276 | 277 |
| 277 #endif // VisualViewport_h | 278 #endif // VisualViewport_h |
| OLD | NEW |