| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 class WebDateTimeChooserCompletion; | 53 class WebDateTimeChooserCompletion; |
| 54 class WebDragData; | 54 class WebDragData; |
| 55 class WebElement; | 55 class WebElement; |
| 56 class WebFileChooserCompletion; | 56 class WebFileChooserCompletion; |
| 57 class WebGestureEvent; | 57 class WebGestureEvent; |
| 58 class WebHitTestResult; | 58 class WebHitTestResult; |
| 59 class WebImage; | 59 class WebImage; |
| 60 class WebInputElement; | 60 class WebInputElement; |
| 61 class WebKeyboardEvent; | 61 class WebKeyboardEvent; |
| 62 class WebNode; | 62 class WebNode; |
| 63 class WebPushClient; | |
| 64 class WebRange; | 63 class WebRange; |
| 65 class WebSpeechRecognizer; | 64 class WebSpeechRecognizer; |
| 66 class WebStorageNamespace; | 65 class WebStorageNamespace; |
| 67 class WebURL; | 66 class WebURL; |
| 68 class WebURLRequest; | 67 class WebURLRequest; |
| 69 class WebView; | 68 class WebView; |
| 70 class WebWidget; | 69 class WebWidget; |
| 71 struct WebConsoleMessage; | 70 struct WebConsoleMessage; |
| 72 struct WebDateTimeChooserParams; | 71 struct WebDateTimeChooserParams; |
| 73 struct WebPoint; | 72 struct WebPoint; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 | 274 |
| 276 // Visibility ----------------------------------------------------------- | 275 // Visibility ----------------------------------------------------------- |
| 277 | 276 |
| 278 // Returns the current visibility of the WebView. | 277 // Returns the current visibility of the WebView. |
| 279 virtual WebPageVisibilityState visibilityState() const | 278 virtual WebPageVisibilityState visibilityState() const |
| 280 { | 279 { |
| 281 return WebPageVisibilityStateVisible; | 280 return WebPageVisibilityStateVisible; |
| 282 } | 281 } |
| 283 | 282 |
| 284 | 283 |
| 285 // Push Messaging ------------------------------------------------------- | |
| 286 | |
| 287 virtual WebPushClient* webPushClient() { return 0; } | |
| 288 | |
| 289 | |
| 290 // Content detection ---------------------------------------------------- | 284 // Content detection ---------------------------------------------------- |
| 291 | 285 |
| 292 // Retrieves detectable content (e.g., email addresses, phone numbers) | 286 // Retrieves detectable content (e.g., email addresses, phone numbers) |
| 293 // around a hit test result. The embedder should use platform-specific | 287 // around a hit test result. The embedder should use platform-specific |
| 294 // content detectors to analyze the region around the hit test result. | 288 // content detectors to analyze the region around the hit test result. |
| 295 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } | 289 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } |
| 296 | 290 |
| 297 // Schedules a new content intent with the provided url. | 291 // Schedules a new content intent with the provided url. |
| 298 virtual void scheduleContentIntent(const WebURL&) { } | 292 virtual void scheduleContentIntent(const WebURL&) { } |
| 299 | 293 |
| 300 // Cancels any previously scheduled content intents that have not yet launch
ed. | 294 // Cancels any previously scheduled content intents that have not yet launch
ed. |
| 301 virtual void cancelScheduledContentIntents() { } | 295 virtual void cancelScheduledContentIntents() { } |
| 302 | 296 |
| 303 | 297 |
| 304 // Draggable regions ---------------------------------------------------- | 298 // Draggable regions ---------------------------------------------------- |
| 305 | 299 |
| 306 // Informs the browser that the draggable regions have been updated. | 300 // Informs the browser that the draggable regions have been updated. |
| 307 virtual void draggableRegionsChanged() { } | 301 virtual void draggableRegionsChanged() { } |
| 308 | 302 |
| 309 protected: | 303 protected: |
| 310 ~WebViewClient() { } | 304 ~WebViewClient() { } |
| 311 }; | 305 }; |
| 312 | 306 |
| 313 } // namespace blink | 307 } // namespace blink |
| 314 | 308 |
| 315 #endif | 309 #endif |
| OLD | NEW |