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

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

Issue 481913002: [DevTools] Merge InspectorFrontendClientImpl into WebDevToolsFrontendImpl and remove unused code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl ient*); 81 static PassOwnPtrWillBeRawPtr<InspectorController> create(Page*, InspectorCl ient*);
82 82
83 // Settings overrides. 83 // Settings overrides.
84 void setTextAutosizingEnabled(bool); 84 void setTextAutosizingEnabled(bool);
85 void setDeviceScaleAdjustment(float); 85 void setDeviceScaleAdjustment(float);
86 86
87 void willBeDestroyed(); 87 void willBeDestroyed();
88 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>); 88 void registerModuleAgent(PassOwnPtrWillBeRawPtr<InspectorAgent>);
89 89
90 void setInspectorFrontendClient(PassOwnPtrWillBeRawPtr<InspectorFrontendClie nt>); 90 void setInspectorFrontendClient(InspectorFrontendClient*);
91 void didClearDocumentOfWindowObject(LocalFrame*); 91 void didClearDocumentOfWindowObject(LocalFrame*);
92 void setInjectedScriptForOrigin(const String& origin, const String& source); 92 void setInjectedScriptForOrigin(const String& origin, const String& source);
93 void showContextMenu(float x, float y, PassRefPtr<ContextMenuProvider>); 93 void showContextMenu(float x, float y, PassRefPtr<ContextMenuProvider>);
94 94
95 void dispatchMessageFromFrontend(const String& message); 95 void dispatchMessageFromFrontend(const String& message);
96 96
97 void connectFrontend(const String& hostId, InspectorFrontendChannel*); 97 void connectFrontend(const String& hostId, InspectorFrontendChannel*);
98 void disconnectFrontend(); 98 void disconnectFrontend();
99 void reconnectFrontend(); 99 void reconnectFrontend();
100 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St ring& inspectorStateCookie); 100 void reuseFrontend(const String& hostId, InspectorFrontendChannel*, const St ring& inspectorStateCookie);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 151 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
152 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 152 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
153 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent; 153 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent;
154 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent; 154 RawPtrWillBeMember<InspectorCSSAgent> m_cssAgent;
155 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent; 155 RawPtrWillBeMember<InspectorResourceAgent> m_resourceAgent;
156 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent; 156 RawPtrWillBeMember<InspectorLayerTreeAgent> m_layerTreeAgent;
157 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent; 157 RawPtrWillBeMember<InspectorTracingAgent> m_tracingAgent;
158 158
159 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; 159 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
160 OwnPtrWillBeMember<InspectorFrontendClient> m_inspectorFrontendClient; 160 InspectorFrontendClient* m_inspectorFrontendClient;
161 OwnPtr<InspectorFrontend> m_inspectorFrontend; 161 OwnPtr<InspectorFrontend> m_inspectorFrontend;
162 RawPtrWillBeMember<Page> m_page; 162 RawPtrWillBeMember<Page> m_page;
163 InspectorClient* m_inspectorClient; 163 InspectorClient* m_inspectorClient;
164 InspectorAgentRegistry m_agents; 164 InspectorAgentRegistry m_agents;
165 bool m_isUnderTest; 165 bool m_isUnderTest;
166 bool m_deferredAgentsInitialized; 166 bool m_deferredAgentsInitialized;
167 String m_hostId; 167 String m_hostId;
168 }; 168 };
169 169
170 } 170 }
171 171
172 172
173 #endif // !defined(InspectorController_h) 173 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « no previous file | Source/core/inspector/InspectorController.cpp » ('j') | Source/web/WebDevToolsFrontendImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698