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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // InspectorClient implementation. | 86 // InspectorClient implementation. |
87 virtual void inspectorDestroyed(); | 87 virtual void inspectorDestroyed(); |
88 virtual void openInspectorFrontend(WebCore::InspectorController*); | 88 virtual void openInspectorFrontend(WebCore::InspectorController*); |
89 virtual void highlight(WebCore::Node*); | 89 virtual void highlight(WebCore::Node*); |
90 virtual void hideHighlight(); | 90 virtual void hideHighlight(); |
91 virtual void updateInspectorStateCookie(const WTF::String&); | 91 virtual void updateInspectorStateCookie(const WTF::String&); |
92 virtual bool sendMessageToFrontend(const WTF::String&); | 92 virtual bool sendMessageToFrontend(const WTF::String&); |
93 | 93 |
94 virtual void clearBrowserCache(); | 94 virtual void clearBrowserCache(); |
95 virtual void clearBrowserCookies(); | 95 virtual void clearBrowserCookies(); |
96 virtual void setCacheDisabled(bool); | |
97 | 96 |
98 int hostId() { return m_hostId; } | 97 int hostId() { return m_hostId; } |
99 | 98 |
100 // PageOverlayClient | 99 // PageOverlayClient |
101 virtual void paintPageOverlay(WebCore::GraphicsContext&); | 100 virtual void paintPageOverlay(WebCore::GraphicsContext&); |
102 | 101 |
103 private: | 102 private: |
104 WebCore::InspectorController* inspectorController(); | 103 WebCore::InspectorController* inspectorController(); |
105 WebCore::Frame* mainFrame(); | 104 WebCore::Frame* mainFrame(); |
106 | 105 |
107 int m_hostId; | 106 int m_hostId; |
108 WebDevToolsAgentClient* m_client; | 107 WebDevToolsAgentClient* m_client; |
109 WebViewImpl* m_webViewImpl; | 108 WebViewImpl* m_webViewImpl; |
110 OwnPtr<DebuggerAgentImpl> m_debuggerAgentImpl; | 109 OwnPtr<DebuggerAgentImpl> m_debuggerAgentImpl; |
111 bool m_attached; | 110 bool m_attached; |
112 }; | 111 }; |
113 | 112 |
114 } // namespace WebKit | 113 } // namespace WebKit |
115 | 114 |
116 #endif | 115 #endif |
OLD | NEW |