OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 // Inspect a particular point in the WebView. (x = -1 || y = -1) is a | 200 // Inspect a particular point in the WebView. (x = -1 || y = -1) is a |
201 // special case, meaning inspect the current page and not a specific | 201 // special case, meaning inspect the current page and not a specific |
202 // point. | 202 // point. |
203 virtual void inspectElementAt(const WebPoint&) = 0; | 203 virtual void inspectElementAt(const WebPoint&) = 0; |
204 | 204 |
205 // Settings used by the inspector. | 205 // Settings used by the inspector. |
206 virtual WebString inspectorSettings() const = 0; | 206 virtual WebString inspectorSettings() const = 0; |
207 virtual void setInspectorSettings(const WebString&) = 0; | 207 virtual void setInspectorSettings(const WebString&) = 0; |
208 | 208 |
| 209 // The embedder may optionally engage a WebDevToolsAgent. This may only |
| 210 // be set once per WebView. |
209 virtual WebDevToolsAgent* devToolsAgent() = 0; | 211 virtual WebDevToolsAgent* devToolsAgent() = 0; |
| 212 virtual void setDevToolsAgent(WebDevToolsAgent*) = 0; |
210 | 213 |
211 | 214 |
212 // Accessibility ------------------------------------------------------- | 215 // Accessibility ------------------------------------------------------- |
213 | 216 |
214 // Returns the accessibility object for this view. | 217 // Returns the accessibility object for this view. |
215 virtual WebAccessibilityObject accessibilityObject() = 0; | 218 virtual WebAccessibilityObject accessibilityObject() = 0; |
216 | 219 |
217 | 220 |
218 // Autofill ------------------------------------------------------------ | 221 // Autofill ------------------------------------------------------------ |
219 | 222 |
(...skipping 18 matching lines...) Expand all Loading... |
238 WEBKIT_API static void resetVisitedLinkState(); | 241 WEBKIT_API static void resetVisitedLinkState(); |
239 | 242 |
240 | 243 |
241 protected: | 244 protected: |
242 ~WebView() {} | 245 ~WebView() {} |
243 }; | 246 }; |
244 | 247 |
245 } // namespace WebKit | 248 } // namespace WebKit |
246 | 249 |
247 #endif | 250 #endif |
OLD | NEW |