| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 scrollLayer); | 194 scrollLayer); |
| 195 } | 195 } |
| 196 | 196 |
| 197 void PinchViewports::clearViewportLayersForTreeView(WebLayerTreeView* layerTreeV
iew) const | 197 void PinchViewports::clearViewportLayersForTreeView(WebLayerTreeView* layerTreeV
iew) const |
| 198 { | 198 { |
| 199 ASSERT(layerTreeView); | 199 ASSERT(layerTreeView); |
| 200 | 200 |
| 201 layerTreeView->clearViewportLayers(); | 201 layerTreeView->clearViewportLayers(); |
| 202 } | 202 } |
| 203 | 203 |
| 204 void PinchViewports::notifyAnimationStarted(const GraphicsLayer*, double wallClo
ckTime, double monotonicTime) | 204 void PinchViewports::notifyAnimationStarted(const GraphicsLayer*, double monoton
icTime) |
| 205 { | 205 { |
| 206 } | 206 } |
| 207 | 207 |
| 208 void PinchViewports::paintContents(const GraphicsLayer*, WebCore::GraphicsContex
t&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect& inClip) | 208 void PinchViewports::paintContents(const GraphicsLayer*, WebCore::GraphicsContex
t&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect& inClip) |
| 209 { | 209 { |
| 210 } | 210 } |
| 211 | 211 |
| 212 String PinchViewports::debugName(const GraphicsLayer* graphicsLayer) | 212 String PinchViewports::debugName(const GraphicsLayer* graphicsLayer) |
| 213 { | 213 { |
| 214 String name; | 214 String name; |
| 215 if (graphicsLayer == m_innerViewportContainerLayer.get()) { | 215 if (graphicsLayer == m_innerViewportContainerLayer.get()) { |
| 216 name = "Inner Viewport Container Layer"; | 216 name = "Inner Viewport Container Layer"; |
| 217 } else if (graphicsLayer == m_pageScaleLayer.get()) { | 217 } else if (graphicsLayer == m_pageScaleLayer.get()) { |
| 218 name = "Page Scale Layer"; | 218 name = "Page Scale Layer"; |
| 219 } else if (graphicsLayer == m_innerViewportScrollLayer.get()) { | 219 } else if (graphicsLayer == m_innerViewportScrollLayer.get()) { |
| 220 name = "Inner Viewport Scroll Layer"; | 220 name = "Inner Viewport Scroll Layer"; |
| 221 } else if (graphicsLayer == m_overlayScrollbarHorizontal.get()) { | 221 } else if (graphicsLayer == m_overlayScrollbarHorizontal.get()) { |
| 222 name = "Overlay Scrollbar Horizontal Layer"; | 222 name = "Overlay Scrollbar Horizontal Layer"; |
| 223 } else if (graphicsLayer == m_overlayScrollbarVertical.get()) { | 223 } else if (graphicsLayer == m_overlayScrollbarVertical.get()) { |
| 224 name = "Overlay Scrollbar Vertical Layer"; | 224 name = "Overlay Scrollbar Vertical Layer"; |
| 225 } else { | 225 } else { |
| 226 ASSERT_NOT_REACHED(); | 226 ASSERT_NOT_REACHED(); |
| 227 } | 227 } |
| 228 | 228 |
| 229 return name; | 229 return name; |
| 230 } | 230 } |
| 231 | 231 |
| 232 } // namespace blink | 232 } // namespace blink |
| OLD | NEW |