| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 void paint(const IntRect* interestRect, | 254 void paint(const IntRect* interestRect, |
| 255 GraphicsContext::DisabledMode = GraphicsContext::NothingDisabled); | 255 GraphicsContext::DisabledMode = GraphicsContext::NothingDisabled); |
| 256 | 256 |
| 257 // WebLayerScrollClient implementation. | 257 // WebLayerScrollClient implementation. |
| 258 void didScroll() override; | 258 void didScroll() override; |
| 259 | 259 |
| 260 // cc::LayerClient implementation. | 260 // cc::LayerClient implementation. |
| 261 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo( | 261 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo( |
| 262 cc::Layer*) override; | 262 cc::Layer*) override; |
| 263 void didUpdateMainThreadScrollingReasons() override; | 263 void didUpdateMainThreadScrollingReasons() override; |
| 264 void didChangeScrollbarsHidden(bool); |
| 264 | 265 |
| 265 PaintController& getPaintController(); | 266 PaintController& getPaintController(); |
| 266 | 267 |
| 267 // Exposed for tests. | 268 // Exposed for tests. |
| 268 WebLayer* contentsLayer() const { return m_contentsLayer; } | 269 WebLayer* contentsLayer() const { return m_contentsLayer; } |
| 269 | 270 |
| 270 void setElementId(const CompositorElementId&); | 271 void setElementId(const CompositorElementId&); |
| 271 CompositorElementId elementId() const; | 272 CompositorElementId elementId() const; |
| 272 | 273 |
| 273 void setCompositorMutableProperties(uint32_t); | 274 void setCompositorMutableProperties(uint32_t); |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 }; | 409 }; |
| 409 | 410 |
| 410 } // namespace blink | 411 } // namespace blink |
| 411 | 412 |
| 412 #ifndef NDEBUG | 413 #ifndef NDEBUG |
| 413 // Outside the blink namespace for ease of invocation from gdb. | 414 // Outside the blink namespace for ease of invocation from gdb. |
| 414 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); | 415 void PLATFORM_EXPORT showGraphicsLayerTree(const blink::GraphicsLayer*); |
| 415 #endif | 416 #endif |
| 416 | 417 |
| 417 #endif // GraphicsLayer_h | 418 #endif // GraphicsLayer_h |
| OLD | NEW |