OLD | NEW |
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 WTF_MAKE_FAST_ALLOCATED; | 76 WTF_MAKE_FAST_ALLOCATED; |
77 public: | 77 public: |
78 ~InspectorController(); | 78 ~InspectorController(); |
79 | 79 |
80 static PassOwnPtr<InspectorController> create(Page*, InspectorClient*); | 80 static PassOwnPtr<InspectorController> create(Page*, InspectorClient*); |
81 void inspectedPageDestroyed(); | 81 void inspectedPageDestroyed(); |
82 | 82 |
83 Page* inspectedPage() const; | 83 Page* inspectedPage() const; |
84 | 84 |
85 void setInspectorFrontendClient(PassOwnPtr<InspectorFrontendClient>); | 85 void setInspectorFrontendClient(PassOwnPtr<InspectorFrontendClient>); |
86 bool hasInspectorFrontendClient() const; | |
87 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); | 86 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*); |
88 void setInjectedScriptForOrigin(const String& origin, const String& source); | 87 void setInjectedScriptForOrigin(const String& origin, const String& source); |
89 | 88 |
90 void dispatchMessageFromFrontend(const String& message); | 89 void dispatchMessageFromFrontend(const String& message); |
91 | 90 |
92 bool hasFrontend() const { return m_inspectorFrontend; } | 91 bool hasFrontend() const { return m_inspectorFrontend; } |
93 void connectFrontend(InspectorFrontendChannel*); | 92 void connectFrontend(InspectorFrontendChannel*); |
94 void disconnectFrontend(); | 93 void disconnectFrontend(); |
95 void reconnectFrontend(InspectorFrontendChannel*, const String& inspectorSta
teCookie); | 94 void reconnectFrontend(InspectorFrontendChannel*, const String& inspectorSta
teCookie); |
96 void setProcessId(long); | 95 void setProcessId(long); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 Page* m_page; | 155 Page* m_page; |
157 InspectorClient* m_inspectorClient; | 156 InspectorClient* m_inspectorClient; |
158 InspectorAgentRegistry m_agents; | 157 InspectorAgentRegistry m_agents; |
159 bool m_isUnderTest; | 158 bool m_isUnderTest; |
160 }; | 159 }; |
161 | 160 |
162 } | 161 } |
163 | 162 |
164 | 163 |
165 #endif // !defined(InspectorController_h) | 164 #endif // !defined(InspectorController_h) |
OLD | NEW |