OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 virtual void timelineProfilerWasStarted(); | 98 virtual void timelineProfilerWasStarted(); |
99 virtual void timelineProfilerWasStopped(); | 99 virtual void timelineProfilerWasStopped(); |
100 virtual bool sendMessageToFrontend(const WTF::String&); | 100 virtual bool sendMessageToFrontend(const WTF::String&); |
101 | 101 |
102 void forceRepaint(); | 102 void forceRepaint(); |
103 | 103 |
104 int hostId() { return m_hostId; } | 104 int hostId() { return m_hostId; } |
105 | 105 |
106 private: | 106 private: |
107 void setApuAgentEnabled(bool enabled); | 107 void setApuAgentEnabled(bool enabled); |
| 108 void connectFrontend(bool afterNavigation); |
108 | 109 |
109 WebCore::InspectorController* inspectorController(); | 110 WebCore::InspectorController* inspectorController(); |
110 | 111 |
111 int m_hostId; | 112 int m_hostId; |
112 WebDevToolsAgentClient* m_client; | 113 WebDevToolsAgentClient* m_client; |
113 WebViewImpl* m_webViewImpl; | 114 WebViewImpl* m_webViewImpl; |
114 OwnPtr<DebuggerAgentImpl> m_debuggerAgentImpl; | 115 OwnPtr<DebuggerAgentImpl> m_debuggerAgentImpl; |
115 bool m_apuAgentEnabled; | 116 bool m_apuAgentEnabled; |
116 bool m_resourceTrackingWasEnabled; | 117 bool m_resourceTrackingWasEnabled; |
117 bool m_attached; | 118 bool m_attached; |
118 }; | 119 }; |
119 | 120 |
120 } // namespace WebKit | 121 } // namespace WebKit |
121 | 122 |
122 #endif | 123 #endif |
OLD | NEW |