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

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

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove blank line Created 4 years, 10 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 explicit InspectorLayerTreeAgent(InspectedFrames*); 93 explicit InspectorLayerTreeAgent(InspectedFrames*);
94 94
95 GraphicsLayer* rootGraphicsLayer(); 95 GraphicsLayer* rootGraphicsLayer();
96 96
97 PaintLayerCompositor* paintLayerCompositor(); 97 PaintLayerCompositor* paintLayerCompositor();
98 GraphicsLayer* layerById(ErrorString*, const String& layerId); 98 GraphicsLayer* layerById(ErrorString*, const String& layerId);
99 const PictureSnapshot* snapshotById(ErrorString*, const String& snapshotId); 99 const PictureSnapshot* snapshotById(ErrorString*, const String& snapshotId);
100 100
101 typedef HashMap<int, int> LayerIdToNodeIdMap; 101 typedef HashMap<int, int> LayerIdToNodeIdMap;
102 void buildLayerIdToNodeIdMap(PaintLayer*, LayerIdToNodeIdMap&); 102 void buildLayerIdToNodeIdMap(PaintLayer*, LayerIdToNodeIdMap&);
103 void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeId Map, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&); 103 void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeId Map, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>&, bool hasWheelEv entHandlers, int scrollingRootLayerId);
104 int idForNode(Node*); 104 int idForNode(Node*);
105 105
106 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; 106 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames;
107 Vector<int, 2> m_pageOverlayLayerIds; 107 Vector<int, 2> m_pageOverlayLayerIds;
108 108
109 typedef HashMap<String, RefPtr<PictureSnapshot> > SnapshotById; 109 typedef HashMap<String, RefPtr<PictureSnapshot> > SnapshotById;
110 SnapshotById m_snapshotById; 110 SnapshotById m_snapshotById;
111 }; 111 };
112 112
113 } // namespace blink 113 } // namespace blink
114 114
115 115
116 #endif // !defined(InspectorLayerTreeAgent_h) 116 #endif // !defined(InspectorLayerTreeAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698