Chromium Code Reviews

Side by Side Diff: webkit/api/public/WebViewClient.h

Issue 342092: Eliminate WebViewImpl's dependency on WebDevToolsAgentImpl.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « webkit/api/public/WebView.h ('k') | webkit/api/src/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...)
33 33
34 #include "WebDragOperation.h" 34 #include "WebDragOperation.h"
35 #include "WebEditingAction.h" 35 #include "WebEditingAction.h"
36 #include "WebFileChooserCompletion.h" 36 #include "WebFileChooserCompletion.h"
37 #include "WebTextAffinity.h" 37 #include "WebTextAffinity.h"
38 #include "WebTextDirection.h" 38 #include "WebTextDirection.h"
39 #include "WebWidgetClient.h" 39 #include "WebWidgetClient.h"
40 40
41 namespace WebKit { 41 namespace WebKit {
42 class WebAccessibilityObject; 42 class WebAccessibilityObject;
43 class WebDevToolsAgentClient;
44 class WebDragData; 43 class WebDragData;
45 class WebFileChooserCompletion; 44 class WebFileChooserCompletion;
46 class WebFrame; 45 class WebFrame;
47 class WebNode; 46 class WebNode;
48 class WebNotificationPresenter; 47 class WebNotificationPresenter;
49 class WebRange; 48 class WebRange;
50 class WebString; 49 class WebString;
51 class WebURL; 50 class WebURL;
52 class WebView; 51 class WebView;
53 class WebWidget; 52 class WebWidget;
(...skipping 196 matching lines...)
250 // accessibility object. 249 // accessibility object.
251 virtual void focusAccessibilityObject(const WebAccessibilityObject&) = 0; 250 virtual void focusAccessibilityObject(const WebAccessibilityObject&) = 0;
252 251
253 252
254 // Developer tools ----------------------------------------------------- 253 // Developer tools -----------------------------------------------------
255 254
256 // Called to notify the client that the inspector's settings were 255 // Called to notify the client that the inspector's settings were
257 // changed and should be saved. See WebView::inspectorSettings. 256 // changed and should be saved. See WebView::inspectorSettings.
258 virtual void didUpdateInspectorSettings() = 0; 257 virtual void didUpdateInspectorSettings() = 0;
259 258
260 virtual WebDevToolsAgentClient* devToolsAgentClient() = 0;
261
262 259
263 // Autofill ------------------------------------------------------------ 260 // Autofill ------------------------------------------------------------
264 261
265 // Queries the browser for suggestions to be shown for the form text 262 // Queries the browser for suggestions to be shown for the form text
266 // field named |name|. |value| is the text entered by the user so 263 // field named |name|. |value| is the text entered by the user so
267 // far and the WebNode corresponds to the input field. 264 // far and the WebNode corresponds to the input field.
268 virtual void queryAutofillSuggestions(const WebNode&, 265 virtual void queryAutofillSuggestions(const WebNode&,
269 const WebString& name, 266 const WebString& name,
270 const WebString& value) = 0; 267 const WebString& value) = 0;
271 268
272 // Instructs the browser to remove the autofill entry specified from 269 // Instructs the browser to remove the autofill entry specified from
273 // its DB. 270 // its DB.
274 virtual void removeAutofillSuggestions(const WebString& name, 271 virtual void removeAutofillSuggestions(const WebString& name,
275 const WebString& value) = 0; 272 const WebString& value) = 0;
276 273
277 protected: 274 protected:
278 ~WebViewClient() { } 275 ~WebViewClient() { }
279 }; 276 };
280 277
281 } // namespace WebKit 278 } // namespace WebKit
282 279
283 #endif 280 #endif
OLDNEW
« no previous file with comments | « webkit/api/public/WebView.h ('k') | webkit/api/src/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine