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

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

Issue 16878004: DevTools: add instrumentation for deferred canvas rasterization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class DOMWrapperWorld; 43 class DOMWrapperWorld;
44 class Frame; 44 class Frame;
45 class GraphicsContext; 45 class GraphicsContext;
46 class InjectedScriptManager; 46 class InjectedScriptManager;
47 class InspectorBackendDispatcher; 47 class InspectorBackendDispatcher;
48 class InspectorClient; 48 class InspectorClient;
49 class InspectorFrontend; 49 class InspectorFrontend;
50 class InspectorFrontendChannel; 50 class InspectorFrontendChannel;
51 class InspectorFrontendClient; 51 class InspectorFrontendClient;
52 class InspectorMemoryAgent; 52 class InspectorMemoryAgent;
53 class InspectorTimelineAgent;
53 class InspectorOverlay; 54 class InspectorOverlay;
54 class InspectorState; 55 class InspectorState;
55 class InstrumentingAgents; 56 class InstrumentingAgents;
56 class IntSize; 57 class IntSize;
57 class Page; 58 class Page;
58 class PlatformMouseEvent; 59 class PlatformMouseEvent;
59 class PlatformTouchEvent; 60 class PlatformTouchEvent;
60 class PostWorkerNotificationToFrontendTask; 61 class PostWorkerNotificationToFrontendTask;
61 class Node; 62 class Node;
62 63
(...skipping 15 matching lines...) Expand all
78 void setInjectedScriptForOrigin(const String& origin, const String& source); 79 void setInjectedScriptForOrigin(const String& origin, const String& source);
79 80
80 void dispatchMessageFromFrontend(const String& message); 81 void dispatchMessageFromFrontend(const String& message);
81 82
82 bool hasFrontend() const { return m_inspectorFrontend; } 83 bool hasFrontend() const { return m_inspectorFrontend; }
83 void connectFrontend(InspectorFrontendChannel*); 84 void connectFrontend(InspectorFrontendChannel*);
84 void disconnectFrontend(); 85 void disconnectFrontend();
85 void reconnectFrontend(); 86 void reconnectFrontend();
86 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie); 87 void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCo okie);
87 void setProcessId(long); 88 void setProcessId(long);
89 void setLayerTreeId(int);
88 void webViewResized(const IntSize&); 90 void webViewResized(const IntSize&);
89 91
90 void inspect(Node*); 92 void inspect(Node*);
91 void drawHighlight(GraphicsContext&) const; 93 void drawHighlight(GraphicsContext&) const;
92 void getHighlight(Highlight*) const; 94 void getHighlight(Highlight*) const;
93 void hideHighlight(); 95 void hideHighlight();
94 Node* highlightedNode() const; 96 Node* highlightedNode() const;
95 97
96 bool handleMouseEvent(Frame*, const PlatformMouseEvent&); 98 bool handleMouseEvent(Frame*, const PlatformMouseEvent&);
97 bool handleTouchEvent(Frame*, const PlatformTouchEvent&); 99 bool handleTouchEvent(Frame*, const PlatformTouchEvent&);
(...skipping 24 matching lines...) Expand all
122 124
123 friend class PostWorkerNotificationToFrontendTask; 125 friend class PostWorkerNotificationToFrontendTask;
124 friend InstrumentingAgents* instrumentationForPage(Page*); 126 friend InstrumentingAgents* instrumentationForPage(Page*);
125 127
126 RefPtr<InstrumentingAgents> m_instrumentingAgents; 128 RefPtr<InstrumentingAgents> m_instrumentingAgents;
127 OwnPtr<InjectedScriptManager> m_injectedScriptManager; 129 OwnPtr<InjectedScriptManager> m_injectedScriptManager;
128 OwnPtr<InspectorCompositeState> m_state; 130 OwnPtr<InspectorCompositeState> m_state;
129 OwnPtr<InspectorOverlay> m_overlay; 131 OwnPtr<InspectorOverlay> m_overlay;
130 132
131 InspectorMemoryAgent* m_memoryAgent; 133 InspectorMemoryAgent* m_memoryAgent;
134 InspectorTimelineAgent* m_timelineAgent;
132 135
133 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; 136 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
134 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; 137 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;
135 OwnPtr<InspectorFrontend> m_inspectorFrontend; 138 OwnPtr<InspectorFrontend> m_inspectorFrontend;
136 Page* m_page; 139 Page* m_page;
137 InspectorClient* m_inspectorClient; 140 InspectorClient* m_inspectorClient;
138 InspectorAgentRegistry m_agents; 141 InspectorAgentRegistry m_agents;
139 bool m_isUnderTest; 142 bool m_isUnderTest;
140 }; 143 };
141 144
142 } 145 }
143 146
144 147
145 #endif // !defined(InspectorController_h) 148 #endif // !defined(InspectorController_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698