| 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 16 matching lines...) Expand all Loading... |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 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 "WebAXTypes.h" |
| 37 #include "WebAccessibilityNotification.h" | 38 #include "WebAccessibilityNotification.h" |
| 38 #include "WebContentDetectionResult.h" | 39 #include "WebContentDetectionResult.h" |
| 39 #include "WebDragOperation.h" | 40 #include "WebDragOperation.h" |
| 40 #include "WebEditingAction.h" | 41 #include "WebEditingAction.h" |
| 41 #include "WebFileChooserCompletion.h" | 42 #include "WebFileChooserCompletion.h" |
| 42 #include "WebFileChooserParams.h" | 43 #include "WebFileChooserParams.h" |
| 43 #include "WebPageVisibilityState.h" | 44 #include "WebPageVisibilityState.h" |
| 44 #include "WebPopupType.h" | 45 #include "WebPopupType.h" |
| 45 #include "WebTextAffinity.h" | 46 #include "WebTextAffinity.h" |
| 46 #include "WebTextDirection.h" | 47 #include "WebTextDirection.h" |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 // history item. | 305 // history item. |
| 305 virtual int historyBackListCount() { return 0; } | 306 virtual int historyBackListCount() { return 0; } |
| 306 virtual int historyForwardListCount() { return 0; } | 307 virtual int historyForwardListCount() { return 0; } |
| 307 | 308 |
| 308 // Called to notify the embedder when a new history item is added. | 309 // Called to notify the embedder when a new history item is added. |
| 309 virtual void didAddHistoryItem() { } | 310 virtual void didAddHistoryItem() { } |
| 310 | 311 |
| 311 | 312 |
| 312 // Accessibility ------------------------------------------------------- | 313 // Accessibility ------------------------------------------------------- |
| 313 | 314 |
| 314 // Notifies embedder about an accessibility notification. | 315 // Notifies embedder about an accessibility event. |
| 316 virtual void postAccessibilityEvent(const WebAccessibilityObject&, WebAXType
s::Event) { } |
| 317 |
| 318 // Deprecated. |
| 315 virtual void postAccessibilityNotification(const WebAccessibilityObject&, We
bAccessibilityNotification) { } | 319 virtual void postAccessibilityNotification(const WebAccessibilityObject&, We
bAccessibilityNotification) { } |
| 316 | 320 |
| 317 | |
| 318 // Developer tools ----------------------------------------------------- | 321 // Developer tools ----------------------------------------------------- |
| 319 | 322 |
| 320 // Called to notify the client that the inspector's settings were | 323 // Called to notify the client that the inspector's settings were |
| 321 // changed and should be saved. See WebView::inspectorSettings. | 324 // changed and should be saved. See WebView::inspectorSettings. |
| 322 virtual void didUpdateInspectorSettings() { } | 325 virtual void didUpdateInspectorSettings() { } |
| 323 | 326 |
| 324 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } | 327 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } |
| 325 | 328 |
| 326 // Geolocation --------------------------------------------------------- | 329 // Geolocation --------------------------------------------------------- |
| 327 | 330 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 // Informs the browser that the draggable regions have been updated. | 398 // Informs the browser that the draggable regions have been updated. |
| 396 virtual void draggableRegionsChanged() { } | 399 virtual void draggableRegionsChanged() { } |
| 397 | 400 |
| 398 protected: | 401 protected: |
| 399 ~WebViewClient() { } | 402 ~WebViewClient() { } |
| 400 }; | 403 }; |
| 401 | 404 |
| 402 } // namespace WebKit | 405 } // namespace WebKit |
| 403 | 406 |
| 404 #endif | 407 #endif |
| OLD | NEW |