Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<Insp ectorLayerTreeAgent, protocol::LayerTree::Frontend>, public protocol::LayerTree: :Backend { 53 class CORE_EXPORT InspectorLayerTreeAgent final : public InspectorBaseAgent<prot ocol::LayerTree::Metainfo> {
54 WTF_MAKE_NONCOPYABLE(InspectorLayerTreeAgent); 54 WTF_MAKE_NONCOPYABLE(InspectorLayerTreeAgent);
55 public: 55 public:
56 static InspectorLayerTreeAgent* create(InspectedFrames* inspectedFrames) 56 static InspectorLayerTreeAgent* create(InspectedFrames* inspectedFrames)
57 { 57 {
58 return new InspectorLayerTreeAgent(inspectedFrames); 58 return new InspectorLayerTreeAgent(inspectedFrames);
59 } 59 }
60 ~InspectorLayerTreeAgent() override; 60 ~InspectorLayerTreeAgent() override;
61 DECLARE_VIRTUAL_TRACE(); 61 DECLARE_VIRTUAL_TRACE();
62 62
63 void restore() override; 63 void restore() override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 Vector<int, 2> m_pageOverlayLayerIds; 104 Vector<int, 2> m_pageOverlayLayerIds;
105 105
106 typedef HashMap<String, RefPtr<PictureSnapshot>> SnapshotById; 106 typedef HashMap<String, RefPtr<PictureSnapshot>> SnapshotById;
107 SnapshotById m_snapshotById; 107 SnapshotById m_snapshotById;
108 }; 108 };
109 109
110 } // namespace blink 110 } // namespace blink
111 111
112 112
113 #endif // !defined(InspectorLayerTreeAgent_h) 113 #endif // !defined(InspectorLayerTreeAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698