| 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 "WebAccessibilityEnums.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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 virtual int historyBackListCount() { return 0; } | 302 virtual int historyBackListCount() { return 0; } |
| 302 virtual int historyForwardListCount() { return 0; } | 303 virtual int historyForwardListCount() { return 0; } |
| 303 | 304 |
| 304 // Called to notify the embedder when a new history item is added. | 305 // Called to notify the embedder when a new history item is added. |
| 305 virtual void didAddHistoryItem() { } | 306 virtual void didAddHistoryItem() { } |
| 306 | 307 |
| 307 | 308 |
| 308 // Accessibility ------------------------------------------------------- | 309 // Accessibility ------------------------------------------------------- |
| 309 | 310 |
| 310 // Notifies embedder about an accessibility notification. | 311 // Notifies embedder about an accessibility notification. |
| 312 virtual void postAccessibilityNotificationNew(const WebAccessibilityObject&,
AXNotification) { } |
| 313 |
| 314 // Deprecated. |
| 311 virtual void postAccessibilityNotification(const WebAccessibilityObject&, We
bAccessibilityNotification) { } | 315 virtual void postAccessibilityNotification(const WebAccessibilityObject&, We
bAccessibilityNotification) { } |
| 312 | 316 |
| 313 | |
| 314 // Developer tools ----------------------------------------------------- | 317 // Developer tools ----------------------------------------------------- |
| 315 | 318 |
| 316 // Called to notify the client that the inspector's settings were | 319 // Called to notify the client that the inspector's settings were |
| 317 // changed and should be saved. See WebView::inspectorSettings. | 320 // changed and should be saved. See WebView::inspectorSettings. |
| 318 virtual void didUpdateInspectorSettings() { } | 321 virtual void didUpdateInspectorSettings() { } |
| 319 | 322 |
| 320 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } | 323 virtual void didUpdateInspectorSetting(const WebString& key, const WebString
& value) { } |
| 321 | 324 |
| 322 // Geolocation --------------------------------------------------------- | 325 // Geolocation --------------------------------------------------------- |
| 323 | 326 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 // Informs the browser that the draggable regions have been updated. | 394 // Informs the browser that the draggable regions have been updated. |
| 392 virtual void draggableRegionsChanged() { } | 395 virtual void draggableRegionsChanged() { } |
| 393 | 396 |
| 394 protected: | 397 protected: |
| 395 ~WebViewClient() { } | 398 ~WebViewClient() { } |
| 396 }; | 399 }; |
| 397 | 400 |
| 398 } // namespace WebKit | 401 } // namespace WebKit |
| 399 | 402 |
| 400 #endif | 403 #endif |
| OLD | NEW |