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

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

Issue 46163008: Revert "Re-land deferred compositing updates with fixed assumptions" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/inspector/InspectorLayerTreeAgent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void disable(ErrorString*); 70 virtual void disable(ErrorString*);
71 virtual void compositingReasons(ErrorString*, const String& layerId, RefPtr< TypeBuilder::Array<String> >&); 71 virtual void compositingReasons(ErrorString*, const String& layerId, RefPtr< TypeBuilder::Array<String> >&);
72 72
73 private: 73 private:
74 typedef HashMap<int, int> LayerIdToNodeIdMap; 74 typedef HashMap<int, int> LayerIdToNodeIdMap;
75 75
76 InspectorLayerTreeAgent(InstrumentingAgents*, InspectorCompositeState*, Insp ectorDOMAgent*, Page*); 76 InspectorLayerTreeAgent(InstrumentingAgents*, InspectorCompositeState*, Insp ectorDOMAgent*, Page*);
77 77
78 RenderLayerCompositor* renderLayerCompositor(); 78 RenderLayerCompositor* renderLayerCompositor();
79 GraphicsLayer* layerById(ErrorString*, const String& layerId); 79 GraphicsLayer* layerById(ErrorString*, const String& layerId);
80 void notificationTimerFired(Timer<InspectorLayerTreeAgent>*);
80 PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > buildLayerTre e(); 81 PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > buildLayerTre e();
81 void buildLayerIdToNodeIdMap(RenderLayer*, LayerIdToNodeIdMap&); 82 void buildLayerIdToNodeIdMap(RenderLayer*, LayerIdToNodeIdMap&);
82 int idForNode(Node*); 83 int idForNode(Node*);
83 84
84 InspectorFrontend::LayerTree* m_frontend; 85 InspectorFrontend::LayerTree* m_frontend;
85 Page* m_page; 86 Page* m_page;
86 InspectorDOMAgent* m_domAgent; 87 InspectorDOMAgent* m_domAgent;
88 Timer<InspectorLayerTreeAgent> m_notificationTimer;
89 bool m_notifyAfterNextLayersUpdate;
87 90
88 HashMap<const RenderLayer*, String> m_documentLayerToIdMap; 91 HashMap<const RenderLayer*, String> m_documentLayerToIdMap;
89 }; 92 };
90 93
91 } // namespace WebCore 94 } // namespace WebCore
92 95
93 96
94 #endif // !defined(InspectorLayerTreeAgent_h) 97 #endif // !defined(InspectorLayerTreeAgent_h)
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/inspector/InspectorLayerTreeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698