| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // thread. | 150 // thread. |
| 151 virtual void applyViewportDeltas( | 151 virtual void applyViewportDeltas( |
| 152 const WebSize& scrollDelta, | 152 const WebSize& scrollDelta, |
| 153 float scaleFactor, | 153 float scaleFactor, |
| 154 float topControlsShownRatioDelta) { } | 154 float topControlsShownRatioDelta) { } |
| 155 | 155 |
| 156 // Applies viewport related properties during a commit from the compositor | 156 // Applies viewport related properties during a commit from the compositor |
| 157 // thread. | 157 // thread. |
| 158 virtual void applyViewportDeltas( | 158 virtual void applyViewportDeltas( |
| 159 const WebFloatSize& pinchViewportDelta, | 159 const WebFloatSize& pinchViewportDelta, |
| 160 const WebFloatSize& mainFrameDelta, | 160 const WebFloatSize& layoutViewportDelta, |
| 161 const WebFloatSize& elasticOverscrollDelta, | 161 const WebFloatSize& elasticOverscrollDelta, |
| 162 float scaleFactor, | 162 float scaleFactor, |
| 163 float topControlsShownRatioDelta) { } | 163 float topControlsShownRatioDelta) { } |
| 164 | 164 |
| 165 // Records composite or render events for the Performance Timeline. | 165 // Records composite or render events for the Performance Timeline. |
| 166 // See http://w3c.github.io/frame-timing/ for definition of terms. | 166 // See http://w3c.github.io/frame-timing/ for definition of terms. |
| 167 enum FrameTimingEventType { | 167 enum FrameTimingEventType { |
| 168 CompositeEvent, | 168 CompositeEvent, |
| 169 RenderEvent, | 169 RenderEvent, |
| 170 }; | 170 }; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 // control what are valid states for top controls and if it should animate. | 282 // control what are valid states for top controls and if it should animate. |
| 283 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC
ontrolsState current, bool animate) { } | 283 virtual void updateTopControlsState(WebTopControlsState constraints, WebTopC
ontrolsState current, bool animate) { } |
| 284 | 284 |
| 285 protected: | 285 protected: |
| 286 ~WebWidget() { } | 286 ~WebWidget() { } |
| 287 }; | 287 }; |
| 288 | 288 |
| 289 } // namespace blink | 289 } // namespace blink |
| 290 | 290 |
| 291 #endif | 291 #endif |
| OLD | NEW |