| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 class GraphicsContext; | 44 class GraphicsContext; |
| 45 class GraphicsLayer; | 45 class GraphicsLayer; |
| 46 class InspectedFrames; | 46 class InspectedFrames; |
| 47 class LayoutObject; | 47 class LayoutObject; |
| 48 class LayoutRect; | 48 class LayoutRect; |
| 49 class PictureSnapshot; | 49 class PictureSnapshot; |
| 50 class PaintLayer; | 50 class PaintLayer; |
| 51 class PaintLayerCompositor; | 51 class PaintLayerCompositor; |
| 52 | 52 |
| 53 typedef String ErrorString; | |
| 54 | |
| 55 class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<Insp
ectorLayerTreeAgent, protocol::Frontend::LayerTree>, public protocol::Dispatcher
::LayerTreeCommandHandler { | 53 class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<Insp
ectorLayerTreeAgent, protocol::Frontend::LayerTree>, public protocol::Dispatcher
::LayerTreeCommandHandler { |
| 56 WTF_MAKE_NONCOPYABLE(InspectorLayerTreeAgent); | 54 WTF_MAKE_NONCOPYABLE(InspectorLayerTreeAgent); |
| 57 public: | 55 public: |
| 58 static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(InspectedFrame
s* inspectedFrames) | 56 static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(InspectedFrame
s* inspectedFrames) |
| 59 { | 57 { |
| 60 return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(inspectedFrames)); | 58 return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(inspectedFrames)); |
| 61 } | 59 } |
| 62 ~InspectorLayerTreeAgent() override; | 60 ~InspectorLayerTreeAgent() override; |
| 63 DECLARE_VIRTUAL_TRACE(); | 61 DECLARE_VIRTUAL_TRACE(); |
| 64 | 62 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 Vector<int, 2> m_pageOverlayLayerIds; | 104 Vector<int, 2> m_pageOverlayLayerIds; |
| 107 | 105 |
| 108 typedef HashMap<String, RefPtr<PictureSnapshot>> SnapshotById; | 106 typedef HashMap<String, RefPtr<PictureSnapshot>> SnapshotById; |
| 109 SnapshotById m_snapshotById; | 107 SnapshotById m_snapshotById; |
| 110 }; | 108 }; |
| 111 | 109 |
| 112 } // namespace blink | 110 } // namespace blink |
| 113 | 111 |
| 114 | 112 |
| 115 #endif // !defined(InspectorLayerTreeAgent_h) | 113 #endif // !defined(InspectorLayerTreeAgent_h) |
| OLD | NEW |