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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void setFrontend(InspectorFrontend*) override; 60 virtual void setFrontend(InspectorFrontend*) override;
61 virtual void clearFrontend() override; 61 virtual void clearFrontend() override;
62 virtual void restore() override; 62 virtual void restore() override;
63 63
64 // Called from InspectorController 64 // Called from InspectorController
65 void willAddPageOverlay(const GraphicsLayer*); 65 void willAddPageOverlay(const GraphicsLayer*);
66 void didRemovePageOverlay(const GraphicsLayer*); 66 void didRemovePageOverlay(const GraphicsLayer*);
67 67
68 // Called from InspectorInstrumentation 68 // Called from InspectorInstrumentation
69 void layerTreeDidChange(); 69 void layerTreeDidChange();
70 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&); 70 void didPaint(LayoutObject*, const GraphicsLayer*, GraphicsContext*, const L ayoutRect&);
71 71
72 // Called from the front-end. 72 // Called from the front-end.
73 virtual void enable(ErrorString*) override; 73 virtual void enable(ErrorString*) override;
74 virtual void disable(ErrorString*) override; 74 virtual void disable(ErrorString*) override;
75 virtual void compositingReasons(ErrorString*, const String& layerId, RefPtr< TypeBuilder::Array<String> >&) override; 75 virtual void compositingReasons(ErrorString*, const String& layerId, RefPtr< TypeBuilder::Array<String> >&) override;
76 virtual void makeSnapshot(ErrorString*, const String& layerId, String* snaps hotId) override; 76 virtual void makeSnapshot(ErrorString*, const String& layerId, String* snaps hotId) override;
77 virtual void loadSnapshot(ErrorString*, const RefPtr<JSONArray>& tiles, Stri ng* snapshotId) override; 77 virtual void loadSnapshot(ErrorString*, const RefPtr<JSONArray>& tiles, Stri ng* snapshotId) override;
78 virtual void releaseSnapshot(ErrorString*, const String& snapshotId) overrid e; 78 virtual void releaseSnapshot(ErrorString*, const String& snapshotId) overrid e;
79 virtual void replaySnapshot(ErrorString*, const String& snapshotId, const in t* fromStep, const int* toStep, const double* scale, String* dataURL) override; 79 virtual void replaySnapshot(ErrorString*, const String& snapshotId, const in t* fromStep, const int* toStep, const double* scale, String* dataURL) override;
80 virtual void profileSnapshot(ErrorString*, const String& snapshotId, const i nt* minRepeatCount, const double* minDuration, const RefPtr<JSONObject>* clipRec t, RefPtr<TypeBuilder::Array<TypeBuilder::Array<double> > >&) override; 80 virtual void profileSnapshot(ErrorString*, const String& snapshotId, const i nt* minRepeatCount, const double* minDuration, const RefPtr<JSONObject>* clipRec t, RefPtr<TypeBuilder::Array<TypeBuilder::Array<double> > >&) override;
(...skipping 23 matching lines...) Expand all
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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorLayerTreeAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698