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

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

Issue 17030009: Inspector: wrapped inspector agent instances into factory-like wrappers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
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 InspectorMemoryFactory;
53 class InspectorOverlay; 53 class InspectorOverlay;
54 class InspectorState; 54 class InspectorState;
55 class InstrumentingAgents; 55 class InstrumentingAgents;
56 class IntSize; 56 class IntSize;
57 class Page; 57 class Page;
58 class PlatformMouseEvent; 58 class PlatformMouseEvent;
59 class PlatformTouchEvent; 59 class PlatformTouchEvent;
60 class PostWorkerNotificationToFrontendTask; 60 class PostWorkerNotificationToFrontendTask;
61 class Node; 61 class Node;
62 62
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 InspectorController(Page*, InspectorClient*); 121 InspectorController(Page*, InspectorClient*);
122 122
123 friend class PostWorkerNotificationToFrontendTask; 123 friend class PostWorkerNotificationToFrontendTask;
124 friend InstrumentingAgents* instrumentationForPage(Page*); 124 friend InstrumentingAgents* instrumentationForPage(Page*);
125 125
126 RefPtr<InstrumentingAgents> m_instrumentingAgents; 126 RefPtr<InstrumentingAgents> m_instrumentingAgents;
127 OwnPtr<InjectedScriptManager> m_injectedScriptManager; 127 OwnPtr<InjectedScriptManager> m_injectedScriptManager;
128 OwnPtr<InspectorCompositeState> m_state; 128 OwnPtr<InspectorCompositeState> m_state;
129 OwnPtr<InspectorOverlay> m_overlay; 129 OwnPtr<InspectorOverlay> m_overlay;
130 130
131 InspectorMemoryAgent* m_memoryAgent; 131 InspectorMemoryFactory* m_memoryFactory;
132 132
133 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher; 133 RefPtr<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
134 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient; 134 OwnPtr<InspectorFrontendClient> m_inspectorFrontendClient;
135 OwnPtr<InspectorFrontend> m_inspectorFrontend; 135 OwnPtr<InspectorFrontend> m_inspectorFrontend;
136 Page* m_page; 136 Page* m_page;
137 InspectorClient* m_inspectorClient; 137 InspectorClient* m_inspectorClient;
138 InspectorAgentRegistry m_agents; 138 InspectorFactoryRegistry m_agentFactories;
139 bool m_isUnderTest; 139 bool m_isUnderTest;
140 }; 140 };
141 141
142 } 142 }
143 143
144 144
145 #endif // !defined(InspectorController_h) 145 #endif // !defined(InspectorController_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorConsoleAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698