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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebViewClient_h | 31 #ifndef WebViewClient_h |
32 #define WebViewClient_h | 32 #define WebViewClient_h |
33 | 33 |
34 #include "../platform/WebColor.h" | 34 #include "../platform/WebColor.h" |
35 #include "../platform/WebGraphicsContext3D.h" | 35 #include "../platform/WebGraphicsContext3D.h" |
36 #include "../platform/WebString.h" | 36 #include "../platform/WebString.h" |
37 #include "WebAXEnums.h" | 37 #include "WebAXEnums.h" |
38 #include "WebAccessibilityNotification.h" | |
39 #include "WebContentDetectionResult.h" | 38 #include "WebContentDetectionResult.h" |
40 #include "WebDragOperation.h" | 39 #include "WebDragOperation.h" |
41 #include "WebEditingAction.h" | 40 #include "WebEditingAction.h" |
42 #include "WebFileChooserCompletion.h" | 41 #include "WebFileChooserCompletion.h" |
43 #include "WebFileChooserParams.h" | 42 #include "WebFileChooserParams.h" |
44 #include "WebPageVisibilityState.h" | 43 #include "WebPageVisibilityState.h" |
45 #include "WebPopupType.h" | 44 #include "WebPopupType.h" |
46 #include "WebTextAffinity.h" | 45 #include "WebTextAffinity.h" |
47 #include "WebTextDirection.h" | 46 #include "WebTextDirection.h" |
48 #include "WebWidgetClient.h" | 47 #include "WebWidgetClient.h" |
49 | 48 |
50 namespace WebKit { | 49 namespace WebKit { |
51 | 50 |
52 class WebAccessibilityObject; | 51 class WebAXObject; |
53 class WebColorChooser; | 52 class WebColorChooser; |
54 class WebColorChooserClient; | 53 class WebColorChooserClient; |
55 class WebCompositorOutputSurface; | 54 class WebCompositorOutputSurface; |
56 class WebDateTimeChooserCompletion; | 55 class WebDateTimeChooserCompletion; |
57 class WebDeviceOrientationClient; | 56 class WebDeviceOrientationClient; |
58 class WebDragData; | 57 class WebDragData; |
59 class WebElement; | 58 class WebElement; |
60 class WebExternalPopupMenu; | 59 class WebExternalPopupMenu; |
61 class WebExternalPopupMenuClient; | 60 class WebExternalPopupMenuClient; |
62 class WebFileChooserCompletion; | 61 class WebFileChooserCompletion; |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 305 |
307 // Returns the number of history items before/after the current | 306 // Returns the number of history items before/after the current |
308 // history item. | 307 // history item. |
309 virtual int historyBackListCount() { return 0; } | 308 virtual int historyBackListCount() { return 0; } |
310 virtual int historyForwardListCount() { return 0; } | 309 virtual int historyForwardListCount() { return 0; } |
311 | 310 |
312 | 311 |
313 // Accessibility ------------------------------------------------------- | 312 // Accessibility ------------------------------------------------------- |
314 | 313 |
315 // Notifies embedder about an accessibility event. | 314 // Notifies embedder about an accessibility event. |
316 virtual void postAccessibilityEvent(const WebAccessibilityObject&, WebAXEven
t) { } | 315 virtual void postAccessibilityEvent(const WebAXObject&, WebAXEvent) { } |
317 | |
318 // Deprecated. | |
319 virtual void postAccessibilityNotification(const WebAccessibilityObject&, We
bAccessibilityNotification) { } | |
320 | 316 |
321 // Developer tools ----------------------------------------------------- | 317 // Developer tools ----------------------------------------------------- |
322 | 318 |
323 // Called to notify the client that the inspector's settings were | 319 // Called to notify the client that the inspector's settings were |
324 // changed and should be saved. See WebView::inspectorSettings. | 320 // changed and should be saved. See WebView::inspectorSettings. |
325 virtual void didUpdateInspectorSettings() { } | 321 virtual void didUpdateInspectorSettings() { } |
326 | 322 |
327 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } | 323 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } |
328 | 324 |
329 // Geolocation --------------------------------------------------------- | 325 // Geolocation --------------------------------------------------------- |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // Informs the browser that the draggable regions have been updated. | 394 // Informs the browser that the draggable regions have been updated. |
399 virtual void draggableRegionsChanged() { } | 395 virtual void draggableRegionsChanged() { } |
400 | 396 |
401 protected: | 397 protected: |
402 ~WebViewClient() { } | 398 ~WebViewClient() { } |
403 }; | 399 }; |
404 | 400 |
405 } // namespace WebKit | 401 } // namespace WebKit |
406 | 402 |
407 #endif | 403 #endif |
OLD | NEW |