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