| 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 25 matching lines...) Expand all Loading... |
| 36 #include "core/inspector/InspectorBaseAgent.h" | 36 #include "core/inspector/InspectorBaseAgent.h" |
| 37 #include "core/rendering/RenderLayer.h" | 37 #include "core/rendering/RenderLayer.h" |
| 38 #include "platform/Timer.h" | 38 #include "platform/Timer.h" |
| 39 #include "wtf/PassOwnPtr.h" | 39 #include "wtf/PassOwnPtr.h" |
| 40 #include "wtf/PassRefPtr.h" | 40 #include "wtf/PassRefPtr.h" |
| 41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class GraphicsContextSnapshot; | 45 class GraphicsContextSnapshot; |
| 46 class InstrumentingAgents; | |
| 47 class Page; | 46 class Page; |
| 48 class RenderLayerCompositor; | 47 class RenderLayerCompositor; |
| 49 | 48 |
| 50 typedef String ErrorString; | 49 typedef String ErrorString; |
| 51 | 50 |
| 52 class InspectorLayerTreeAgent final : public InspectorBaseAgent<InspectorLayerTr
eeAgent>, public InspectorBackendDispatcher::LayerTreeCommandHandler { | 51 class InspectorLayerTreeAgent final : public InspectorBaseAgent<InspectorLayerTr
eeAgent>, public InspectorBackendDispatcher::LayerTreeCommandHandler { |
| 53 public: | 52 public: |
| 54 static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(Page* page) | 53 static PassOwnPtrWillBeRawPtr<InspectorLayerTreeAgent> create(Page* page) |
| 55 { | 54 { |
| 56 return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(page)); | 55 return adoptPtrWillBeNoop(new InspectorLayerTreeAgent(page)); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 Vector<int, 2> m_pageOverlayLayerIds; | 102 Vector<int, 2> m_pageOverlayLayerIds; |
| 104 | 103 |
| 105 typedef HashMap<String, RefPtr<GraphicsContextSnapshot> > SnapshotById; | 104 typedef HashMap<String, RefPtr<GraphicsContextSnapshot> > SnapshotById; |
| 106 SnapshotById m_snapshotById; | 105 SnapshotById m_snapshotById; |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 } // namespace blink | 108 } // namespace blink |
| 110 | 109 |
| 111 | 110 |
| 112 #endif // !defined(InspectorLayerTreeAgent_h) | 111 #endif // !defined(InspectorLayerTreeAgent_h) |
| OLD | NEW |