| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 class WebGestureEvent; | 59 class WebGestureEvent; |
| 60 class WebHitTestResult; | 60 class WebHitTestResult; |
| 61 class WebImage; | 61 class WebImage; |
| 62 class WebInputElement; | 62 class WebInputElement; |
| 63 class WebKeyboardEvent; | 63 class WebKeyboardEvent; |
| 64 class WebMIDIClient; | 64 class WebMIDIClient; |
| 65 class WebNode; | 65 class WebNode; |
| 66 class WebPushClient; | 66 class WebPushClient; |
| 67 class WebRange; | 67 class WebRange; |
| 68 class WebSpeechRecognizer; | 68 class WebSpeechRecognizer; |
| 69 class WebScreenOrientationClient; | |
| 70 class WebStorageNamespace; | 69 class WebStorageNamespace; |
| 71 class WebURL; | 70 class WebURL; |
| 72 class WebURLRequest; | 71 class WebURLRequest; |
| 73 class WebView; | 72 class WebView; |
| 74 class WebWidget; | 73 class WebWidget; |
| 75 struct WebConsoleMessage; | 74 struct WebConsoleMessage; |
| 76 struct WebDateTimeChooserParams; | 75 struct WebDateTimeChooserParams; |
| 77 struct WebPoint; | 76 struct WebPoint; |
| 78 struct WebPopupMenuInfo; | 77 struct WebPopupMenuInfo; |
| 79 struct WebRect; | 78 struct WebRect; |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 287 |
| 289 // Web MIDI ------------------------------------------------------------- | 288 // Web MIDI ------------------------------------------------------------- |
| 290 | 289 |
| 291 virtual WebMIDIClient* webMIDIClient() { return 0; } | 290 virtual WebMIDIClient* webMIDIClient() { return 0; } |
| 292 | 291 |
| 293 | 292 |
| 294 // Push Messaging ------------------------------------------------------- | 293 // Push Messaging ------------------------------------------------------- |
| 295 | 294 |
| 296 virtual WebPushClient* webPushClient() { return 0; } | 295 virtual WebPushClient* webPushClient() { return 0; } |
| 297 | 296 |
| 298 // Screen Orientation --------------------------------------------------- | |
| 299 | |
| 300 virtual WebScreenOrientationClient* webScreenOrientationClient() | |
| 301 { | |
| 302 return 0; | |
| 303 } | |
| 304 | |
| 305 | 297 |
| 306 // Content detection ---------------------------------------------------- | 298 // Content detection ---------------------------------------------------- |
| 307 | 299 |
| 308 // Retrieves detectable content (e.g., email addresses, phone numbers) | 300 // Retrieves detectable content (e.g., email addresses, phone numbers) |
| 309 // around a hit test result. The embedder should use platform-specific | 301 // around a hit test result. The embedder should use platform-specific |
| 310 // content detectors to analyze the region around the hit test result. | 302 // content detectors to analyze the region around the hit test result. |
| 311 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } | 303 virtual WebContentDetectionResult detectContentAround(const WebHitTestResult
&) { return WebContentDetectionResult(); } |
| 312 | 304 |
| 313 // Schedules a new content intent with the provided url. | 305 // Schedules a new content intent with the provided url. |
| 314 virtual void scheduleContentIntent(const WebURL&) { } | 306 virtual void scheduleContentIntent(const WebURL&) { } |
| 315 | 307 |
| 316 // Cancels any previously scheduled content intents that have not yet launch
ed. | 308 // Cancels any previously scheduled content intents that have not yet launch
ed. |
| 317 virtual void cancelScheduledContentIntents() { } | 309 virtual void cancelScheduledContentIntents() { } |
| 318 | 310 |
| 319 | 311 |
| 320 // Draggable regions ---------------------------------------------------- | 312 // Draggable regions ---------------------------------------------------- |
| 321 | 313 |
| 322 // Informs the browser that the draggable regions have been updated. | 314 // Informs the browser that the draggable regions have been updated. |
| 323 virtual void draggableRegionsChanged() { } | 315 virtual void draggableRegionsChanged() { } |
| 324 | 316 |
| 325 protected: | 317 protected: |
| 326 ~WebViewClient() { } | 318 ~WebViewClient() { } |
| 327 }; | 319 }; |
| 328 | 320 |
| 329 } // namespace blink | 321 } // namespace blink |
| 330 | 322 |
| 331 #endif | 323 #endif |
| OLD | NEW |